Opened 12 years ago
Closed 12 years ago
#35437 closed defect (fixed)
Processing of port py27-pyopencl failed in Mountain Lion
Reported by: | miguel.molero@… | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | larsson@…, stromnov (Andrey Stromnov) | |
Port: | py27-pyopencl |
Description (last modified by mf2k (Frank Schima))
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
Attachments (6)
Change History (13)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | pyopencl removed |
Owner: | changed from macports-tickets@… to larry.velazquez@… |
Priority: | High → Normal |
comment:2 Changed 12 years ago 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
comment:3 Changed 12 years ago 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".
Changed 12 years ago by larryv (Lawrence Velázquez)
Attachment: | Portfile-py-pyopencl.diff added |
---|
update to 2012.1
Changed 12 years ago by larryv (Lawrence Velázquez)
Attachment: | patch-setup.py.diff added |
---|
updated patch to prevent setup.py from setting -arch and -isysroot
Changed 12 years ago by larryv (Lawrence Velázquez)
Attachment: | patch-aksetup_helper.py.diff added |
---|
patch to correct linker flags
Changed 12 years ago by larryv (Lawrence Velázquez)
Attachment: | patch-clCreateProgramWithBuiltInKernels.diff added |
---|
patch to fix clCreateProgramWithBuiltInKernels issue
comment:5 Changed 12 years ago by larryv (Lawrence Velázquez)
comment:7 Changed 12 years ago by stromnov (Andrey Stromnov)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks! Committed in r97793.
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.