building '_ctypes' extension creating build/temp.macosx-10.5-i386-2.6/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/darwin i686-apple-darwin9-gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -O2 -pipe -march=nocona -DWITH_NEXT_FRAMEWORK -Wa,--noexecstack -I_ctypes/darwin -I/Gentoo/usr/lib/libffi-3.0.8/include -I. -I/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/./Include -I/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/./Mac/Include -I/Gentoo/usr/lib/Python.framework/Versions/2.6/include -I. -IInclude -I./Include -I/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Include -I/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4 -c /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/_ctypes.c -o build/temp.macosx-10.5-i386-2.6/Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/_ctypes.o -DMACOSX FATAL:/Gentoo/usr/lib/binutils/i686-apple-darwin9/3.2/i386/as: I don't understand '-' flag! /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Modules/_ctypes/_ctypes.c:5683: fatal error: error writing to -: Broken pipe compilation terminated. Failed to find the necessary bits to build these modules: bsddb185 linuxaudiodev ossaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ctypes running build_scripts creating build/scripts-2.6 copying and adjusting /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Tools/scripts/pydoc -> build/scripts-2.6 copying and adjusting /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Tools/scripts/idle -> build/scripts-2.6 copying and adjusting /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Tools/scripts/2to3 -> build/scripts-2.6 copying and adjusting /Gentoo/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Lib/smtpd.py -> build/scripts-2.6 changing mode of build/scripts-2.6/pydoc from 644 to 755 changing mode of build/scripts-2.6/idle from 644 to 755 changing mode of build/scripts-2.6/2to3 from 644 to 755 changing mode of build/scripts-2.6/smtpd.py from 644 to 755 make: *** [sharedmods] Error 1 * ERROR: dev-lang/python-2.6.4 failed: * emake failed * * Call stack: * ebuild.sh, line 51: Called call-ebuildshell 'src_compile' * environment, line 847: Called src_compile * environment, line 4308: Called _eapi2_src_compile * ebuild.sh, line 678: Called die * The specific snippet of code: * emake || die "emake failed" Reproducible: Always Steps to Reproduce: Portage 2.2.00.14771-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 10.0.0 i386) ================================================================= System uname: Darwin-10.0.0-i386-32bit Timestamp of tree: Wed, 04 Nov 2009 12:27:47 +0000 distcc 2.18.5-Apple.1 i386-apple-darwin10.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 4.0_p35 dev-lang/python: 2.5.4-r3, 2.6.2-r2 dev-python/pycrypto: 2.0.1-r8 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1, 1.11 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.2 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -march=nocona" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/Gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" PKGDIR="/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Gentoo/" 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/layman/ruby /Gentoo/usr/local/portage/layman/bitcetera-prefix /Gentoo/usr/local/portage/local" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl unicode x86-macos zlib" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Works today, apparently it has been fixed either upstream or in the ebuild. Or it was a temporary local issue.
uhm, no I fixed it yesterday, but I hadn't noticed this bug yet, sorry