Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342109 - dev-lang/python-2.6.5-r3: emake failed
Summary: dev-lang/python-2.6.5-r3: emake failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 05:13 UTC by Liu Yang
Modified: 2013-02-08 00:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liu Yang 2010-10-22 05:13:29 UTC
I want to enable the ipv6 function, so I remove the USE -ipv6 in my /etc/make.conf
emerge -vND world ,then failed here.

Reproducible: Always

Steps to Reproduce:
emerge -ND python


Actual Results:  
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -L. -Xlinker -export-dynamic -o python \
			Modules/python.o \
			-L. -lpython2.6 -ldl  -lutil   -lm  
./libpython2.6.so: undefined reference to `sem_init'
./libpython2.6.so: undefined reference to `pthread_attr_setstacksize'
./libpython2.6.so: undefined reference to `sem_destroy'
./libpython2.6.so: undefined reference to `pthread_create'
./libpython2.6.so: undefined reference to `sem_post'
./libpython2.6.so: undefined reference to `sem_trywait'
./libpython2.6.so: undefined reference to `pthread_detach'
./libpython2.6.so: undefined reference to `sem_wait'
collect2: ld 返回 1
make: *** [python] 错误 1
 * ERROR: dev-lang/python-2.6.5-r3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5583:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/python-2.6.5-r3',
 * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.6.5-r3'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/python-2.6.5-r3/work/Python-2.6.5'

>>> Failed to emerge dev-lang/python-2.6.5-r3, Log file:

>>>  '/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/build.log'

 * Messages for package dev-lang/python-2.6.5-r3:

 * ERROR: dev-lang/python-2.6.5-r3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5583:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/python-2.6.5-r3',
 * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.6.5-r3'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/python-2.6.5-r3/work/Python-2.6.5'




emerge -pqv =dev-lang/python-2.6.5-r3
[ebuild   R   ] dev-lang/python-2.6.5-r3  USE="doc gdbm ipv6* ncurses readline sqlite ssl threads (wide-unicode) xml -berkdb* -build -examples -tk -wininst" 


emerge --info =dev-lang/python-2.6.5-r3
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r12 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-1.12.13
Timestamp of tree: Fri, 22 Oct 2010 01:30:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1 googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mabm -msse4a -pipe -fopenmp"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mabm -msse4a -pipe -fopenmp"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN zh_TW en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ape avi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk consolekit cracklib crypt ctype cups cxx dbus device-mapper devil dga dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac flash fortran fuse gdbm gdu gif gnash gnome gnutls gpm gstreamer gtk gtk2 hal iconv icu ipv6 java java6 joystick jpeg jpeg2k lcms ldap libnotify m4a mad man midi mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nfs nls nptl nptlonly nsplugin ntfs-3g ntptlonly ogg openal opengl openmp pam pango pdf perl png policykit ppds pppd python qt3support readline samba sasl sdl smp sound spell sqlite sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff truetype udev unicode upnp usb utils vaapi vorbis webkit x264 xcb xcomposite xft xml xorg xulrunner xv xvid xvmc 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" 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" LINGUAS="zh_CN zh_TW en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx ati radeon" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.6.5-r3 was built with the following:
USE="berkdb doc gdbm (multilib) ncurses readline sqlite ssl threads (wide-unicode) xml -build -examples -ipv6 -tk -wininst" 
CFLAGS="-O2 -march=native -mabm -msse4a -pipe -fwrapv"
CXXFLAGS="-O2 -march=native -mabm -msse4a -pipe -fwrapv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."

my locale is zh_CN.UTF-8
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-26 16:08:08 UTC
Hi,

can you please attach the full build.log and environment files mentioned at the end of the failed emerge process?

Thanks