[MacPorts] #44623: py27-pyobjc-cocoa failes to build with +universal switch

MacPorts noreply at macports.org
Tue Aug 12 04:00:39 PDT 2014


#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


More information about the macports-tickets mailing list