[MacPorts] #20842: python30 3.0.1 build error/snow leopard (10A432)

MacPorts noreply at macports.org
Thu Aug 27 12:53:34 PDT 2009


#20842: python30 3.0.1 build error/snow leopard (10A432)
-----------------------------------------+----------------------------------
 Reporter:  andrius.laikina@…            |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  High                         |   Milestone:                                       
Component:  ports                        |     Version:  1.8.99                               
 Keywords:  python30 build snow leopard  |        Port:  python30                             
-----------------------------------------+----------------------------------
 python30 3.0.1 fails to build on snow leopard:

 {{{
 --->  Extracting python30
 --->  Applying patches to python30
 --->  Configuring python30
 --->  Building python30
 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_python30/work/Python-3.0.1"
 && /usr/bin/make -j2 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" "
 returned error 2
 Command output:                 /usr/bin/libtool -o
 Python.framework/Versions/3.0/Python -dynamic  libpython3.0.a \
                          -lSystem -lSystemStubs -arch_only i386
 -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Python
 -compatibility_version 3.0 -current_version 3.0 ;\
         fi
 /usr/bin/install -c -d -m 755  \
                 Python.framework/Versions/3.0/Resources/English.lproj
 /usr/bin/install -c -m 644 Mac/Resources/framework/Info.plist \
                 Python.framework/Versions/3.0/Resources/Info.plist
 ln -fsn 3.0 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 Python.framework/Versions/3.0/Python -o
 python \
                         Modules/python.o \
                          -ldl
 ld: warning: in Python.framework/Versions/3.0/Python, file is not of
 required architecture
 Undefined symbols:
   "_PyMem_Malloc", referenced from:
       _main in python.o
       _main in python.o
       _main in python.o
   "_Py_Main", referenced from:
       _main in python.o
       _main in python.o
   "_PyMem_Free", referenced from:
       _main in python.o
       _main in python.o
       _main in python.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [python] Error 1

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list