trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2018

Re: [trinity-users] TDE on FreeBSD: tdelibs fails to build

From: "Dr. Nikolaus Klepp" <office@...>
Date: Fri, 19 Oct 2018 11:46:46 +0200
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


-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...