Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389983 - app-backup/duplicity-0.6.06 fails to build when python3 is main interpreter
Summary: app-backup/duplicity-0.6.06 fails to build when python3 is main interpreter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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: 2011-11-09 16:42 UTC by Pacho Ramos
Modified: 2012-03-01 22:56 UTC (History)
1 user (show)

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 Pacho Ramos gentoo-dev 2011-11-09 16:42:38 UTC
I can try to fix ebuild if you let me do it to use python2 properly

Thanks


 * Package:    app-backup/duplicity-0.6.06
 * Repository: gentoo
 * Maintainer: vanquirius@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib test userland_GNU
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking duplicity-0.6.06.tar.gz to /var/tmp/portage/app-backup/duplicity-0.6.06/work
>>> Source unpacked in /var/tmp/portage/app-backup/duplicity-0.6.06/work
>>> Preparing source in /var/tmp/portage/app-backup/duplicity-0.6.06/work/duplicity-0.6.06 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-backup/duplicity-0.6.06/work/duplicity-0.6.06 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-backup/duplicity-0.6.06/work/duplicity-0.6.06 ...
python3.1 setup.py build
  File "setup.py", line 29
    print "Sorry, duplicity requires version 2.3 or later of python"
                                                                   ^
SyntaxError: invalid syntax
 * ERROR: app-backup/duplicity-0.6.06 failed (compile phase):
 *   Building failed
 * 
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 3672:  Called distutils_src_compile
 *   environment, line  983:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 * 
 * If you need support, post the output of 'emerge --info =app-backup/duplicity-0.6.06',
 * the complete build log and the output of 'emerge -pqv =app-backup/duplicity-0.6.06'.
 * The complete build log is located at '/var/log/portage/build/app-backup/duplicity-0.6.06:20111109-163944.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-backup/duplicity-0.6.06/temp/environment'.
 * S: '/var/tmp/portage/app-backup/duplicity-0.6.06/work/duplicity-0.6.06'


Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2012-01-15 17:11:19 UTC
This is fixed since duplicity-0.6.13 by forcing python-2.
Comment 2 Tim Harder gentoo-dev 2012-03-01 22:56:08 UTC
Closing since it's been fixed for a while now.