Yesterday - 52 updates. After 44 without errors scons did not start compiling because of : >>> Compiling source in /var/tmp/portage/dev-util/scons-1.2.0_p20091224/work/scons-1.2.0.d20091224 ... * ERROR: dev-util/scons-1.2.0_p20091224 failed: * PYTHON(): Invalid usage * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3410: Called distutils_src_compile * environment, line 799: Called PYTHON '-A' * environment, line 177: Called die * The specific snippet of code: * die "${FUNCNAME}(): Invalid usage"; Similar thing happend with update of gpsd. gpsd did compile but while installing same thing happend. Reproducible: Always Steps to Reproduce: 1.emerge =scons-1.2.0_p20091224 2. 3. Actual Results: emerge stops after configuration is done Expected Results: should compile and install i send over emerge --info emerge -pqv and the build.log
Created attachment 216178 [details] emerge --info =dev-util/scons-1.2.0_p20091224
Created attachment 216179 [details] emerge -pqv =dev-util/scons-1.2.0_p20091224
Created attachment 216181 [details] environment
Created attachment 216183 [details] scons-1.2.0_p20091224/temp/build.log
It's strange, because it seems that you use an older version of python.eclass, but the newest version of distutils.eclass. I updated python.eclass before distutils.eclass. Do you have any eclasses in any overlay? Please try installation with empty PORTDIR_OVERLAY.
*** Bug 300680 has been marked as a duplicate of this bug. ***
(In reply to comment #5) So i commented the overlay in make.conf and tried again. No difference. Exact same point it stops. btw. the Overlay consists just of two media-tv/directories for sopcasting. As i said the update did 44/52 - then scons died. skipfirst and another 4 where going. then gpsd died(comment6). Again skipfirst and the last two run without any problems. It seems strange to me too because the python stuff should be used by nearly every emerge an just those two where hitting this and at different stages within the process. So what exactly is python '-A' doing ?
Run `emerge --sync` and maybe change rsync mirror.
(In reply to comment #8) > Run `emerge --sync` and maybe change rsync mirror. Did eix-sync and emerge -uvpDN @system @world. First strange thing but well known - scons and gpsd did not show off ! emerge -pv scons gpsd did show them as updateable ! While the sync i did see doing 12 changes in the python.eclass But not that it did not just change the problem - both errors continue at the same place. Even worse - Another 4 updates were available. Three did succide - one failed in a slightly different matter - gentoolkit did : ... running install_egg_info Writing /var/tmp/portage/app-portage/gentoolkit-0.3.0_rc8-r1/image/usr/lib/python2.6/site-packages/gentoolkit-9999-py2.6.egg-info * Generating '/usr/bin/eclean' wrapper script * Generating '/usr/bin/equery' wrapper script * Generating '/usr/bin/glsa-check' wrapper script * Generating '/usr/bin/epkginfo' wrapper script * ERROR: app-portage/gentoolkit-0.3.0_rc8-r1 failed: * PYTHON(): Unrecognized option '--ABI' * * Call stack: * ebuild.sh, line 48: Called src_install * environment, line 3463: Called PYTHON '--ABI' '-f' * environment, line 143: Called die * The specific snippet of code: * die "${FUNCNAME}(): Unrecognized option '$1'" ... i attach the needed files. Sorry !
Created attachment 216236 [details] gentoolkit_build.log
Created attachment 216237 [details] gentoolkit_env
Created attachment 216239 [details] emerge --info gentoolkit
Created attachment 216241 [details] emerge -pqv gentoolkit
You use wrong copy of python.eclass. Post the output of: sed -ne 3p "$(portageq envvar PORTDIR)/eclass/python.eclass"
(In reply to comment #14) > You use wrong copy of python.eclass. Post the output of: > sed -ne 3p "$(portageq envvar PORTDIR)/eclass/python.eclass" > # : /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.84 2010/01/11 16:07:23 arfrever Exp $
Do you use Funtoo?
> Do you use Funtoo? Should i be sorry for that ? Yes i do use Daniels funtoo. But i did have a look at the eclass of both trees and the seem to be the same.
I am very sorry for the last comment. They not the same ! I will try the original version. blame on me
Karl, there were several Python bugs in our tree over the last day or so - one from Gentoo (bug #300579) and one recent merge-related bug that was Funtoo's fault. We've added the upstream Gentoo fix for their bug, and now I've fixed Funtoo's broken merge, so everything should be working again. Please sync again and your python problems should be resolved.
(In reply to comment #19) > Karl, there were several Python bugs in our tree over the last day or so - one > from Gentoo (bug #300579) and one recent merge-related bug that was Funtoo's > fault. > > We've added the upstream Gentoo fix for their bug, and now I've fixed Funtoo's > broken merge, so everything should be working again. Please sync again and your > python problems should be resolved. > All three builds gone well now. Thanks PS did search funtoo-group for python related stuff but could not find anything related to this problem. Sorry.
Just posted a message to the funtoo ML to address that. Thanks :)