trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: August 2020

Re: [trinity-users] How is Trinity going with musl support (more specifically with Gentoo musl)?

From: "E. Liddell" <ejlddll@...>
Date: Tue, 25 Aug 2020 12:15:54 -0400
On Tue, 25 Aug 2020 09:11:56 +0200
Sl�vek Banko <slavek.banko@...> wrote:

> On Sunday 23 of August 2020 19:42:34 E. Liddell wrote:
> > [627/2229] cd
> > /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t
> >deio && file -C -m
> > /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8
> >/tdeio/tdeio.magic FAILED: tdeio/tdeio.magic.mgc
> > cd
> > /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t
> >deio && file -C -m
> > /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8
> >/tdeio/tdeio.magic ninja: build stopped: subcommand failed.
> >
> > Should I file a bug?
> >
> > E. Liddell
> 
> Hi,
> 
> am I correct that FAILED is tdeio.magic.mgc? It has nothing to do with 
> libc, but it's a simple call to 'file -C -m ...'. Is it possible that you 
> are missing the 'file' binary or is it not working as expected?

Thanks, Slavek.  It looks like there may indeed be a problem there:

(musl) ryu / # file /usr/bin/file
Bad system call

where it should be returning "/usr/bin/file: ELF 64-bit LSB pie executable [etc.]".

I'll investigate further before doing any bug filing (and the bugs may have to go to 
the Gentoo musl project, anyway).

E. Liddell