[MacPorts] #53767: py27-cryptography @1.7.2_0 won't build on PPC Leopard, Mac OS X 10.5.8, because "Symbol not found: _PyUnicodeUCS2_AsASCIIString"

MacPorts noreply at macports.org
Fri Mar 10 22:59:04 UTC 2017


#53767: py27-cryptography @1.7.2_0 won't build on PPC Leopard, Mac OS X 10.5.8,
because "Symbol not found: _PyUnicodeUCS2_AsASCIIString"
-----------------------+-------------------------------
 Reporter:  ballapete  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.1
 Keywords:             |       Port:  py27-cryptography
-----------------------+-------------------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py27-cryptography/work/cryptography-1.7.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py27-cryptography/work/cryptography-1.7.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Traceback (most recent call last):
   File "setup.py", line 334, in <module>
     **keywords_with_side_effects(sys.argv)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
 line 111, in setup
     _setup_distribution = dist = klass(attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 320, in __init__
     _Distribution.__init__(self, attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 287, in __init__
     self.finalize_options()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 387, in finalize_options
     ep.load()(self, ep.name, value)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cffi/setuptools_ext.py", line 187, in cffi_modules
     add_cffi_module(dist, cffi_module)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
     execfile(build_file_name, mod_vars)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cffi/setuptools_ext.py", line 25, in execfile
     exec(code, glob, glob)
   File "src/_cffi_src/build_openssl.py", line 85, in <module>
     extra_link_args=extra_link_args(compiler_type()),
   File "src/_cffi_src/utils.py", line 61, in build_ffi_for_binding
     extra_link_args=extra_link_args,
   File "src/_cffi_src/utils.py", line 69, in build_ffi
     ffi = FFI()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cffi/api.py", line 56, in __init__
     import _cffi_backend as backend
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/_cffi_backend.so, 2): Symbol not found:
 _PyUnicodeUCS2_AsASCIIString
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/_cffi_backend.so
   Expected in: dynamic lookup

 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py27-cryptography/work/cryptography-1.7.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53767>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list