Opened 6 years ago

Last modified 2 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 "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: leopard Cc: devans@…
Port: gtk-doc

Description

make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28/help/manual'
if ! test -d "bn_IN/"; then mkdir "bn_IN/"; fi
msgfmt -o "bn_IN/bn_IN.mo" "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/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28/help/manual/"; fi; \
	mo="bn_IN/bn_IN.mo"; \
	if test -f "${mo}"; then mo="../${mo}"; else mo="/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28/help/manual/${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/libxml2.py", line 1, in <module>
    import libxml2mod
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so, 2): Symbol not found: _PyUnicodeUCS4_AsUTF8String
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so
  Expected in: dynamic lookup

make[2]: *** [bn_IN/bn_IN.stamp] 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_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28/help/manual'
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_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28/help'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.28'

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 "Pete" Dyballa) 6 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (4)

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 jmroot (Joshua Root)

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

comment:2 Changed 6 years ago by ballapete (Peter "Pete" 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'

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

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

Note: See TracTickets for help on using tickets.