Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest 31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetest kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2018/10/11 03:13 AM, Dr. Nikolaus Klepp wrote:
Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest 31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetest kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
Uhm, does not sounds like a good sign... Not sure what is wrong (don't build on BSD yet) but mime types are important. That errors shows up when "KMimeType::iconForURL( url )" fails. Given that is failing on folders, it is likely something is wrong. Cheers Michele
On Thursday 11 of October 2018 03:15:49 Michele Calgaro wrote:
On 2018/10/11 03:13 AM, Dr. Nikolaus Klepp wrote:
Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest 31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetes t kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
Uhm, does not sounds like a good sign... Not sure what is wrong (don't build on BSD yet) but mime types are important. That errors shows up when "KMimeType::iconForURL( url )" fails. Given that is failing on folders, it is likely something is wrong. Cheers Michele
I tried to perform rebuild tdelibs on my FreeBSD testing machine and it was successful.
Cheers
Am Donnerstag, 11. Oktober 2018 schrieb Slávek Banko:
On Thursday 11 of October 2018 03:15:49 Michele Calgaro wrote:
On 2018/10/11 03:13 AM, Dr. Nikolaus Klepp wrote:
Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest 31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetes t kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
Uhm, does not sounds like a good sign... Not sure what is wrong (don't build on BSD yet) but mime types are important. That errors shows up when "KMimeType::iconForURL( url )" fails. Given that is failing on folders, it is likely something is wrong. Cheers Michele
I tried to perform rebuild tdelibs on my FreeBSD testing machine and it was successful.
Cheers
Hi Slavek!
Did you do a "pkg upgrade" before the build? I could build successfully till yesterday, when I upgraded my system. Now it's "11.2-RELEASE-p4" and pkg is "pkg-1.10.5_3" - that last "pkg upgrade" deleted virtually all packages with "tde" in it's name. Then I removed all remaining tde packages, cleaned the build tree and started rebuilding everything.
Nik
Hi all!
Am Mittwoch, 10. Oktober 2018 schrieb Dr. Nikolaus Klepp:
Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest
31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetest kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
I response to my younger self: It looks like it's a "bite yourself in the tail" situation: kmimetypetest succeeds, if tdelibs is already installed (or an older version of it), otherwise it fails. So "make" builds tdelibs but fails the test. Then do "cp /usr/bin/true ./work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetest", then "make install". Installation succeeds, then compile & install "tdebase" and "tdepim". There test if mimetypes work: open the attachment of a mail in kmail ... :-)
Nik
Dne pá 19. října 2018 Dr. Nikolaus Klepp napsal(a):
Hi all!
Am Mittwoch, 10. Oktober 2018 schrieb Dr. Nikolaus Klepp:
Hi all!
I just upgraded my FreeBSD box and ran into this problem when rebuilding tde: dependencies et al. builds fine, tdelibs compiles but after compilation the one test failes:
Start 31: tdeio/kmimetypetest
31/40 Test #31: tdeio/kmimetypetest ...............................***Failed
So building tdelibs fails. Running kmimetypetest by hand gives this: # ./tdelibs/work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetes t kmimetypetest: WARNING: Could not find mime type application/octet-stream kmimetypetest: WARNING: No mime types installed. ERROR: icon for file:///root is unknown, expected folder!
Running as user gives the same error, just with file:///[user] in the last line.
Is this test important or can I just work my way around and everything will turn out nice?
Nik
I response to my younger self: It looks like it's a "bite yourself in the tail" situation: kmimetypetest succeeds, if tdelibs is already installed (or an older version of it), otherwise it fails. So "make" builds tdelibs but fails the test. Then do "cp /usr/bin/true ./work/tdelibs-trinity_14.0.5/.build/tdeio/tests/kmimetypetest", then "make install". Installation succeeds, then compile & install "tdebase" and "tdepim". There test if mimetypes work: open the attachment of a mail in kmail ... :-)
Nik
This is very strange, because I use the following command to build:
make makesum && make deinstall && rm -fr work/ && make install | & tee build.log
As you can see, among the first steps is the deinstallation of tdelibs == building is done without the presence of tdelibs in the system.
Cheers