Summary: | dev-libs/gobject-introspection-1.40.0-r2 compile error exec: ldd: not found on hardened/musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cato Auestad <cato> |
Component: | Hardened | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
Patch for the ebuild to create symlink
emerge --info Build log |
Description
Cato Auestad
2015-03-03 17:25:03 UTC
Created attachment 397960 [details]
emerge --info
Created attachment 397962 [details]
Build log
(In reply to Cato Auestad from comment #0) > Created attachment 397958 [details, diff] [details, diff] > Patch for the ebuild to create symlink > Unfortunately `uname -m` won't work. musl's idea of an arch is whatever is under $(musl source)/arch directory. So for $(uname -m) == i686 you need i386 :( I've opted to proceed as follows: @@ -84,6 +84,10 @@ if is_crosscompile ; then dosym usr/include /usr/${CTARGET}/sys-include fi + + # musl provides ldd via a sym link to its ld.so + local ldso=$(basename ${D}/lib/ld-musl-*) + dosym /lib/${ldso} /usr/bin/ldd } pkg_postinst() { I've added this to musl-9999.ebuild and will push it out with the 1.1.7 releases. The real test will be to see if to works on the mipsel3 and armv7a stage3's. (There's also felix's mips32r2 and ppc which have some issues I have yet to track down.) Pleaes reopen if this is still a problem for you, or it doesn't work for some reason. |