[MacPorts] #40854: py27-pyobjc @2.5.2 Fails to build on Maverick

MacPorts noreply at macports.org
Wed Oct 23 05:55:24 PDT 2013


#40854: py27-pyobjc @2.5.2 Fails to build on Maverick
-----------------------+--------------------------------
 Reporter:  wichert@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.2.0
 Keywords:             |       Port:  py27-pyobjc
-----------------------+--------------------------------
 MacPorts was installed from trunk, but still reports its version as 2.2.0.

 py27-pyobjc fails to build on Maverick.

 {{{
 --->  Building py27-pyobjc
 DEBUG: Executing proc-pre-org.macports.build-build-0
 DEBUG: Executing org.macports.build (py27-pyobjc)
 DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64'
 CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.9' CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 pyobjc/py27-pyobjc/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/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/work/pyobjc-
 core-2.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/work/pyobjc-
 core-2.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 running build
 running build_py
 Overriding build_packages to copy PyObjCTest
 running build_ext
 building 'objc._objc' extension
 /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
 x86_64
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c libffi-src/ffi.c -o build/temp.macosx-10.9-x86_64-2.7/libffi-src/ffi.o
 -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1009 -DMACOSX -g
 -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W
 -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import
 -DPyObjC_BUILD_RELEASE=1009
 -I/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Headers
 -DNO_OBJC2_RUNTIME -isysroot / -Ibuild/codegen/ -Ilibffi-src/include
 -Ilibffi-src/powerpc
 -I/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include
 In file included from libffi-src/ffi.c:25:
 libffi-src/include/ffi_common.h:37:11: fatal error: 'string.h' file not
 found
 #       include <string.h>
                 ^
 1 error generated.
 error: command '/usr/bin/clang' 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-pyobjc/py27-pyobjc/work/pyobjc-
 core-2.5.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 Error: org.macports.build for port py27-pyobjc returned: command execution
 failed
 DEBUG: Error code: CHILDSTATUS 28029 1
 DEBUG: Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Warning: targets not executed for py27-pyobjc: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port py27-pyobjc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-pyobjc/py27-pyobjc/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py27-pyobjc failed
 }}}

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


More information about the macports-tickets mailing list