[MacPorts] #36722: py25-tables: ImportError: No module named _ctypes

MacPorts noreply at macports.org
Wed Oct 24 19:16:49 PDT 2012


#36722: py25-tables: ImportError: No module named _ctypes
--------------------------+-------------------------
 Reporter:  ryandesign@…  |      Owner:  mmoll@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:                |       Port:  py25-tables
--------------------------+-------------------------
 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.

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


More information about the macports-tickets mailing list