On Mac OS 10.3.5 x11-terms/aterm-0.4.2-r9 fails to build with the following output: creating cache ./config.cache configuring for aterm 0.4.2 checking for gcc... gcc checking whether the C compiler (gcc -mcpu=7450 -maltivec -mabi=altivec -O2 -Wl,-z,now) works... no configure: error: installation or configuration problem: C compiler cannot create executables. According to config.log, ld doesn't understand -z. To fix this problem I put a non-macos conditional around `append-ldflags -Wl,-z,now' line in aterm-0.4.2-r9.ebuild. aterm now compiled and runs correctly. aterm-0.4.2-r11.ebuild is also affected by this issue. Here's the diff between the original ebuild and my working modified one: 47c47,49 < append-ldflags -Wl,-z,now --- > if !( use macos || use ppc-macos ) ; then > append-ldflags -Wl,-z,now > fi Reproducible: Always Steps to Reproduce: 1. emerge x11-terms/aterm on Mac OS Actual Results: aterm failed to configure due to passing invalid arguments to ld Expected Results: Should not have appended those arguments to ld on macos. Output of `emerge info': Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc) =============================================================== == System uname: 7.5.0 Power Macintosh powerpc macos-20040726 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: ACCEPT_KEYWORDS="macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-pipe -maltivec -mcpu=7450 -mabi=altivec -mtune=7450 -O2" 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="-pipe -maltivec -mcpu=7450 -mabi=altivec -mtune=7450 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://aleath/gentoo-portage" USE="macos berkdb ldap mysql perl python ruby"
Created attachment 42390 [details, diff] diff between original ebuild and my working modified ebuild
Fixed in CVS. Thanks for the bug report.
Closing out bugs that've been resolved for a while now...