>>> Emerging (1 of 1) sys-apps/bleachbit-0.9.5 * bleachbit-0.9.5.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking bleachbit-0.9.5.tar.bz2 to /var/tmp/portage/sys-apps/bleachbit-0.9.5/work >>> Source unpacked in /var/tmp/portage/sys-apps/bleachbit-0.9.5/work >>> Preparing source in /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build --build-base /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7 --build-platlib /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib --build-purelib /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib --build-scripts /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/scripts info: starting BleachBit version 0.9.5 running build running build_py creating /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7 creating /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib creating /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/DeepScan.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/CLI.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Windows.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/FileUtilities.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/GuiBasic.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Special.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Command.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Worker.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Diagnostic.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Unix.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/General.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Options.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Winapp.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/__init__.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Cleaner.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Action.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Memory.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Update.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/Common.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/RecognizeCleanerML.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/GuiPreferences.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/GUI.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit copying bleachbit/CleanerML.py -> /var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5-python2_7/lib/bleachbit warning: build_py: byte-compiling is disabled, skipping. make -j3 -C po make: Entering directory `/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5/po' python ../bleachbit/CleanerML.py pot File "../bleachbit/CleanerML.py", line 97 print str(sys.exc_info()[1]) ^ SyntaxError: invalid syntax make: *** [cleanerml.pot] Fehler 1 make: Leaving directory `/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5/po' * ERROR: sys-apps/bleachbit-0.9.5 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/bleachbit-0.9.5'`, * the complete build log and the output of `emerge -pqv '=sys-apps/bleachbit-0.9.5'`. * The complete build log is located at '/var/tmp/portage/sys-apps/bleachbit-0.9.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/bleachbit-0.9.5/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5' * S: '/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5' >>> Failed to emerge sys-apps/bleachbit-0.9.5, Log file: >>> '/var/tmp/portage/sys-apps/bleachbit-0.9.5/temp/build.log' * Messages for package sys-apps/bleachbit-0.9.5: * ERROR: sys-apps/bleachbit-0.9.5 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/bleachbit-0.9.5'`, * the complete build log and the output of `emerge -pqv '=sys-apps/bleachbit-0.9.5'`. * The complete build log is located at '/var/tmp/portage/sys-apps/bleachbit-0.9.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/bleachbit-0.9.5/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5' * S: '/var/tmp/portage/sys-apps/bleachbit-0.9.5/work/bleachbit-0.9.5' Available Python interpreters: [1] python2.6 [2] python2.7 [3] python3.2 *
With eselect python set python-2.7 is emerge bleachbit working. I think the ebuild should be fit the newest python.eclass or something.
+ 10 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> bleachbit-0.9.5.ebuild: + Choose correct Python implementation during package building, wrt bug + #465254. Thanks to Chris <blackstar86 AT gmx.net> for discovering this issue