Problems building devel/gobject-introspection

Peter Jeremy peterjeremy at acm.org
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
is:

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>
    sys.exit(scanner_main(sys.argv))
  File "./giscanner/scannermain.py", line 427, in scanner_main
    exported_packages, options.c_includes)
  File "./giscanner/girwriter.py", line 40, in __init__
    c_includes)
  File "./giscanner/girwriter.py", line 64, in _write_repository
    self._write_namespace(namespace, shlibs)
  File "./giscanner/girwriter.py", line 100, in _write_namespace
    self._write_node(node)
  File "./giscanner/girwriter.py", line 125, in _write_node
    self._write_constant(node)
  File "./giscanner/girwriter.py", line 350, in _write_constant
    with self.tagcontext('constant', attrs):
  File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "./giscanner/xmlwriter.py", line 165, in tagcontext
    self.push_tag(tag_name, attributes)
  File "./giscanner/xmlwriter.py", line 153, in push_tag
    self._open_tag(tag_name, attributes)
  File "./giscanner/xmlwriter.py", 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 : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110826/dd73d342/attachment.pgp


More information about the freebsd-ports mailing list