[MacPorts] #29943: py27-pyopencl can not be upgraded

MacPorts noreply at macports.org
Mon Jun 27 15:41:10 PDT 2011


#29943: py27-pyopencl can not be upgraded
-------------------------------+--------------------------------------------
 Reporter:  schmunk@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:                     |        Port:  py27-pyopencl                        
-------------------------------+--------------------------------------------
Changes (by ciserlohn@…):

  * keywords:  python, opencl, upgrade =>
 * cc: snc@… (added)


Old description:

> I ran a 'selfupdate' and afterwards 'upgrade outdated', then I got this
> error on 10.6.8
>
> {{{
> version:1
> :msg:configure --->  Computing dependencies for
> py27-pyopencl:info:configure .:debug:configure Searching for dependency:
> py27-distribute
> :debug:configure Found Dependency: receipt exists for py27-distribute
> :debug:configure Searching for dependency: py27-numpy
> :debug:configure Found Dependency: receipt exists for py27-numpy
> :debug:configure Searching for dependency: python27
> :debug:configure Found Dependency: receipt exists for python27
> :msg:configure
> :debug:main Executing org.macports.main (py27-pyopencl)
> :debug:main Skipping completed org.macports.fetch (py27-pyopencl)
> :debug:main Skipping completed org.macports.checksum (py27-pyopencl)
> :debug:main Skipping completed org.macports.extract (py27-pyopencl)
> :debug:main Skipping completed org.macports.patch (py27-pyopencl)
> :msg:main --->  Configuring py27-pyopencl
> :debug:main Using compiler 'Mac OS X gcc 4.2'
> :debug:configure configure phase started at Mon Jun 27 13:30:29 CEST 2011
> :debug:configure Executing org.macports.configure (py27-pyopencl)
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2
> -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
> LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
> CXX='/usr/bin/g++-4.2'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyopencl/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
> OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
> OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES'
> CC='/usr/bin/gcc-4.2'
> :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
> :info:configure shell 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 " returned error 1
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for
> py27-pyopencl): org.macports.destroot org.macports.configure
> org.macports.build
> :notice:configure Log for py27-pyopencl is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyopencl/main.log
> }}}
>
> I've also tried to updated dependencies manually before, but without
> luck.

New description:

 {{{
 :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
 }}}

--

Comment:

 Replying to [ticket:29943 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 ?
 {{{
 python --version
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/29943#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list