#36722 closed defect (fixed)
py25-tables: ImportError: No module named _ctypes
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | py25-tables |
Description
The py25-tables subport does not build:
---> Building py25-tables DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (py25-tables) DEBUG: Environment: CPATH='/opt/local/include:/opt/local/include/openmpi' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-tables/py25-tables/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-tables/py25-tables/work/tables-2.4.0" && /opt/local/bin/python2.5 setup.py --no-user-cfg build_ext --inplace --hdf5=/opt/local --bzip2=/opt/local --lzo=/opt/local' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-tables/py25-tables/work/tables-2.4.0" && /opt/local/bin/python2.5 setup.py --no-user-cfg build_ext --inplace --hdf5=/opt/local --bzip2=/opt/local --lzo=/opt/local Traceback (most recent call last): File "setup.py", line 5, in <module> import ctypes File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/__init__.py", line 10, in <module> from _ctypes import Union, Structure, Array ImportError: No module named _ctypes Command failed: cd "/opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-tables/py25-tables/work/tables-2.4.0" && /opt/local/bin/python2.5 setup.py --no-user-cfg build_ext --inplace --hdf5=/opt/local --bzip2=/opt/local --lzo=/opt/local Exit code: 1 Error: org.macports.build for port py25-tables returned: command execution failed
The other subports build fine.
Change History (4)
comment:1 Changed 12 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
That means we have to remove 2.5 as a supported version from all ports using py-tables; done in r99071.
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Are you aware that the ctypes in python25 builds on every arch except x86_64?
Note: See
TracTickets for help on using
tickets.
I removed python 2.5 as a supported version. See r99061.