[MacPorts] #41200: poppler 0.24.3_0 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject-introspection/giscanner/_giscanner.so
MacPorts
noreply at macports.org
Tue Nov 5 04:11:09 PST 2013
#41200: poppler 0.24.3_0 does not build because of missing symbol
_PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject-
introspection/giscanner/_giscanner.so
-------------------------------------------------+-------------------------
Reporter: Peter_Dyballa@… | Owner: macports-
Type: defect | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Keywords: module, flat namespace, | Version: 2.2.1
introspection | Port: poppler
-------------------------------------------------+-------------------------
This is the error on Mac OS X 10.6.8:
{{{
/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/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
94, in <module>
from giscanner._giscanner import collect_attributes
ImportError: dlopen(/opt/local/lib/gobject-
introspection/giscanner/_giscanner.so, 2): Symbol not found:
_PyUnicodeUCS2_AsUTF8String
Referenced from: /opt/local/lib/gobject-
introspection/giscanner/_giscanner.so
Expected in: flat namespace
in /opt/local/lib/gobject-introspection/giscanner/_giscanner.so
make[4]: *** [Poppler-0.18.gir] Error 1
make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.3/glib'
}}}
It certainly is related to #41199
--
Ticket URL: <https://trac.macports.org/ticket/41200>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list