Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356891 - mail-client/postler-0.1.0 fails to emerge with Python3
Summary: mail-client/postler-0.1.0 fails to emerge with Python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 20:32 UTC by Chris Mayo
Modified: 2011-03-01 04:50 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 Chris Mayo 2011-02-28 20:32:19 UTC
If Python3 is the default interpreter postler fails to emerge:

/var/tmp/portage/mail-client/postler-0.1.0/work/postler-0.1.0/wscript: error: Traceback (most recent call last):
  File "/var/tmp/portage/mail-client/postler-0.1.0/work/postler-0.1.0/.waf3-1.5.16-e6d03192b5ddfa5ef2c8d65308e48e42/wafadmin/Utils.py", line 197, in load_module
    exec(compile(code,file_path,'exec'),module.__dict__)
  File "/var/tmp/portage/mail-client/postler-0.1.0/work/postler-0.1.0/wscript", line 19
    print 'Incompatible Waf, use 1.5'
                                    ^
SyntaxError: invalid syntax

Adding inherit python and to pkg_setup():
python_set_active_version 2
fixed this for me
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-28 21:07:28 UTC
Please paste your `emerge --info' output in a comment and attach the entire build log.