[MacPorts] #44623: py27-pyobjc-cocoa failes to build with +universal switch
#44623: py27-pyobjc-cocoa failes to build with +universal switch -------------------------------------------------+------------------------- Reporter: misel.mesnjak@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: universal, matplotlib, pyobjc-cocoa | Version: 2.3.1 | Port: py27 | -pyobjc-cocoa -------------------------------------------------+------------------------- I tried installing py27-matplotlib with macports on Maverick 10.9 OS X and the build failed on building py27-pyobjc-cocoa as a dependency. Here is the tail from the log: :info:build copying PyObjCTest/test_osxcasts.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_regr.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_structs.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_subclassing.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_threading.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_weirdness.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build running build_ext :info:build building 'CoreFoundation._inlines' extension :info:build creating build/temp.macosx-10.9-x86_64-2.7/Modules :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -arch x86_64 -arch i386 -Ibuild/temp.macosx-10.9-x86_64-2.7 /pyobjc-include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_CoreFoundation_inlines.m -o build/temp.macosx-10.9-x86_64-2.7/Modules/_CoreFoundation_inlines.o -DPyObjC_BUILD_RELEASE=1009 -isysroot / :info:build error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.8" but "10.9" during configure :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc-cocoa/work /pyobjc-framework-Cocoa-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-cocoa returned: command execution failed :debug:build Error code: CHILDSTATUS 94853 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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for py27-pyobjc-cocoa: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port py27-pyobjc-cocoa for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc- cocoa/main.log -- Ticket URL: <https://trac.macports.org/ticket/44623> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: universal, matplotlib, pyobjc-cocoa => Old description:
I tried installing py27-matplotlib with macports on Maverick 10.9 OS X and the build failed on building py27-pyobjc-cocoa as a dependency.
Here is the tail from the log:
:info:build copying PyObjCTest/test_osxcasts.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_regr.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_structs.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_subclassing.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_threading.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_weirdness.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build running build_ext :info:build building 'CoreFoundation._inlines' extension :info:build creating build/temp.macosx-10.9-x86_64-2.7/Modules :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -arch x86_64 -arch i386 -Ibuild/temp.macosx-10.9-x86_64-2.7 /pyobjc-include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_CoreFoundation_inlines.m -o build/temp.macosx-10.9-x86_64-2.7/Modules/_CoreFoundation_inlines.o -DPyObjC_BUILD_RELEASE=1009 -isysroot / :info:build error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.8" but "10.9" during configure :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc-cocoa/work /pyobjc-framework-Cocoa-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-cocoa returned: command execution failed :debug:build Error code: CHILDSTATUS 94853 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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for py27-pyobjc-cocoa: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port py27-pyobjc-cocoa for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc- cocoa/main.log
New description: I tried installing py27-matplotlib with macports on Maverick 10.9 OS X and the build failed on building py27-pyobjc-cocoa as a dependency. Here is the tail from the log: {{{ :info:build copying PyObjCTest/test_osxcasts.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_regr.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_structs.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_subclassing.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_threading.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build copying PyObjCTest/test_weirdness.py -> build/lib.macosx-10.9-x86_64-2.7/PyObjCTest :info:build running build_ext :info:build building 'CoreFoundation._inlines' extension :info:build creating build/temp.macosx-10.9-x86_64-2.7/Modules :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -arch x86_64 -arch i386 -Ibuild/temp.macosx-10.9-x86_64-2.7 /pyobjc-include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_CoreFoundation_inlines.m -o build/temp.macosx-10.9-x86_64-2.7/Modules/_CoreFoundation_inlines.o -DPyObjC_BUILD_RELEASE=1009 -isysroot / :info:build error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.8" but "10.9" during configure :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc-cocoa/work /pyobjc-framework-Cocoa-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-cocoa returned: command execution failed :debug:build Error code: CHILDSTATUS 94853 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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for py27-pyobjc-cocoa: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port py27-pyobjc-cocoa for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc- cocoa/main.log }}} -- Comment: Please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by misel.mesnjak@…): Replying to [comment:1 ryandesign@…]:
Please attach the main.log file. Hi,
I've attached the main.log file... -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by ryandesign@…): Have you by any chance edited macports.conf and deliberately set `macosx_deployment_target 10.8` although you are on 10.9? If so, remove that from macports.conf, clean, and try again. -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by misel.mesnjak@…): Replying to [comment:3 ryandesign@…]:
Have you by any chance edited macports.conf and deliberately set `macosx_deployment_target 10.8` although you are on 10.9? If so, remove that from macports.conf, clean, and try again.
Yes, I have. I'm trying to package an application from this repo: https://code.google.com/p/spectromicroscopy/ It's a qt based python app and I'm trying to package it with the pyinstaller. I manged to do so with the python installed with brew but it would not run on Mac Mini with OSX 10.7.5 so I'm now trying to build python and all the dependencies with the macports and then try. It still fails... I'm attaching new main.log file with commented out line in macports.conf -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by mtwest729@…): For what its worth, I am getting the same build failure running on an MacBook Pro with OSX 10.5.8. -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by ryandesign@…): Changing `macosx_deployment_target` in macports.conf is not supported at this time. Apparently this port does not support it. The new log you attached was not from a clean attempt. Run "`sudo port clean py27-pyobjc-cocoa`" before trying again. -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Comment (by misel.mesnjak@…): Replying to [comment:6 ryandesign@…]:
Changing `macosx_deployment_target` in macports.conf is not supported at this time. Apparently this port does not support it.
The new log you attached was not from a clean attempt. Run "`sudo port clean py27-pyobjc-cocoa`" before trying again. This is the stdout c/p:[[BR]] Mantiss-Mac:~ mantis$ sudo port clean py27-pyobjc-cocoa +universal[[BR]] ---> Cleaning py27-pyobjc-cocoa[[BR]] Mantiss-Mac:~ mantis$ sudo port install py27-pyobjc-cocoa +universal[[BR]] ---> Computing dependencies for py27-pyobjc-cocoa[[BR]] ---> Fetching archive for py27-pyobjc-cocoa[[BR]] ---> Attempting to fetch py27-pyobjc- cocoa-2.5.1_0+universal.darwin_13.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-pyobjc-cocoa[[BR]] ---> Attempting to fetch py27-pyobjc- cocoa-2.5.1_0+universal.darwin_13.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27 -pyobjc-cocoa[[BR]] ---> Attempting to fetch py27-pyobjc- cocoa-2.5.1_0+universal.darwin_13.i386-x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-pyobjc- cocoa[[BR]] ---> Fetching distfiles for py27-pyobjc-cocoa[[BR]] ---> Verifying checksums for py27-pyobjc-cocoa[[BR]] ---> Extracting py27-pyobjc-cocoa[[BR]] ---> Configuring py27-pyobjc-cocoa[[BR]] ---> Building py27-pyobjc-cocoa[[BR]] ---> Staging py27-pyobjc-cocoa into destroot[[BR]] Error: org.macports.destroot for port py27-pyobjc-cocoa returned: command execution failed[[BR]] Please see the log file for port py27-pyobjc-cocoa for details:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyobjc-cocoa/py27-pyobjc- cocoa/main.log[[BR]] To report a bug, follow the instructions in the guide:[[BR]] http://guide.macports.org/#project.tickets[[BR]] Error: Processing of port py27-pyobjc-cocoa failed[[BR]] [[BR]] And I have attached new main.log
-- Ticket URL: <https://trac.macports.org/ticket/44623#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44623: py27-pyobjc-cocoa failes to build with +universal switch --------------------------------+-------------------------------- Reporter: misel.mesnjak@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: py27-pyobjc-cocoa | --------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: The new log shows a different error: {{{ AttributeError: 'module' object has no attribute '_install_lib' }}} That's a different bug—#44192—for which I committed the fix yesterday. -- Ticket URL: <https://trac.macports.org/ticket/44623#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts