Summary: | bootstrap: perl ebuild should not check non-native libdirs | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Fabian Groffen <grobian> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lambchop468, lovelinux229, nicolas.pinto |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild to print libpath
The build log for the modified ebuild showing libpath. Sucessful ebuild |
Description
Fabian Groffen
2011-03-14 14:06:23 UTC
I think I fixed this now too by compiling a small program, linking against a library to verify that the libs from the given dir are compatible The check to see if the libdirs are not non-native doesn't function correctly. I was following the solaris build instructions (http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml) and was bootstrapping findutils: emerge --oneshot findutils Perl failed to emerge (build log attached). my prefix is i686 my host is: /etc/issue: Red Hat Enterprise Linux Client release 5.6 (Tikanga) uname -a: Linux <omitted> 2.6.18-238.5.1.el5 #1 SMP Mon Feb 21 05:52:39 EST 2011 x86_64 GNU/Linux as evidenced in the logs, libm wasn't linked properly. echo {,/usr}/lib*/libm.so* outputs: /lib64/libm.so.6 /lib/libm.so.6 /usr/lib64/libm.so /usr/lib/libm.so file -L /usr/lib/libm.so outputs: /usr/lib/libm.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, not stripped With the first modified ebuild, I print the library path (myconf), and it does not contain /usr/lib (line 52) output for this ebuild is attached. With the second modified ebuild, perl builds properly. Created attachment 276299 [details]
ebuild to print libpath
Created attachment 276301 [details]
The build log for the modified ebuild showing libpath.
Created attachment 276303 [details]
Sucessful ebuild
reopening for the last comments *** Bug 367163 has been marked as a duplicate of this bug. *** I just checked in a change to the way the libpaths are determined. I hope this works more reliably now. *** Bug 389225 has been marked as a duplicate of this bug. *** No problems encountered any more |