[Bug 223854] x11-toolkits/py-wxPython-common: invalid syntax during build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 24 20:55:57 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223854
Bug ID: 223854
Summary: x11-toolkits/py-wxPython-common: invalid syntax during
build
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: python at FreeBSD.org
Reporter: ml+freebsd-bugs at vishwin.info
Flags: maintainer-feedback?(python at FreeBSD.org)
Assignee: python at FreeBSD.org
On systems with Python 3 set in DEFAULT_VERSIONS, the build fails with a Python
2-ism syntax error:
===> Building for py36-wxPython-common-3.0.2.0_4
/usr/local/bin/python3.6 /usr/local/lib/python3.6/compileall.py -d
/usr/local/lib/python3.6/site-packages -f
/wrkdirs/usr/ports/x11-toolkits/py-wxPython-common/work/wxPython-src-3.0.2.0/wxPython/wxversion
Listing
'/wrkdirs/usr/ports/x11-toolkits/py-wxPython-common/work/wxPython-src-3.0.2.0/wxPython/wxversion'...
Compiling
'/wrkdirs/usr/ports/x11-toolkits/py-wxPython-common/work/wxPython-src-3.0.2.0/wxPython/wxversion/wxversion.py'...
*** File "/usr/local/lib/python3.6/site-packages/wxversion.py", line 430
print "Asked for %s, (%s):\t got: %s" % (version, optionsRequired,
sys.path[0])
^
SyntaxError: invalid syntax
*** Error code 1
Stop.
make: stopped in /usr/ports/x11-toolkits/py-wxPython-common
I have a feeling this code was never intended to execute on Python 3 at all, so
maybe restricting to Python 2 would be good.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list