Opened 10 years ago
Closed 10 years ago
#44623 closed defect (invalid)
py27-pyobjc-cocoa failes to build with +universal switch
Reported by: | misel.mesnjak@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | py27-pyobjc-cocoa |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (3)
Change History (11)
comment:1 follow-up: 2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | universal matplotlib pyobjc-cocoa removed |
Changed 10 years ago by misel.mesnjak@…
Log file for py27-pyobjc-cocoa failed build
comment:2 Changed 10 years ago by misel.mesnjak@…
comment:3 follow-up: 4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
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.
comment:4 Changed 10 years ago by misel.mesnjak@…
Replying to 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
Changed 10 years ago by misel.mesnjak@…
Attachment: | main.2.log added |
---|
Removed target line from macports.conf
comment:5 Changed 10 years ago by mtwest729@…
For what its worth, I am getting the same build failure running on an MacBook Pro with OSX 10.5.8.
comment:6 follow-up: 7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
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.
comment:7 Changed 10 years ago by misel.mesnjak@…
Replying to 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:
Mantiss-Mac:~ mantis$ sudo port clean py27-pyobjc-cocoa +universal
---> Cleaning py27-pyobjc-cocoa
Mantiss-Mac:~ mantis$ sudo port install py27-pyobjc-cocoa +universal
---> Computing dependencies for py27-pyobjc-cocoa
---> Fetching archive for py27-pyobjc-cocoa
---> 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
---> Verifying checksums for py27-pyobjc-cocoa
---> Extracting py27-pyobjc-cocoa
---> Configuring py27-pyobjc-cocoa
---> Building py27-pyobjc-cocoa
---> Staging py27-pyobjc-cocoa into destroot
Error: org.macports.destroot for port py27-pyobjc-cocoa returned: command execution failed
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
To report a bug, follow the instructions in the guide:
Error: Processing of port py27-pyobjc-cocoa failed
And I have attached new main.log
Changed 10 years ago by misel.mesnjak@…
Attachment: | main.3.log added |
---|
After port clean py27-pyobjc-cocoa
comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
Please attach the main.log file.