Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74890 - libpcre fails to install os MacOS X
Summary: libpcre fails to install os MacOS X
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-18 16:03 UTC by Christoph
Modified: 2006-04-12 10:52 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 Christoph 2004-12-18 16:03:13 UTC
When attempting to install libpcre via emerge on OS X, the following happens:

1. When attempting to apply patches, I get the following message:
 * Already patched /var/tmp/portage/libpcre-4.5/work/pcre-4.5/configure   [ !! ]

the emerge and compile continue. When finished compiling, test phase completes successfully. Upon install phase, I get the following:

>>> Install libpcre-4.5 into /var/tmp/portage/libpcre-4.5/image/ category dev-libs
/bin/sh ./mkinstalldirs /var/tmp/portage/libpcre-4.5/image//usr/lib
mkdir /var/tmp/portage/libpcre-4.5/image/usr
mkdir /var/tmp/portage/libpcre-4.5/image/usr/lib
echo "/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.la"
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.la
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.la
/usr/bin/install -c .libs/libpcre.0.0.1.dylib /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.0.0.1.dylib
(cd /var/tmp/portage/libpcre-4.5/image//usr/lib && rm -f libpcre.0.dylib && ln -s libpcre.0.0.1.dylib libpcre.0.dylib)
(cd /var/tmp/portage/libpcre-4.5/image//usr/lib && rm -f libpcre.dylib && ln -s libpcre.0.0.1.dylib libpcre.dylib)
/usr/bin/install -c .libs/libpcre.lai /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.la
/usr/bin/install -c .libs/libpcre.a /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.a
ranlib /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.a
chmod 644 /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcre.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
echo "/bin/sh ./libtool --mode=install /usr/bin/install -c libpcreposix.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcreposix.la"
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcreposix.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcreposix.la
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcreposix.la /var/tmp/portage/libpcre-4.5/image//usr/lib/libpcreposix.la
libtool: install: warning: relinking `libpcreposix.la'
(cd /var/tmp/portage/libpcre-4.5/work/pcre-4.5; /bin/sh ./libtool --mode=relink gcc -O3 -mcpu=G4 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt -fPIC -I. -I. -L. -L.libs -rpath /usr/lib libpcre.la -version-info 0:0:0 -o libpcreposix.la pcreposix.lo -inst-prefix-dir /var/tmp/portage/libpcre-4.5/image/)
./libtool: line 1: test: too many arguments
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libpcreposix.0.0.0.dylib  pcreposix.lo  -L/var/tmp/portage/libpcre-4.5/work/pcre-4.5 -L/var/tmp/portage/libpcre-4.5/work/pcre-4.5/.libs /usr/lib/libpcre.dylib -lc -install_name  /usr/lib/libpcreposix.0.dylib 
gcc: /usr/lib/libpcre.dylib: No such file or directory
libtool: install: error: relink `libpcreposix.la' with the above command before installing it
make: *** [install] Error 1


Reproducible: Always
Steps to Reproduce:
included is emerge --info:

griffin:~ root# emerge --info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r3 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
Unknown Host Operating System
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.57
Automake: sys-devel/automake-1.6.3
Binutils: 
Headers:  
Libtools: sys-devel/libtool-2.4.4
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=G4 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=G4 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks keepwork maketest notitles userpriv"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.gentoo.gr.jp http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos X berkdb ldap mysql perl python ruby"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-18 20:38:50 UTC
default-macos-10.3 is not supported anymore.
Please use default-darwin/macos/10.3.
If this is reproduceable even when you use
default-darwin/macos/10.3, please reopen
the bug.