Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882789 - sys-libs/libosinfo-1.10.0-r1: fails to compile
Summary: sys-libs/libosinfo-1.10.0-r1: fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-24 16:21 UTC by Randall
Modified: 2022-11-26 00:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_882789.txt,5.87 KB, text/plain)
2022-11-24 16:21 UTC, Randall
Details
emege --info sys-libs/libosinfo (file_882789.txt,15.61 KB, text/plain)
2022-11-24 16:22 UTC, Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall 2022-11-24 16:21:54 UTC
Created attachment 836495 [details]
build.log

Seems to fail early in the configuration, with...


meson.build:250:39: ERROR: Program or command '[' not found or not executable
Comment 1 Randall 2022-11-24 16:22:56 UTC
Created attachment 836497 [details]
emege --info sys-libs/libosinfo
Comment 2 Ionen Wolkens gentoo-dev 2022-11-24 16:31:45 UTC
Do you not have '/usr/bin/[' ? It's from coreutils

Although a build system actually relying on that seems odd.
Comment 3 Randall 2022-11-24 16:36:01 UTC
> Do you not have '/usr/bin/[' ?

Yeah, I guess I don't. Is that a USE flag or something?
Comment 4 Ionen Wolkens gentoo-dev 2022-11-24 16:38:43 UTC
(In reply to Randall from comment #3)
> > Do you not have '/usr/bin/[' ?
> 
> Yeah, I guess I don't. Is that a USE flag or something?
afaik should be installed unconditionally unless something went wrong
Comment 5 Ionen Wolkens gentoo-dev 2022-11-24 17:47:15 UTC
(In reply to Ionen Wolkens from comment #4)
> (In reply to Randall from comment #3)
> > > Do you not have '/usr/bin/[' ?
> > 
> > Yeah, I guess I don't. Is that a USE flag or something?
By "guess I don't", are you sure? ls -l '/usr/bin/[' (maybe wrong permissions or something)

Had a look at coreutils (painfully given the @<:@ and _ replacements to express [), but not seeing anything. Must be something obscure specific to your system but I have no idea.

Attaching your coreutils build log may help to see if it's building and trying to install it, aka have:

    -o src/[ src/lbracket.o

and a ginstall line for it:

     src/ginstall -c src/chroot src/hostid src/timeout src/nice src/who src/users src/pinky src/stty src/df src/stdbuf src/[

I tried with merged-usr and using dash as /bin/sh too, but the [ is still installed fine.
Comment 6 Randall 2022-11-26 00:22:31 UTC
It seems to have resolved itself, maybe, rebuilding coreutils?