dev-lang/python-2.7.2-r1 failed on compile Reproducible: Always Actual Results: ork/Python-2.7.2/Modules/_multiprocessing/multiprocessing.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -IModules/_multiprocessing -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/socket_connection.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/socket_connection.o x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=core2 -O2 -pipe -fwrapv -DNDEBUG -IModules/_multiprocessing -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Include -I/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2 -c /var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/semaphore.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/semaphore.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-r1/work/Python-2.7.2/Modules/_multiprocessing/multiprocessing.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/socket_connection.o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2/Modules/_multiprocessing/semaphore.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_multiprocessing.so building '_tkinter' extension -x badsyntax /var/tmp/portage/dev-lang/python-2.7.2-r1/image//usr/lib64/python2.7/site-packages Listing /var/tmp/portage/dev-lang/python-2.7.2-r1/image//usr/lib64/python2.7/site-packages ... PYTHONPATH=/var/tmp/portage/dev-lang/python-2.7.2-r1/image//usr/lib64/python2.7 LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2: \ ./python -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" cp: cannot stat `/var/tmp/portage/dev-lang/python-2.7.2-r1/image//usr/lib64/python2.7/plat-linux2': No such file or directory * ERROR: dev-lang/python-2.7.2-r1 failed (install phase): * copy plat-linux failed * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 5843: Called die * The specific snippet of code: * cp -r "${ED}$(python_get_libdir)/plat-linux2" "${ED}$(python_get_libdir)/plat-linux3" || die "copy plat-linux failed"; * * If you need support, post the output of 'emerge --info =dev-lang/python-2.7.2-r1', * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.7.2-r1'. * The complete build log is located at '/var/log/portage/dev-lang:python-2.7.2-r1:20110723-090347.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.2-r1/temp/environment'. * S: '/var/tmp/portage/dev-lang/python-2.7.2-r1/work/Python-2.7.2' ~ ~ Portage 2.2.0_alpha46_p8 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.0-gentoo x86_64) ================================================================= System uname: Linux-3.0.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Sat, 23 Jul 2011 08:30:01 +0000 ccache version 3.1.5 [disabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2, 3.2 dev-util/ccache: 3.1.5 dev-util/cmake: 2.8.5-r2::science 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.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.5.3_pre::poly-c 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-r4 Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay java-overlay lxde mgorny mpd nikai qting-edge roslin scarabeus_local_overlay science Techwolf bleeding-edge wirelay kde poly-c webapp-experimental lokal Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=core2 -O2 -pipe"
Created attachment 280711 [details] /var/log/portage/dev-lang:python-2.7.2-r1:20110723-090347.log full error log
I have similar issue with just a difference that I have 32bit system.
*** This bug has been marked as a duplicate of bug 376083 ***