Opened 15 years ago
Closed 14 years ago
#23784 closed defect (worksforme)
python26: Symbol not found: _crc32
Reported by: | neridaj@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), blb@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | python26 |
Description
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.
Change History (3)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… blb@… mcalhoun@… added |
---|---|
Port: | python26 added |
Summary: | py26-pil @1.1.7 (python, graphics) - Error: The following dependencies failed to build: python26 → python26: Symbol not found: _crc32 |
comment:2 Changed 15 years ago by neridaj@…
Replying to neridaj@…:
I added the +universal flag to my variants.conf file as well as adding it when running port install. I removed all my ports per the migration notes as well.
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.
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't reproduce.
Sounds like the same error message as #18618. In that ticket, the user was trying to build python26 +universal without having installed its dependencies +universal. Is that the case here as well?
Alternately, did you perhaps build some of your ports before upgrading to Mac OS X 10.6? If so, see Migration.