From owner-freebsd-ports@FreeBSD.ORG Tue Dec 1 00:36:08 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B628106566B for ; Tue, 1 Dec 2009 00:36:07 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 129918FC17 for ; Tue, 1 Dec 2009 00:36:06 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id nB10a9jB034816; Mon, 30 Nov 2009 19:36:09 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kostik Belousov In-Reply-To: <20091130235618.GW2368@deviant.kiev.zoral.com.ua> References: <20091130231629.GG1245@albert.catwhisker.org> <1259624288.1239.15.camel@shumai.marcuscom.com> <20091130235618.GW2368@deviant.kiev.zoral.com.ua> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Qq8JOm5it267JXBXFA8P" Organization: MarcusCom, Inc. Date: Mon, 30 Nov 2009 19:36:05 -0500 Message-ID: <1259627765.1239.19.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-ports@freebsd.org, David Wolfskill Subject: Re: Having trouble building devel/gobject-introspection under 6.4-STABLE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 00:36:08 -0000 --=-Qq8JOm5it267JXBXFA8P Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Tue, 2009-12-01 at 01:56 +0200, Kostik Belousov wrote: > On Mon, Nov 30, 2009 at 06:38:08PM -0500, Joe Marcus Clarke wrote: > > 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 r199= 797: 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/w= ork/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/w= ork/gobject-introspection-0.6.5/giscanner' > > > gmake[2]: Leaving directory `/bkp/ports/devel/gobject-introspection/w= ork/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/pyth= on2.6, g-ir-scanner.in > g-ir-scanner.tmp && mv g-ir-scanner.tmp g-ir-scann= er > > > chmod a+x g-ir-scanner > > > gmake[2]: Leaving directory `/bkp/ports/devel/gobject-introspection/w= ork/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 > > > sys.exit(scanner_main(sys.argv)) > > > File "/bkp/ports/devel/gobject-introspection/work/gobject-introspec= tion-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-introspec= tion-0.6.5/giscanner/scannermain.py", line 182, in validate > > > xpath_assert(root, assertion) > > > File "/bkp/ports/devel/gobject-introspection/work/gobject-introspec= tion-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']" > >=20 > > 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: > >=20 > > > The line you mentioned is not present. >=20 > Forced rebuild of devel/glib2 did not helped. >=20 > Please note the following errors: >=20 > GEN GLib-2.0.gir > /usr/include/machine/endian.h:107: syntax error, unexpected '{' > /usr/include/machine/endian.h:107: syntax error, unexpected ';' > GEN GLib-2.0.gir These are not real errors. What about do you get for: pkg-config --variable=3Dincludedir glib-2.0 pkg-config --variable=3Dlibdir glib-2.0 And what files are in the directories pointed to by those values? If you set V=3D1 in your environment, then run make, what output do you get? Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Qq8JOm5it267JXBXFA8P 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) iEYEABECAAYFAksUZPMACgkQb2iPiv4Uz4fdXQCfRgBWIk4v3LI1ulOuPYswWJAi f6MAnAqU9NmCUytDEihMVqQD9opoNbp4 =Ga4d -----END PGP SIGNATURE----- --=-Qq8JOm5it267JXBXFA8P--