[MacPorts] #21137: python26 doesn't build on macos 10.6

MacPorts noreply at macports.org
Sun Sep 6 02:52:56 PDT 2009


#21137: python26 doesn't build on macos 10.6
-------------------------+--------------------------------------------------
 Reporter:  jwz@…        |       Owner:  macports-tickets@…                   
     Type:  defect       |      Status:  new                                  
 Priority:  Normal       |   Milestone:                                       
Component:  ports        |     Version:  1.8.0                                
 Keywords:               |        Port:                                       
-------------------------+--------------------------------------------------
 I did the "Migration" upgrade.

 {{{
 % port clean python26
 --->  Cleaning python26
 % port -f uninstall python26
 % port install python26
 --->  Computing dependencies for python26
 --->  Fetching python26
 --->  Verifying checksum(s) for python26
 --->  Extracting python26
 --->  Applying patches to python26
 --->  Configuring python26
 --->  Building python26
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
 && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned
 error 2
 Command output: if test ""; then \
                 /usr/bin/gcc-4.2 -o Python.framework/Versions/2.6/Python
 -dynamiclib \
                         -isysroot "" \
                         -all_load libpython2.6.a -Wl,-single_module \
                         -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python \
                         -compatibility_version 2.6 \
                         -current_version 2.6; \
         else \
                 /usr/bin/libtool -o Python.framework/Versions/2.6/Python
 -dynamic  libpython2.6.a \
                          -lSystem -lSystemStubs -arch_only i386
 -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
 -compatibility_version 2.6 -current_version 2.6 ;\
         fi
 /usr/bin/install -c -d -m 755  \
                 Python.framework/Versions/2.6/Resources/English.lproj
 /usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
                 Python.framework/Versions/2.6/Resources/Info.plist
 ln -fsn 2.6 Python.framework/Versions/Current
 ln -fsn Versions/Current/Python Python.framework/Python
 ln -fsn Versions/Current/Headers Python.framework/Headers
 ln -fsn Versions/Current/Resources Python.framework/Resources
 /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error
 Python.framework/Versions/2.6/Python -o python.exe \
                         Modules/python.o \
                          -ldl
 ld: warning: in Python.framework/Versions/2.6/Python, file is not of
 required architecture
 Undefined symbols:
   "_PyMac_Error", referenced from:
   "_Py_Main", referenced from:
       _main in python.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [python.exe] Error 1

 Error: Status 1 encountered during processing.
 52.732u 17.137s 1:36.53 72.3%   0+0k 593+855io 0pf+0w
 Exit 1
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21137>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list