Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316587 - sys-libs/zlib-1.2.5 fails to install on OSX
Summary: sys-libs/zlib-1.2.5 fails to install on OSX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 22:08 UTC by Stuart Shelton
Modified: 2010-04-22 19:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-04-21 22:08:42 UTC
>>> Install zlib-1.2.5 into /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image/opt/gentoo/ category sys-libs
make install DESTDIR=/opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image/ LDCONFIG=: 
cp libz.a /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/lib
cp libz.so.1.2.5 /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/lib
cd /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/lib; chmod u=rw,go=r libz.a
cp zlib.3 /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/share/man/man3
chmod 644 /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/share/man/man3/zlib.3
cp zlib.pc /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/lib/pkgconfig
chmod 644 /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/lib/pkgconfig/zlib.pc
cp zlib.h zconf.h /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/include
chmod 644 /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/include/zlib.h /opt/gentoo/var/tmp/portage/sys-libs/zlib-1.2.5/image//opt/gentoo/usr/include/zconf.h
 * ERROR: sys-libs/zlib-1.2.5 failed:
 *   unable to read install_name from libz.dylib
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called call-ebuildshell 'src_install'
 *   environment, line  268:  Called src_install
 *   environment, line 2369:  Called gen_usr_ldscript '-a' 'z'
 *   environment, line 1391:  Called die
 * The specific snippet of code:
 *                   [[ -z ${tlib} ]] && die "unable to read install_name from ${lib}";
Comment 1 Fabian Groffen gentoo-dev 2010-04-22 19:09:42 UTC
also fails for me on OSX 10.4 Tiger/ppc
Comment 2 Fabian Groffen gentoo-dev 2010-04-22 19:37:11 UTC
problem found, some sed statement deduces uname from CHOST if set, which results in darwinX, not Darwin.