Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 21:01:43 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        gnome@freebsd.org
Cc:        roberthuff@rcn.com
Subject:   problem building gtk-3.0
Message-ID:  <21244.10119.460791.633615@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

Hello:
	On a system running

FreeBSD 10.0-CURRENT #0 r248938: Sun Mar 31 06:24:42 EDT 2013  amd64

	with python-2.7 installed, compiling gtk3-3.8.8 nproduces this:

  GEN      gtktypefuncs.c
  GEN      gtkbuiltincache.h
  GEN      gtkdbusgenerated.c
  GEN      gtkdbusgenerated.h
Traceback (most recent call last):
  File "/usr/local/bin/gdbus-codegen", line 39, in <module>
    from codegen import codegen_main
  File "/usr/local/share/glib-2.0/codegen/codegen_main.py", line 30, in <module>
    from . import parser
  File "/usr/local/share/glib-2.0/codegen/parser.py", line 25, in <module>
    import xml.parsers.expat
  File "/usr/local/lib/python2.7/site-packages/_xmlplus/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/local/lib/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: Undefined symbol "PyUnicodeUCS4_Decode"
gmake[2]: *** [gtkdbusgenerated.c] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/usr/local/bin/gdbus-codegen", line 39, in <module>
    from codegen import codegen_main
  File "/usr/local/share/glib-2.0/codegen/codegen_main.py", line 30, in <module>
    from . import parser
  File "/usr/local/share/glib-2.0/codegen/parser.py", line 25, in <module>
    import xml.parsers.expat
  File "/usr/local/lib/python2.7/site-packages/_xmlplus/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/local/lib/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: Undefined symbol "PyUnicodeUCS4_Decode"
gmake[2]: *** [gtkdbusgenerated.h] Error 1
gmake[2]: Leaving directory `/data/port-work/usr/ports/x11-toolkits/gtk30/work/gtk+-3.8.8/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data/port-work/usr/ports/x11-toolkits/gtk30/work/gtk+-3.8.8'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

	(With or without MAKE_JOBS_UNSAFE has no effect.)
	I'm not an expert with gtk or python; any idea what's wrong and
what I need to do to fix it?

	Respectfully,


				Robert Huff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21244.10119.460791.633615>