Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350148 - bzr-2.0.1: compile error with python 3
Summary: bzr-2.0.1: compile error with python 3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 13:26 UTC by Wim Muskee
Modified: 2010-12-30 16:04 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 Wim Muskee 2010-12-30 13:26:42 UTC
Compiling bzr on stable x86 with the python 3.1 interpreter results in a:

#
>>> Source unpacked in /var/tmp/portage/dev-vcs/bzr-2.0.1/work
#
>>> Compiling source in /var/tmp/portage/dev-vcs/bzr-2.0.1/work/bzr-2.0.1 ...
#
python3.1 setup.py build
#
  File "setup.py", line 128
#
    print "Created:", batch_path
#
                   ^
#
SyntaxError: invalid syntax
#
 * ERROR: dev-vcs/bzr-2.0.1 failed:
#
 *   Building failed
#
 *
#
 * Call stack:
#
 *     ebuild.sh, line   56:  Called src_compile
#
 *   environment, line 5295:  Called distutils_src_compile
#
 *   environment, line 1420:  Called die
#
 * The specific snippet of code:
#
 *               "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";


When selecting the 2.6 interpreter, it is installed normally.

Can the package depend on and use the 2.6 interpreter specifically?

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-30 16:04:01 UTC
It's already fixed in >=dev-vcs/bzr-2.1.2. Stabilization of newer version has been requested in bug #346985.