Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75209 - dev-libs/glib-1.2.10-r5 fails to compile on ppc-macos
Summary: dev-libs/glib-1.2.10-r5 fails to compile on ppc-macos
Status: RESOLVED FIXED
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-21 09:52 UTC by Lars T. Mikkelsen
Modified: 2006-04-12 10:52 UTC (History)
0 users

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


Attachments
glib-1.2.10-r5.ebuild.patch (glib-1.2.10-r5.ebuild.patch,621 bytes, patch)
2004-12-21 09:54 UTC, Lars T. Mikkelsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!