Opened 6 years ago

Last modified 17 months ago

#55528 assigned defect

py27-cython @0.27.3 built on Mac OS X 10.5.8, Leopard, stops py27-cryptography, py27-pynacl, nghttp2 from building

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: leopard Cc: Schamschula (Marius Schamschula), jmroot (Joshua Root)
Port: py-cython, python26, python27, python32

Description

Making all in python
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_nghttp2/nghttp2/work/nghttp2-1.28.0/python'
/opt/local/bin/cython-2.7 -o nghttp2.c nghttp2.pyx
Traceback (most recent call last):
  File "/opt/local/bin/cython-2.7", line 11, in <module>
    load_entry_point('Cython==0.27.3', 'console_scripts', 'cython')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2769, in load_entry_point
    return ep.load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2422, in load
    return self.resolve()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2428, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 28, in <module>
    from .Scanning import PyrexScanner, FileSourceDescriptor
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Scanning.so, 2): Symbol not found: _PyUnicodeUCS2_FromObject
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Compiler/Scanning.so
  Expected in: dynamic lookup

make[2]: *** [nghttp2.c] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_nghttp2/nghttp2/work/nghttp2-1.28.0/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_nghttp2/nghttp2/work/nghttp2-1.28.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_nghttp2/nghttp2/work/nghttp2-1.28.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_www_nghttp2/nghttp2/work/nghttp2-1.28.0" && /usr/bin/make -w all 
Exit code: 2

See also #55524 and #55525.

Attachments (1)

main.log (118.3 KB) - added by ballapete (Peter "Pete" Dyballa) 6 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (7)

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

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

py27-cython is installed from py27-cython-0.27.3_0.darwin_9.ppc.tbz.

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

After building py27-cython from source the other ports could be upgraded.

comment:3 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Something similar is with the ports py-libxml2 and/or py27-libxml2. I had to rebuild them bothfrom source in order to be able to upgrade gtk-doc.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Cc: stromnov removed
Owner: set to stromnov
Port: py-cython added; py27-cython removed
Status: newassigned

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Schamschula jmroot added; mps@… removed
Port: python26 python27 python32 added

I assume you have installed the python27 port with the +ucs4 variant. Try installing python27 without that variant. After you do that, you'll have to rebuild again all the ports you previously rebuilt, because all python modules have to be built to match whether your python has ucs2 or ucs4. This has come up in several previous tickets over the years. I don't know why we offer the ucs4 variant since it causes this problem. We should remove this variant from python26, python27, and python32 and revbump them.

comment:6 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

Python 2.7 has gone, so this ticket can be closed.

Note: See TracTickets for help on using tickets.