[MacPorts] #30396: python25, python26 fail to build on lion with Xcode 4.2

MacPorts noreply at macports.org
Tue Jul 26 08:51:00 PDT 2011


#30396: python25, python26 fail to build on lion with Xcode 4.2
--------------------------------+-------------------------------------------
 Reporter:  twoboxen@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.0                                
 Keywords:  lion                |        Port:  python25 python26                    
--------------------------------+-------------------------------------------
Description changed by snc@…:

Old description:

> :info:build *** WARNING: renaming "_ctypes" since importing it failed:
> dlopen(build/lib.macosx-10.7-x86_64-2.5/_ctypes.so, 2): Symbol not found:
> _ffi_call
> :info:build   Referenced from:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6/build/lib.macosx-10.7-x86_64-2.5/_ctypes.so
> :info:build   Expected in: flat namespace
> :info:build  in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6/build/lib.macosx-10.7-x86_64-2.5/_ctypes.so
> :info:build /bin/sh: line 1: 69328 Segmentation fault: 11
> DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6:
> CC='/Developer/usr/bin/llvm-gcc-4.2' LDSHARED='/Developer/usr/bin/llvm-
> gcc-4.2 -arch x86_64 -L/opt/local/lib -arch x86_64 -bundle -undefined
> dynamic_lookup' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
> ./python.exe -E ./setup.py --no-user-cfg build
> :info:build make: *** [sharedmods] Error 139
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6"
> && /usr/bin/make -j2 -w all MAKE="/usr/bin/make" CC="/Developer/usr/bin
> /llvm-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 python25):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for python25 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/main.log

New description:

 {{{
 :info:build *** WARNING: renaming "_ctypes" since importing it failed:
 dlopen(build/lib.macosx-10.7-x86_64-2.5/_ctypes.so, 2): Symbol not found:
 _ffi_call
 :info:build   Referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6/build/lib.macosx-10.7-x86_64-2.5/_ctypes.so
 :info:build   Expected in: flat namespace
 :info:build  in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6/build/lib.macosx-10.7-x86_64-2.5/_ctypes.so
 :info:build /bin/sh: line 1: 69328 Segmentation fault: 11
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6:
 CC='/Developer/usr/bin/llvm-gcc-4.2' LDSHARED='/Developer/usr/bin/llvm-
 gcc-4.2 -arch x86_64 -L/opt/local/lib -arch x86_64 -bundle -undefined
 dynamic_lookup' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
 ./python.exe -E ./setup.py --no-user-cfg build
 :info:build make: *** [sharedmods] Error 139
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/work/Python-2.5.6"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make" CC="/Developer/usr/bin
 /llvm-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 python25):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for python25 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/main.log
 }}}

--

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


More information about the macports-tickets mailing list