Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465254 - sys-apps/bleachbit-0.9.5 with system python3 - invalid syntax in "print str(sys.exc_info()[1]) "
Summary: sys-apps/bleachbit-0.9.5 with system python3 - invalid syntax in "print str(s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 12:39 UTC by No Name
Modified: 2013-04-10 08:43 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 No Name 2013-04-09 12:39:27 UTC
>>> 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 *
Comment 1 No Name 2013-04-09 18:05:34 UTC
With eselect python set python-2.7 is emerge bleachbit working. I think the ebuild should be fit the newest python.eclass or something.
Comment 2 Sergey Popov gentoo-dev 2013-04-10 08:43:54 UTC
+  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