Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373539 - Failed to emerge dev-lang/python-2.7.2
Summary: Failed to emerge dev-lang/python-2.7.2
Status: RESOLVED DUPLICATE of bug 381163
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://bugs.python.org/issue9762
Whiteboard:
Keywords:
: 375773 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-30 07:14 UTC by Antoine DECHAUME
Modified: 2011-09-01 19:11 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,146.27 KB, text/plain)
2011-06-30 07:47 UTC, Antoine DECHAUME
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine DECHAUME 2011-06-30 07:14:06 UTC
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
Comment 1 Fabian Groffen gentoo-dev 2011-06-30 07:42:31 UTC
can you please attach your build-log?
Comment 2 Antoine DECHAUME 2011-06-30 07:47:20 UTC
Created attachment 278661 [details]
build.log
Comment 3 Fabian Groffen gentoo-dev 2011-06-30 07:52:42 UTC
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.
Comment 4 Sebastian Rose 2011-06-30 09:38:09 UTC
Same here.
Comment 5 Fabian Groffen gentoo-dev 2011-06-30 16:02:19 UTC
this is also on linux/prefix?
Comment 6 Fabian Groffen gentoo-dev 2011-07-01 15:56:19 UTC
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
Comment 7 Fabian Groffen gentoo-dev 2011-08-26 20:51:06 UTC
*** Bug 375773 has been marked as a duplicate of this bug. ***
Comment 8 Fabian Groffen gentoo-dev 2011-09-01 19:11:17 UTC

*** This bug has been marked as a duplicate of bug 381163 ***