#39144: poppler 0.22.4_0 does not build on Tiger PPC because of gobject- introspection ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: Port: poppler | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Last night Python was updated from 2.7.3 to version 2.7.5. Again without UCS4 support. So I did that manually this morning. Now the installation of poppler has an early warning: {{{ DEBUG: Skipping upgrade since gobject-introspection 1.36.0_1 >= gobject- introspection 1.36.0_1, even though installed variants "" do not match "+python_ucs4". DEBUG: epoch: in tree: 0 installed: 0 }}} and the build fails here: {{{ libtool: link: ranlib .libs/libpoppler-glib.a libtool: link: rm -fr .libs/libpoppler-glib.lax .libs/libpoppler-glib.lax libtool: link: ( cd ".libs" && rm -f "libpoppler-glib.la" && ln -s "../libpoppler-glib.la" "libpoppler-glib.la" ) /opt/local/bin/g-ir-scanner --add-include-path=. --warn-all --namespace=Poppler --nsversion=0.18 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=Gio-2.0 --include=cairo-1.0 --pkg-export =poppler-glib --library=libpoppler-glib.la --c-include poppler.h --cflags-begin -DG_LOG_DOMAIN=\"Poppler\" -I.. -I../poppler -D_REENTRANT -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng15 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I.. --cflags-end poppler-enums.c poppler-enums.h poppler-action.cc poppler-date.cc poppler- document.cc poppler-page.cc poppler-attachment.cc poppler-form-field.cc poppler-annot.cc poppler-layer.cc poppler-media.cc poppler-movie.cc poppler-cached-file-loader.cc poppler-cached-file-loader.h poppler-input- stream.cc poppler.cc poppler-action.h poppler-date.h poppler-document.h poppler-page.h poppler-attachment.h poppler-form-field.h poppler-annot.h poppler-layer.h poppler-media.h poppler-movie.h poppler.h poppler- features.h libpoppler-glib.la --output Poppler-0.18.gir Traceback (most recent call last): File "/opt/local/bin/g-ir-scanner", line 44, in <module> from giscanner.scannermain import scanner_main File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 34, in <module> from giscanner.dumper import compile_introspection_binary File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line 28, in <module> from .gdumpparser import IntrospectionBinary File "/opt/local/lib/gobject-introspection/giscanner/gdumpparser.py", line 31, in <module> from .transformer import TransformerException File "/opt/local/lib/gobject-introspection/giscanner/transformer.py", line 27, in <module> from .girparser import GIRParser File "/opt/local/lib/gobject-introspection/giscanner/girparser.py", line 26, in <module> from .girwriter import COMPATIBLE_GIR_VERSION File "/opt/local/lib/gobject-introspection/giscanner/girwriter.py", line 25, in <module> from .xmlwriter import XMLWriter File "/opt/local/lib/gobject-introspection/giscanner/xmlwriter.py", line 93, in <module> from giscanner._giscanner import collect_attributes ImportError: dlopen(/opt/local/lib/gobject- introspection/giscanner/_giscanner.so, 2): Symbol not found: _PyUnicodeUCS2_DecodeUTF8 Referenced from: /opt/local/lib/gobject- introspection/giscanner/_giscanner.so Expected in: dynamic lookup gmake[4]: *** [Poppler-0.18.gir] Error 1 gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_poppler/poppler/work/poppler-0.22.4/glib' gmake[3]: *** [all-recursive] Error 1 }}} I have installed {{{ python27 @2.7.5_0+ucs4 (active) python_select @0.3_2 (active) }}} and {{{ port variants gobject-introspection }}} tells me {{{ gobject-introspection has the variants: [+]python_ucs4: Build against Python with +ucs4 universal: Build for multiple architectures }}} so it seems that I have to rebuild and reinstall gobject-introspection at least (plus some more packages that depend on python, presumingly). -- Ticket URL: <https://trac.macports.org/ticket/39144#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X