[MacPorts] #41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject-introspection/giscanner/_giscanner.so
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: module, flat namespace | Port: gconf ------------------------------------+-------------------------------- During the build process on Mac OS X 10.6.8 this happens: {{{ /bin/sh ../libtool --tag=CC --mode=link /usr/bin/llvm-gcc-4.2 -arch x86_64 -pipe -Os -arch x86_64 -Wall -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o gconf-sanity-check-2 gconf-sanity-check.o libgconf-2.la -lintl -L/opt/local/lib -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lxml2 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[3]: *** [GConf-2.0.gir] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/41199> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: module, flat namespace => -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Comment (by ryandesign@…): Same as several other tickets. I suspect you have your python installed with the ucs4 variant. -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:2 ryandesign@…]:
Same as several other tickets. I suspect you have your python installed with the ucs4 variant.
That's right! I'll try to install the "plain" version of Python… -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:2 ryandesign@…]:
Same as several other tickets. I suspect you have your python installed with the ucs4 variant.
Gconf builds indeed with the "plain" Python package! So this one is solved. -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:2 ryandesign@…]:
Same as several other tickets. I suspect you have your python installed with the ucs4 variant.
I am just upgrading gconf to version 2.32.4_3 on Mac OS X 10.5.8 – port is reporting: {{{ DEBUG: Changing to port directory: /opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/gnome /gobject-introspection DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc DEBUG: python27 is installed with the following variants: DEBUG: required: ucs4, forbidden: DEBUG: rejected, because required variant ucs4 is missing DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: No need to upgrade! gobject-introspection 1.38.0_1 >= gobject- introspection 1.38.0_1 DEBUG: epoch: in tree: 0 installed: 0 }}} Doesn't this mean that python27 is not sufficient to build gconf here and I need to install python27 +ucs4? -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41199: gconf @2.32.4_3 does not build because of missing symbol _PyUnicodeUCS2_AsUTF8String in/opt/local/lib/gobject- introspection/giscanner/_giscanner.so ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gconf | ------------------------------+-------------------------------- Comment (by ryandesign@…): You have selected the python_ucs4 variant of gobject-introspection, which requires the ucs4 variant of python27. But the ucs4 variant of python27 causes the problems described in this and other tickets. So I recommend you do not use the ucs4 variant of python27 not the python_ucs4 variant of gobject-introspection. -- Ticket URL: <https://trac.macports.org/ticket/41199#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts