Problems building devel/gobject-introspection

Peter Jeremy peterjeremy at
Fri Aug 26 05:05:39 UTC 2011

I am having problems building devel/gobject-introspection on one
9.0-BETA1 host.  I can build it without problems on 8.2 and another
9.0-BETA1 box.  In all cases, I'm using gcc and amd64.  The failure

GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see them)
Traceback (most recent call last):
  File "./g-ir-scanner", line 43, in <module>
  File "./giscanner/", line 427, in scanner_main
    exported_packages, options.c_includes)
  File "./giscanner/", line 40, in __init__
  File "./giscanner/", line 64, in _write_repository
    self._write_namespace(namespace, shlibs)
  File "./giscanner/", line 100, in _write_namespace
  File "./giscanner/", line 125, in _write_node
  File "./giscanner/", line 350, in _write_constant
    with self.tagcontext('constant', attrs):
  File "/usr/local/lib/python2.7/", line 17, in __enter__
  File "./giscanner/", line 165, in tagcontext
    self.push_tag(tag_name, attributes)
  File "./giscanner/", line 153, in push_tag
    self._open_tag(tag_name, attributes)
  File "./giscanner/", line 97, in _open_tag
    len(tag_name) + 2)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x93 in position 39: invalid start byte
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory `/tmp/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/devel/gobject-introspection.

Note that if I go to the work directory and run gmake, the error
changes to:
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 74: invalid start byte

Since this only happens on one box, it's presumably something I've done
but I'm not sure what.  Google hasn't helped.  Does anyone have any
ideas on where to start looking?

Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list