| Summary: | dev-lang/python-2.7.2 failed to build, can't build and find modules | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pryka <pryka.iluvatar> |
| Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | pryka.iluvatar |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
python-2.7.2 build log
python-2.7.2 environment file |
||
[ebuild U ] dev-lang/python-2.7.2 [2.7.1-r1] USE="doc* examples* gdbm ncurses readline sqlite ssl threads tk* (wide-unicode) xml -berkdb -build -ipv6 -wininst" Created attachment 278913 [details]
python-2.7.2 build log
Created attachment 278915 [details]
python-2.7.2 environment file
Upgrade/reinstall dev-tcltk/blt. (In reply to comment #4) > Upgrade/reinstall dev-tcltk/blt. Thanks :) *** This bug has been marked as a duplicate of bug 373695 *** |
Crashing every time with the same error. Reproducible: Always Steps to Reproduce: 1. emerge -uDN world -av Expected Results: build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/linuxaudiodev.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/linuxaudiodev.so building 'ossaudiodev' extension x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/ossaudiodev.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/ossaudiodev.o x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/ossaudiodev.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/ossaudiodev.so building '_tkinter' extension x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_tkinter.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_tkinter.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/tkappinit.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/tkappinit.o x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_tkinter.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/tkappinit.o -L/usr/X11/lib -L/usr/local/lib -L. -lBLT -ltk8.5 -ltcl8.5 -lX11 -lpython2.7 -o build/lib.linux-x86_64-2.7/_tkinter.so *** WARNING: renaming "_tkinter" since importing it failed: build/lib.linux-x86_64-2.7/_tkinter.so: undefined symbol: jpeg_stdio_src building '_ctypes' extension x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib64/libffi-3.0.10rc8/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/_ctypes.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/_ctypes.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib64/libffi-3.0.10rc8/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callbacks.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callbacks.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib64/libffi-3.0.10rc8/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callproc.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callproc.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib64/libffi-3.0.10rc8/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/stgdict.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/stgdict.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib64/libffi-3.0.10rc8/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/cfield.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/cfield.o x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callproc.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/cfield.o -L/usr/local/lib -L. -lffi -lpython2.7 -o build/lib.linux-x86_64-2.7/_ctypes.so Python build finished, but the necessary bits to build these modules were not found: 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: _tkinter running build_scripts creating build/scripts-2.7 copying and adjusting /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Tools/scripts/pydoc -> build/scripts-2.7 copying and adjusting /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Tools/scripts/idle -> build/scripts-2.7 copying and adjusting /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Tools/scripts/2to3 -> build/scripts-2.7 copying and adjusting /var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Lib/smtpd.py -> build/scripts-2.7 changing mode of build/scripts-2.7/pydoc from 644 to 755 changing mode of build/scripts-2.7/idle from 644 to 755 changing mode of build/scripts-2.7/2to3 from 644 to 755 changing mode of build/scripts-2.7/smtpd.py from 644 to 755 make: *** [sharedmods] Error 1 emake failed * ERROR: dev-lang/python-2.7.2 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5492: 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 '/var/tmp/portage/dev-lang/python-2.7.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.2/temp/environment'. * S: '/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2' Portage 2.1.10.3 (hardened/linux/amd64, gcc-4.5.2, glibc-2.13-r2, 2.6.39-hardened-r3 x86_64) ================================================================= System uname: Linux-2.6.39-hardened-r3-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.0.3 Timestamp of tree: Sun, 03 Jul 2011 10:15:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.2 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 Repositories: gentoo roslin ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1 Nero-EULA-US" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl" MAKEOPTS="-j3" 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="/var/lib/layman/roslin" SYNC="rsync://ftp.vectranet.pl/gentoo-portage" USE="64bit X a52 aac aalib accessibility acl acpi additions adns alsa amd64 apng archive ass audacious audio bash-completion bazaar berkdb binary-drivers branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr chroot clamdtop classic cli color consolekit corefonts cracklib crashreporter crypt css csv cups cxx darcs dbus device-mapper disk-partition doc dri dvd dvdnav edit enca examples fastscroll fat ffmpeg flac fontconfig ftp gadu gallium gcrypt gd gdbm gdu geoip gif gimp git glib gnome gnuplot gnutls gpm grub gstreamer gtk gtkstyle gudev hardened hddtemp hires-icons hwdb iconv idn imlib iostats jadetex java jpeg justify lame libburn libcaca libnotify live lm_sensors lua lua-cairo lua-imlib lzma lzo mad mercurial mmx mng modules mozilla mp3 mpeg mplayer mudflap multilib musepack nautilus ncurses network network-cron nls nptl nptlonly nsplugin nss ntfs ogg openal opengl openmp osdmenu pam pcre pdf perl pgo png policykit portmon pppd python qt3support readline session simplexml slang spell sqlite sse sse2 ssl ssse3 subversion svg symlink sysfs syslog taglib tcpd templates theora threads tiff tk tremor truetype udev unicode urandom usb vboxwebsrv video vorbis wavpack weather-metar weather-xoap xcb xml xorg xulrunner xv xvfb xvid 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS