[MacPorts] #40973: py27-pyobjc: Build error on Mavericks
#40973: py27-pyobjc: Build error on Mavericks ------------------------------+-------------------------------- Reporter: Deil.Christoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: py-pyobjc ------------------------------+-------------------------------- I get this error when I try to install {{{py27-pyobjc}}} on Mac OS X 10.9 Mavericks: {{{ version:1 :debug:clean changing euid/egid - current euid: 0 - current egid: 0 :debug:clean egid changed to: 501 :debug:clean euid changed to: 502 :debug:main Executing org.macports.main (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (py27-pyobjc) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sun Oct 27 01:06:39 CEST 2013 :notice:build ---> Building py27-pyobjc :debug:build Executing proc-pre-org.macports.build-build-0 :debug:build Executing org.macports.build (py27-pyobjc) :debug:build 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:build 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:build 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 :info:build running build :info:build running build_py :info:build Overriding build_packages to copy PyObjCTest :info:build running build_ext :info:build building 'objc._objc' extension :info:build /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 -DNO_OBJC2_RUNTIME -isysroot / -Ibuild/codegen/ -Ilibffi-src/include -Ilibffi-src/powerpc :info:build In file included from libffi-src/ffi.c:25: :info:build libffi-src/include/ffi_common.h:37:11: fatal error: 'string.h' file not found :info:build # include <string.h> :info:build ^ :info:build 1 error generated. :info:build error: command '/usr/bin/clang' failed with exit status 1 :info:build 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 :info:build Exit code: 1 :error:build org.macports.build for port py27-pyobjc returned: command execution failed :debug:build Error code: CHILDSTATUS 50370 1 :debug:build 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" :info:build Warning: targets not executed for py27-pyobjc: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install py27-pyobjc :debug:build could not read "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/bottleneck/version.pyc": no such file or directory while executing "::file type $file" :notice:build 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 }}} {{{ChristophMacbook-2:~ deil$ clang --version Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/40973> MacPorts <http://www.macports.org/> Ports system for OS X
#40973: py27-pyobjc: Build error on Mavericks -------------------------------+-------------------------------- Reporter: Deil.Christoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-pyobjc | -------------------------------+-------------------------------- Comment (by Deil.Christoph@…): The problem was that the Xcode command line tools weren't installed. Apparently after doing the update from OS X 10.8 to 10.9 the old Xcode 5 is still OK, but the command line tools have to be re-installed. After installing the Xcode command line tools by typing {{{xcode-select --install}}} in the terminal everything works. Please close with status "user error". -- Ticket URL: <https://trac.macports.org/ticket/40973#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40973: py27-pyobjc: Build error on Mavericks -------------------------------+-------------------------------- Reporter: Deil.Christoph@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: py-pyobjc | -------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Yup, [wiki:Migration the migration instructions] have long mentioned the need to reinstall Xcode and command line tools after upgrading the OS. -- Ticket URL: <https://trac.macports.org/ticket/40973#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts