[MacPorts] #35437: Processing of port py27-pyopencl failed in Mountain Lion
#35437: Processing of port py27-pyopencl failed in Mountain Lion -------------------------------------+-------------------------------------- Reporter: miguel.molero@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.2 Keywords: pyopencl | Port: py27-pyopencl -------------------------------------+-------------------------------------- Hi there, I've had problems when processing the py27-pyopencl port in Mountain Lion using a clean installation: src/wrapper/wrap_constants.cpp:773: error: ‘CL_DEVICE_PARTITION_EQUALLY_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:774: error: ‘CL_DEVICE_PARTITION_BY_COUNTS_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:775: error: ‘CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:776: error: ‘CL_PARTITION_BY_COUNTS_LIST_END_EXT’ was not declared in this scope error: command '/usr/bin/llvm-gcc-4.2' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyopencl/py27-pyopencl/work/pyopencl-2011.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 Does Anybody know how I can solve this issue. Thanks cheers Miguel -- Ticket URL: <https://trac.macports.org/ticket/35437> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35437: Processing of port py27-pyopencl failed in Mountain Lion -------------------------------------+-------------------------------------- Reporter: miguel.molero@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-pyopencl -------------------------------------+-------------------------------------- Changes (by macsforever2000@…): * priority: High => Normal * keywords: pyopencl => * owner: macports-tickets@… => larry.velazquez@… Old description:
Hi there,
I've had problems when processing the py27-pyopencl port in Mountain Lion using a clean installation:
src/wrapper/wrap_constants.cpp:773: error: ‘CL_DEVICE_PARTITION_EQUALLY_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:774: error: ‘CL_DEVICE_PARTITION_BY_COUNTS_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:775: error: ‘CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:776: error: ‘CL_PARTITION_BY_COUNTS_LIST_END_EXT’ was not declared in this scope error: command '/usr/bin/llvm-gcc-4.2' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyopencl/py27-pyopencl/work/pyopencl-2011.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1
Does Anybody know how I can solve this issue. Thanks
cheers Miguel
New description: Hi there, I've had problems when processing the py27-pyopencl port in Mountain Lion using a clean installation: {{{ src/wrapper/wrap_constants.cpp:773: error: ‘CL_DEVICE_PARTITION_EQUALLY_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:774: error: ‘CL_DEVICE_PARTITION_BY_COUNTS_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:775: error: ‘CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT’ was not declared in this scope src/wrapper/wrap_constants.cpp:776: error: ‘CL_PARTITION_BY_COUNTS_LIST_END_EXT’ was not declared in this scope error: command '/usr/bin/llvm-gcc-4.2' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyopencl/py27-pyopencl/work/pyopencl-2011.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 }}} Does Anybody know how I can solve this issue. Thanks cheers Miguel -- Comment: Please attach the complete main.log after cleaning the port and trying again. In the future, please Cc the port maintainer(s) and use WikiFormatting, but do not change the priority field. -- Ticket URL: <https://trac.macports.org/ticket/35437#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35437: Processing of port py27-pyopencl failed in Mountain Lion -------------------------------------+-------------------------------------- Reporter: miguel.molero@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-pyopencl -------------------------------------+-------------------------------------- Comment(by IgnitusBoyone@…): I have run in to the same issue since updating to 10.8. Was trying to recompile all of my ports to 4.4 -- Ticket URL: <https://trac.macports.org/ticket/35437#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35437: Processing of port py27-pyopencl failed in Mountain Lion -------------------------------------+-------------------------------------- Reporter: miguel.molero@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-pyopencl -------------------------------------+-------------------------------------- Comment(by larsson@…): Same errors here on 10.8. I am also having problem installing pyopencl manually, both using clang and gcc. Both times, it installs without errors, but I get a runtime error when trying to import it saying "Symbol not found: _clCreateProgramWithBuiltInKernels". -- Ticket URL: <https://trac.macports.org/ticket/35437#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35437: Processing of port py27-pyopencl failed in Mountain Lion -------------------------------------+-------------------------------------- Reporter: miguel.molero@… | Owner: larry.velazquez@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py27-pyopencl -------------------------------------+-------------------------------------- Comment(by larry.velazquez@…): The patches I just uploaded should enable the port to install and run correctly on 10.8. The latter two patches are taken directly from the PyOpenCL Git repository ([http://git.tiker.net/pyopencl.git/commitdiff/7f7fa90c69781616ee448778e65336e... here] and [http://git.tiker.net/pyopencl.git/commitdiff/a6294d0b7a0bae75c67598426b0b226... here], respectively). -- Ticket URL: <https://trac.macports.org/ticket/35437#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35437: Processing of port py27-pyopencl failed in Mountain Lion ------------------------------+------------------------------- Reporter: miguel.molero@… | Owner: larry.velazquez@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-pyopencl | ------------------------------+------------------------------- Changes (by stromnov@…): * status: new => closed * resolution: => fixed Comment: Thanks! Committed in r97793. -- Ticket URL: <https://trac.macports.org/ticket/35437#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts