Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2011 15:05:36 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-ports@freebsd.org
Subject:   Problems building devel/gobject-introspection
Message-ID:  <20110826050535.GB64576@server.vk2pj.dyndns.org>

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

--GRPZ8SYKNexpdSJ7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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: inv=
alid start byte
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory `/tmp/usr/ports/devel/gobject-introspection/wor=
k/gobject-introspection-0.10.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/usr/ports/devel/gobject-introspection/wor=
k/gobject-introspection-0.10.8'
gmake: *** [all] Error 2
*** Error code 1
=20
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: inv=
alid 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?

--=20
Peter Jeremy

--GRPZ8SYKNexpdSJ7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk5XKZ8ACgkQ/opHv/APuIcMXACgsZa/XNZGyMh1SpC60Xm3DqtU
9w8AoJrkwHtuB7EVT3BskH0aOpXgeiOb
=27NG
-----END PGP SIGNATURE-----

--GRPZ8SYKNexpdSJ7--



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