[MacPorts] #23784: py26-pil @1.1.7 (python, graphics) - Error: The following dependencies failed to build: python26

MacPorts noreply at macports.org
Fri Feb 19 14:23:06 PST 2010


#23784: py26-pil @1.1.7 (python, graphics) - Error: The following dependencies
failed to build: python26
-------------------------------+--------------------------------------------
 Reporter:  neridaj@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.2                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 I've seen other posts regarding snow leopard (10.6.2) and PIL install
 problems but none of the suggested fixes has worked for me. I tried
 installing from source using gcc-4.0 instead of 4.2, using: LDFLAGS="-arch
 ppc -arch i386 -arch x86_64" CFLAGS="-arch ppc -arch i386 -arch x86_64"
 python setup.py build
 , and using the +universal option - as I was getting lipo doesn't
 recognize arch. I'm out of ideas, here is the traceback:


 {{{
 Traceback (most recent call last):
   File "./../../Lib/plat-mac/bundlebuilder.py", line 40, in <module>
     from plistlib import Plist
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plistlib.py",
 line 61, in <module>
     import binascii
 ImportError:
 dlopen(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/binascii.so, 2): Symbol not found: _crc32
   Referenced from:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/binascii.so
   Expected in: flat namespace
  in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/binascii.so
 make[2]: *** [IDLE.app] Error 1
 make[1]: *** [install_IDLE] Error 2
 make: *** [frameworkinstallapps] Error 2
 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_python26/work/Python-2.6.4"
 && /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_python26/work/destroot
 " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.4"
 && /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_python26/work/destroot
 " returned error 2
     while executing
 "command_exec destroot"
     (procedure "portdestroot::destroot_main" line 2)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for python26):
 org.macports.activate org.macports.destroot org.macports.install
 Error: The following dependencies failed to build: python26
 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list