[MacPorts] #30369: can't build python26 on Mac OS X Lion

MacPorts noreply at macports.org
Mon Jul 25 12:37:52 PDT 2011


#30369: can't build python26 on Mac OS X Lion
------------------------------+---------------------------------------------
 Reporter:  jiri@…            |       Owner:  mcalhoun@…           
     Type:  defect            |      Status:  new                  
 Priority:  Normal            |   Milestone:                       
Component:  ports             |     Version:  2.0.0                
 Keywords:                    |        Port:  python26             
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => mcalhoun@…
  * port:  => python26


Old description:

> Computing dependencies for python26
> --->  Building python26
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for python26 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>
>

>

> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
> && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"'
> :debug:build Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
> && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7'
> :info:build /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6
> :info:build if test ""; then \
> :info:build             /usr/bin/gcc-4.2 -o
> Python.framework/Versions/2.6/Python  -dynamiclib \
> :info:build                     -isysroot "" \
> :info:build                     -all_load libpython2.6.a
> -Wl,-single_module \
> :info:build                     -install_name
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \
> :info:build                     -compatibility_version 2.6 \
> :info:build                     -current_version 2.6; \
> :info:build         else \
> :info:build             /usr/bin/libtool -o
> Python.framework/Versions/2.6/Python -dynamic  libpython2.6.a \
> :info:build                      -lSystem -lSystemStubs -arch_only x86_64
> -install_name
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
> -compatibility_version 2.6 -current_version 2.6 ;\
> :info:build     fi
> :info:build /usr/bin/libtool: for architecture x86_64 object:
> /usr/lib/libSystem.dylib malformed object (unknown load command 8)
> :info:build /usr/bin/libtool: for architecture: (null) file: -lSystem is
> not an object file (not allowed in a library)
> :info:build /usr/bin/libtool: for architecture i386 object:
> /usr/lib/libSystem.dylib malformed object (unknown load command 8)
> :info:build make: *** [Python.framework/Versions/2.6/Python] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
> && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" "
> returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for python26):
> org.macports.install org.macports.build org.macports.destroot
> :notice:build Log for python26 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log

New description:

 {{{
 Computing dependencies for python26
 --->  Building python26
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for python26 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}


 {{{
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7'
 :info:build /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6
 :info:build if test ""; then \
 :info:build             /usr/bin/gcc-4.2 -o
 Python.framework/Versions/2.6/Python  -dynamiclib \
 :info:build                     -isysroot "" \
 :info:build                     -all_load libpython2.6.a
 -Wl,-single_module \
 :info:build                     -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \
 :info:build                     -compatibility_version 2.6 \
 :info:build                     -current_version 2.6; \
 :info:build         else \
 :info:build             /usr/bin/libtool -o
 Python.framework/Versions/2.6/Python -dynamic  libpython2.6.a \
 :info:build                      -lSystem -lSystemStubs -arch_only x86_64
 -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
 -compatibility_version 2.6 -current_version 2.6 ;\
 :info:build     fi
 :info:build /usr/bin/libtool: for architecture x86_64 object:
 /usr/lib/libSystem.dylib malformed object (unknown load command 8)
 :info:build /usr/bin/libtool: for architecture: (null) file: -lSystem is
 not an object file (not allowed in a library)
 :info:build /usr/bin/libtool: for architecture i386 object:
 /usr/lib/libSystem.dylib malformed object (unknown load command 8)
 :info:build make: *** [Python.framework/Versions/2.6/Python] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/work/Python-2.6.7"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" "
 returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for python26):
 org.macports.install org.macports.build org.macports.destroot
 :notice:build Log for python26 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/python26/main.log
 }}}

--

Comment:

 Please use WikiFormatting, fill in the Port and Cc fields.

-- 
Ticket URL: <https://trac.macports.org/ticket/30369#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list