[MacPorts] #24420: cannot compile python27 +universal on 10.6.3

MacPorts noreply at macports.org
Fri Apr 9 09:50:38 PDT 2010


#24420: cannot compile python27 +universal on 10.6.3
---------------------------------------+------------------------------------
 Reporter:  asimmons@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.8.2                                
 Keywords:                             |        Port:  python27                             
---------------------------------------+------------------------------------
 {{{
 asimmons-mac:~ asimmons$ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.6.3
 BuildVersion:   10D573
 asimmons-mac:~ asimmons$ sudo port selfupdate
 --->  Updating the ports tree
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 1.8.2 installed,
 MacPorts base version 1.8.2 downloaded.
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 asimmons-mac:~ asimmons$ sudo port install python27 +universal
 --->  Computing dependencies for python27
 --->  Staging python27 into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7a4"
 && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make
 CC=/usr/bin/gcc-4.2"
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot
 " returned error 2
 Command output: ln -fs "../../../Python"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib"
 ln -fs "../Python"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
 cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree
 DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot"
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7a4:
 arch -i386 ../python.exe ./scripts/cachersrc.py -v
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-mac
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
 Decoding
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-mac/dialogs.rsrc to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-mac/dialogs.rsrc.df.rsrc
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7a4:
 ../python.exe -Wi -tt ./../Lib/compileall.py -d
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools -x
 badsyntax
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
 Listing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
 ...
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7a4:
 ../python.exe -O -Wi -tt ./../Lib/compileall.py -d
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools -x
 badsyntax
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
 Listing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
 ...
 cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installapps
 DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot"
 /usr/bin/install -c -m 644 ./Resources/app/./Info.plist
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/.
 /usr/bin/install -c -m 644 ./Resources/app/./Info.plist.in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/.
 /usr/bin/install -c -m 644 ./Resources/app/./PkgInfo
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/.
 /usr/bin/install -c -m 644 ./Resources/app/Resources/PythonApplet.icns
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/PythonInterpreter.icns
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources
 /usr/bin/install -c -s ../python.exe
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python"
 sed -e "s!%bundleid%!org.python.python!g" \
                 -e
 "s!%version%!`DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7a4:
 ../python.exe \
                 -c 'import platform; print(platform.python_version())'`!g"
 \
                 <
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Info.plist.in"
 \
                 >
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Info.plist"
 rm
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Info.plist.in"
 /usr/bin/install -c -s pythonw
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7"
 /usr/bin/install -c -s pythonw
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7"
 ln -sf python2.7
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python"
 ln -sf pythonw2.7
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw"
 lipo -extract ppc -extract i386 -output
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32
 pythonw
 lipo: -extract ppc specified but fat file: pythonw does not contain that
 architecture
 make[1]: *** [install_pythonw] Error 1
 make: *** [frameworkinstallapps] Error 2

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 asimmons-mac:~ asimmons$
 }}}

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


More information about the macports-tickets mailing list