Opened 3 years ago

Last modified 3 years ago

#56513 new defect

gtk-doc @1.28_1 does not build on PPC Leopard, Mac OS X 10.5.8, because Python with UCS4 support is missing?

Reported by: ballapete (Peter Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: leopard Cc: devans@…
Port: gtk-doc


make[2]: Entering directory `/opt/local/var/macports/build/'
if ! test -d "bn_IN/"; then mkdir "bn_IN/"; fi
msgfmt -o "bn_IN/" "bn_IN/bn_IN.po"
if ! test -d "bn_IN/"; then mkdir "bn_IN/"; fi
if test -d "C"; then d="../"; else d="/opt/local/var/macports/build/"; fi; \
	mo="bn_IN/"; \
	if test -f "${mo}"; then mo="../${mo}"; else mo="/opt/local/var/macports/build/${mo}"; fi; \
	(cd "bn_IN/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml) && \
	touch "bn_IN/bn_IN.stamp"
Traceback (most recent call last):
  File "/opt/local/bin/itstool", line 25, in <module>
    import libxml2
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/", line 1, in <module>
    import libxml2mod
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/, 2): Symbol not found: _PyUnicodeUCS4_AsUTF8String
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
  Expected in: dynamic lookup

make[2]: *** [bn_IN/bn_IN.stamp] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/'

The installed Python varian is without UCS4 support:

  python27 @2.7.15_0 (active)

pete 237 /\ port select --summary
Name       Selected       Options
====       ========       =======
clang      mp-clang-3.4   mp-clang-3.3 mp-clang-3.4 none
cython     cython27       cython27 cython36 none
db         db48           none
gcc        apple-gcc42    apple-gcc42 gcc40 gcc42 llvm-gcc42 mp-gcc49 mp-gcc5 mp-gcc6 none
llvm       mp-llvm-3.4    mp-llvm-3.3 mp-llvm-3.4 none
nosetests  nosetests27    nosetests27 none
pygments   py36-pygments  py36-pygments none
python     python27       python25-apple python27 python36 none
python2    python27       python25-apple python27 none
python3    python36       python36 none

Attachments (1)

main.log (25.0 KB) - added by ballapete (Peter Dyballa) 3 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by ballapete (Peter Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Looks more like py27-libxml2 was built against a USC4 python?

comment:2 Changed 3 years ago by ballapete (Peter Dyballa)

After uninstalling and reinstalling a few related components I have now installed:

  libxml2 @2.9.7_0+readline (active) platform='darwin 9' archs='ppc' date='2017-11-03T19:53:20+0100'
  py-libxml2 @2.9.7_0 (active) platform='darwin 9' archs='noarch' date='2018-05-28T09:13:30+0200'
  py27-libxml2 @2.9.7_0 (active) platform='darwin 9' archs='ppc' date='2018-05-28T09:12:56+0200'
  py36-lxml @4.2.1_0 (active) platform='darwin 9' archs='ppc' date='2018-06-24T22:29:34+0200'
Note: See TracTickets for help on using tickets.