Opened 8 years ago

Closed 7 years ago

#53604 closed defect (worksforme)

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

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: leopard powerpc Cc:
Port: py-cryptography

Description

I have installed

  python27 @2.7.13_0+ucs4 (active)
  libffi @3.2.1_0 (active)
  py27-cffi @1.9.1_0 (active)

but upgrade gives:

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

Do I need the python27 variant without ucs4 support while other packages want the ucs4 variant?

Attachments (1)

main.log (10.7 KB) - added by ballapete (Peter "Pete" Dyballa) 8 years ago.
main.log from PPC Leopard

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log from PPC Leopard

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: stromnov@… removed
Keywords: leopard powerpc added
Owner: set to stromnov
Port: py-cryptography added; 27-cryptography removed
Status: newassigned

comment:2 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

py27-cryptography @1.8.1_0 and @1.9_0 both built fine. So this ticket can be closed.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.