Opened 7 years ago

Closed 3 years ago

#54799 closed defect (fixed)

gtk-doc @1.26 does not build on PPC Leopard, Mac OS X 10.5.8, because "Symbol not found: _PyUnicodeUCS2_AsUTF8String"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: leopard Cc:
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.26/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.26/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.26/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: _PyUnicodeUCS2_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.26/help/manual'

This looks like #54640

Attachments (1)

main.log (26.5 KB) - added by ballapete (Peter "Pete" Dyballa) 7 years ago.

Download all attachments as: .zip

Change History (8)

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

Attachment: main.log added

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

Cc: devans@… removed
Owner: set to dbevans
Status: newassigned

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

Meanwhile gtk-doc @1.26_1 has built.

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Take over Dave's tickets for GTK and friends, now that he's formally dropped maintainership. Boo! ;-)

comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)

Peter, is this still an issue?

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

I think this is no issue now. Back then gtk-doc had to be built with some Python 2 version – and I had initially one variant installed that supported UCS4. This support did not get into many other packages and libraries so that ports using UCS4 failed to find the support for this feature in some shared library. Now gtk-doc uses some Python 3 versions with complete Unicode support. So it's gone – since two years?

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

gtk-doc @1.32_1+pdf+python38 is installed here recently.

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Beautiful, glad we can finally close this!

Note: See TracTickets for help on using tickets.