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
--
Slávek