Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 18:38:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Having trouble building devel/gobject-introspection under 6.4-STABLE
Message-ID:  <1259624288.1239.15.camel@shumai.marcuscom.com>
In-Reply-To: <20091130231629.GG1245@albert.catwhisker.org>
References:  <20091130231629.GG1245@albert.catwhisker.org>

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

--=-oYEI6owWegHtnUQgxwes
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

On Mon, 2009-11-30 at 15:16 -0800, David Wolfskill wrote:
> Running:
>=20
> FreeBSD g1-112.catwhisker.org 6.4-STABLE FreeBSD 6.4-STABLE #704 r199797:=
 Wed Nov 25 04:58:59 PST 2009     root@g1-112.catwhisker.org:/common/S1/obj=
/usr/src/sys/CANARY  i386
>=20
> An attemmpt to use portmaster to update ports dies when portmaster
> tries to build devel/gobject-introspection; the attempt's last gasps are:
>=20
> ...
> gmake[2]: Leaving directory `/bkp/ports/devel/gobject-introspection/work/=
gobject-introspection-0.6.5/girepository'
> Making all in giscanner
> gmake[2]: Entering directory `/bkp/ports/devel/gobject-introspection/work=
/gobject-introspection-0.6.5/giscanner'
> gmake  all-am
> gmake[3]: Entering directory `/bkp/ports/devel/gobject-introspection/work=
/gobject-introspection-0.6.5/giscanner'
>   CC     libgiscanner_la-sourcescanner.lo
>   CC     libgiscanner_la-scannerlexer.lo
>   CC     libgiscanner_la-scannerparser.lo
>   CCLD   libgiscanner.la
>   CC     _giscanner_la-giscannermodule.lo
>   CCLD   _giscanner.la
> gmake[3]: Leaving directory `/bkp/ports/devel/gobject-introspection/work/=
gobject-introspection-0.6.5/giscanner'
> gmake[2]: Leaving directory `/bkp/ports/devel/gobject-introspection/work/=
gobject-introspection-0.6.5/giscanner'
> Making all in tools
> gmake[2]: Entering directory `/bkp/ports/devel/gobject-introspection/work=
/gobject-introspection-0.6.5/tools'
>   CC     g_ir_compiler-compiler.o
>   CCLD   g-ir-compiler
>   CC     g_ir_generate-generate.o
>   CCLD   g-ir-generate
> sed -e s,@libdir\@,/usr/local/lib, -e s,@PYTHON\@,/usr/local/bin/python2.=
6, g-ir-scanner.in > g-ir-scanner.tmp && mv g-ir-scanner.tmp g-ir-scanner
> chmod a+x g-ir-scanner
> gmake[2]: Leaving directory `/bkp/ports/devel/gobject-introspection/work/=
gobject-introspection-0.6.5/tools'
> Making all in gir
> gmake[2]: Entering directory `/bkp/ports/devel/gobject-introspection/work=
/gobject-introspection-0.6.5/gir'
>   CC     libgirepository_everything_1_0_la-everything.lo
>   CCLD   libgirepository-everything-1.0.la
>   GEN    GLib-2.0.gir
> /usr/include/machine/endian.h:146: syntax error, unexpected '{'
> /usr/include/machine/endian.h:146: syntax error, unexpected ';'
> /usr/include/machine/endian.h:153: syntax error, unexpected '{'
> /usr/include/machine/endian.h:153: syntax error, unexpected ';'
>   GEN    GLib-2.0.gir
> Traceback (most recent call last):
>   File "../tools/g-ir-scanner", line 38, in <module>
>     sys.exit(scanner_main(sys.argv))
>   File "/bkp/ports/devel/gobject-introspection/work/gobject-introspection=
-0.6.5/giscanner/scannermain.py", line 239, in scanner_main
>     return validate(options.xpath_assertions, args[1])
>   File "/bkp/ports/devel/gobject-introspection/work/gobject-introspection=
-0.6.5/giscanner/scannermain.py", line 182, in validate
>     xpath_assert(root, assertion)
>   File "/bkp/ports/devel/gobject-introspection/work/gobject-introspection=
-0.6.5/giscanner/minixpath.py", line 77, in xpath_assert
>     raise AssertionError("Failed to find %r" % (path, ))
> AssertionError: Failed to find "/namespace/alias[@name=3D'Quark']"

This is almost certainly a problem with your installed devel/glib20.
Try reinstalling this port, and make sure it is at the latest version.
The generated gir/GLib-2.0.gir should have a line:

    <alias name=3D"Quark" target=3D"uint32" c:type=3D"GQuark"/>

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-oYEI6owWegHtnUQgxwes
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEABECAAYFAksUV18ACgkQb2iPiv4Uz4diCwCfbCxtOeIMTaegNarxNsElzp1g
qsAAoKs0OVxMOxqyNSgy+uN0Y8szXUk+
=dJK3
-----END PGP SIGNATURE-----

--=-oYEI6owWegHtnUQgxwes--




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