Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75209

Summary: dev-libs/glib-1.2.10-r5 fails to compile on ppc-macos
Product: Gentoo/Alt Reporter: Lars T. Mikkelsen <ltm>
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: glib-1.2.10-r5.ebuild.patch

Description Lars T. Mikkelsen 2004-12-21 09:52:47 UTC
The package glib-1.2.10-r5 has the ppc-macos keyword, however, it fails to compile. I'm getting the following error:

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... Invalid configuration `powerpc-apple-darwin': system `darwin' not recognized

checking build system type... Invalid configuration `powerpc-apple-darwin': system `darwin' not recognized

checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe -fPIC ) works... yes
checking whether the C compiler (gcc -O2 -pipe -fPIC ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed


Adding darwintoolize and gnuconfig_update to the ebuild fixes the problem. I think this was added to fix bug 60580, however, it seems it has been removed again.
Comment 1 Lars T. Mikkelsen 2004-12-21 09:54:36 UTC
Created attachment 46553 [details, diff]
glib-1.2.10-r5.ebuild.patch

Patch to add darwintoolize and gnuconfig_update.
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-01-01 20:55:16 UTC
Fixed inCVS. Thanks!