env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup DNS.o -o blib/arch/auto/Net/DNS/DNS.bundle netdns.a \ \ ld: in netdns.a, archive has no table of contents Reproducible: Always Portage 2.2.00.11477-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.5.0 i386) ================================================================= System uname: Darwin-9.5.0-i386-32bit Timestamp of tree: Sat, 30 Aug 2008 17:44:03 +0000 distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.9.6-r2, 1.10.1-r1 sys-devel/gcc-config: 1.4.0-r04.5 sys-devel/libtool: 1.5.26 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -march=nocona -msse -mfpmath=sse" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona -msse -mfpmath=sse" DISTDIR="/gentoo/usr/portage/distfiles" EPREFIX="/gentoo" FEATURES="buildpkg ccache collision-protect distlocks nostrip parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/gentoo/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/gentoo/var/tmp" PORTDIR="/gentoo/usr/portage" PORTDIR_OVERLAY="/gentoo/usr/local/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="aqua coreaudio cracklib ipv6 jpeg midi mmx mmxext ncurses nls objc objc++ png prefix readline ruby sse ssl truetype unicode vim-with-x x86-macos zlib zsh-completion" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is fixed by running ranlib on netdns.a. This fix almost certainly needs to go upstream, since it fails from CPAN and from tarball in the same way.
ar should include the s flag on OSX/x86, seems to be a makemaker problem.
In that case, I should mention that I'm running perl 5.10.0, and that CPAN may very well have overridden some makemaker doohickey. I don't know how any of that stuff works, but I'll try to look into it.
this has been fixed for a while in the tree