Ticket #29943 (closed defect: fixed)
py27-pyopencl does not make sure it only uses python2.7
| Reported by: | schmunk@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | ||
| Port: | py27-pyopencl |
Description (last modified by ciserlohn@…) (diff)
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyopencl/work/pyopencl-2011.1.1" && ./configure.py --prefix=/opt/local --cl-enable-gl' :info:configure /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyopencl/work/pyopencl-2011.1.1/aksetup_helper.py:702: Warning: 'as' will become a reserved keyword in Python 2.6 :info:configure Traceback (most recent call last): :info:configure File "./configure.py", line 3, in <module> :info:configure from aksetup_helper import configure_frontend :info:configure File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyopencl/work/pyopencl-2011.1.1/aksetup_helper.py", line 702 :info:configure except OSError as e: :info:configure ^ :info:configure SyntaxError: invalid syntax
Change History
comment:1 in reply to: ↑ description Changed 23 months ago by ciserlohn@…
- Cc snc@… added
- Keywords python, opencl, upgrade removed
- Description modified (diff)
comment:2 Changed 23 months ago by jmr@…
- Owner changed from macports-tickets@… to snc@…
- Cc snc@… removed
- Summary changed from py27-pyopencl can not be upgraded to py27-pyopencl does not make sure it only uses python2.7
It shouldn't matter what other versions of python are installed since this port depends on python27. Apparently the port is not ensuring that configure.py is run in the right interpreter.
Note: See
TracTickets for help on using
tickets.


Replying to schmunk@…:
Please remind to cc the maintainer.
As fresh install on my machine works fine. It seems that you have a outdated python installation (< 2.6) What is the output of ?