emerging python update fails. Reproducible: Always Steps to Reproduce: emerge python Actual Results: * Messages for package dev-lang/python-2.7.2: * ERROR: dev-lang/python-2.7.2 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 62: Called call-ebuildshell 'src_compile' * environment, line 1259: Called src_compile * environment, line 5593: Called die * The specific snippet of code: * emake EPYTHON="python${PV%%.*}" || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-lang/python-2.7.2', * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.7.2'. * The complete build log is located at '/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/temp/build.log'. * The ebuild environment file is located at '/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/temp/environment'. * S: '/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2' * GNU info directory index is up-to-date. * After world updates, it is important to remove obsolete packages with * emerge --depclean. Refer to `man emerge` for more information. emerge --info =dev-lang/python-2.7.2 Portage 2.2.01.18826-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.18-238.12.1.el5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.18-238.12.1.el5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-redhat-5.6-Final Timestamp of tree: Wed, 29 Jun 2011 21:36:33 +0000 app-shells/bash: 4.2_p10 dev-lang/python: 2.7.1-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.25-r2 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.51.0.7 sys-devel/gcc: 4.2.4-r01.2, 4.4.5, 4.5.2-r00.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.4-r01.1 sys-devel/make: 3.82 Repositories: gentoo_prefix antoine Installed sets: ACCEPT_KEYWORDS="~amd64-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/data/gentoo/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/data/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/data/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="/data/gentoo/var/tmp" PORTDIR="/data/gentoo/usr/portage" PORTDIR_OVERLAY="/data/antodech/prefix/overlay" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="amd64 bzip2 cxx gdbm iconv ipv6 mmx mudflap ncurses nls nptl nptlonly openmp pcre perl prefix python readline sse sse2 sse3 ssl tk unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
can you please attach your build-log?
Created attachment 278661 [details] build.log
Comment on attachment 278661 [details] build.log >Python build finished, but the necessary bits to build these modules were not found: >_bsddb bsddb185 dl >imageop sunaudiodev >To find the necessary bits, look in setup.py in detect_modules() for the module's name. > > >Failed to build these modules: >crypt nis This is the problem. crypt is a bit odd, I guess nis could be disabled these days.
Same here.
this is also on linux/prefix?
Comment on attachment 278661 [details] build.log >[?1034hbuilding 'crypt' extension >x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe -march=native -fwrapv -I/data/gentoo/usr/include -L/data/gentoo/lib -L/data/gentoo/usr/lib -DNDEBUG -I/data/gentoo/usr/include -I. -IInclude -I./Include -I/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.c -o build/temp.linux-x86_64-2.7/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o >x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L. -fno-strict-aliasing -O2 -pipe -march=native -fwrapv -I/data/gentoo/usr/include -L/data/gentoo/lib -L/data/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o -L/data/gentoo/usr/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/crypt.so >*** WARNING: renaming "crypt" since importing it failed: build/lib.linux-x86_64-2.7/crypt.so: undefined symbol: crypt >building 'nis' extension >x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe -march=native -fwrapv -I/data/gentoo/usr/include -L/data/gentoo/lib -L/data/gentoo/usr/lib -DNDEBUG -I/data/gentoo/usr/include -I. -IInclude -I./Include -I/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.c -o build/temp.linux-x86_64-2.7/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o >x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L. -fno-strict-aliasing -O2 -pipe -march=native -fwrapv -I/data/gentoo/usr/include -L/data/gentoo/lib -L/data/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/data/gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o -L/data/gentoo/usr/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/nis.so >*** WARNING: renaming "nis" since importing it failed: build/lib.linux-x86_64-2.7/nis.so: undefined symbol: yp_get_default_domain
*** Bug 375773 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 381163 ***