From: Dima Panov on 30 Nov 2009 20:42 On Tuesday 01 December 2009 10:36:05 Joe Marcus Clarke wrote: > 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: > > > > > > > > FreeBSD g1-112.catwhisker.org 6.4-STABLE FreeBSD 6.4-STABLE #704 > > > > r199797: Wed Nov 25 04:58:59 PST 2009 > > > > root(a)g1-112.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 > > > > > > > > An attemmpt to use portmaster to update ports dies when portmaster > > > > tries to build devel/gobject-introspection; the attempt's last gasps > > > > are: > > > > > > > > ... > > > > 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='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="Quark" target="uint32" c:type="GQuark"/> > > > > The line you mentioned is not present. > > > > Forced rebuild of devel/glib2 did not helped. > > > > Please note the following errors: > > > > 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=includedir glib-2.0 > pkg-config --variable=libdir glib-2.0 > > And what files are in the directories pointed to by those values? If > you set V=1 in your environment, then run make, what output do you get? > > Joe > Same messsages about error syntax, with V=1 nothing changed # pkg-config --variable=includedir glib-2.0 /usr/local/include # pkg-config --variable=libdir glib-2.0 /usr/local/lib # pkg-config glib-2.0 --cflags -I/usr/local/include/glib-2.0 - I/usr/local/lib/glib-2.0/include # pkg-config glib-2.0 --libs -L/usr/local/lib -lglib-2.0 gstreamer also shows same erros with endian.h -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE(a)FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
From: Joe Marcus Clarke on 1 Dec 2009 03:03 On Mon, 2009-11-30 at 16:06 -0800, David Wolfskill wrote: > On Mon, Nov 30, 2009 at 06:38:08PM -0500, Joe Marcus Clarke wrote: > > ... > > 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="Quark" target="uint32" c:type="GQuark"/> > > Thanks, but as Kostik Belousov responded, a forced rebuild/install (via > "portmaster devel/glib20"), followed by another attempt to update all > installed ports via portmaster, failed in the same way. > > And as Kostik pointed out, there is no line with "Quark" in it in the > generated file; it appears that generation of the file is failing. > > Indeed; here's a cut/paste of the file: > > <?xml version="1.0"?> > <!-- This file was automatically generated from C sources - DO NOT EDIT! > To affect the contents of this file, edit the original C definitions, > and/or use gtk-doc annotations. --> > <repository version="1.0" > xmlns="http://www.gtk.org/introspection/core/1.0" > xmlns:c="http://www.gtk.org/introspection/c/1.0" > xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> > <package name="glib-2.0"/> > <c:include name="glib.h"/> > <namespace name="GLib" > version="2.0" > shared-library="libglib-2.0.so.0" > c:prefix="g"> > </namespace> > </repository> > > > I also checked for any other files named "GLib-2.0.gir" in /usr/ports/ > or /usr/local/; "find" found none. > > I appreciate the help, and don't envy your position -- if that's of any > consolation. :-} I fixed it. I found that your /usr/local was a symlink, and this was tripping up g-ir-scanner. Fortunately, a patch was committed to GNOME git to fix this, so I merged the patch into the port. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc
From: David Wolfskill on 1 Dec 2009 07:26 On Tue, Dec 01, 2009 at 03:03:29AM -0500, Joe Marcus Clarke wrote: > ... > I fixed it. I found that your /usr/local was a symlink, Ah.... > and this was tripping up g-ir-scanner. Fortunately, a patch was > committed to GNOME git to fix this, so I merged the patch into the > port. Excellent; thanks! I'll see how this morning's upgrades go.... :-} Peace, david -- David H. Wolfskill david(a)catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
From: Kostik Belousov on 1 Dec 2009 08:00 On Tue, Dec 01, 2009 at 04:26:20AM -0800, David Wolfskill wrote: > On Tue, Dec 01, 2009 at 03:03:29AM -0500, Joe Marcus Clarke wrote: > > ... > > I fixed it. I found that your /usr/local was a symlink, > > Ah.... > > > and this was tripping up g-ir-scanner. Fortunately, a patch was > > committed to GNOME git to fix this, so I merged the patch into the > > port. > > Excellent; thanks! I'll see how this morning's upgrades go.... :-} Fixed for me. Thanks !
From: David Wolfskill on 1 Dec 2009 08:14 On Tue, Dec 01, 2009 at 03:03:29AM -0500, Joe Marcus Clarke wrote: > ... > I fixed it. I found that your /usr/local was a symlink, and this was > tripping up g-ir-scanner. Fortunately, a patch was committed to GNOME > git to fix this, so I merged the patch into the port. OK; I was finally able to build devel/gobject-introspection this morning, so I think my laptop will be fairly busy updating the ports that depend on it for a while.... :-} Thanks again for your help. Peace, david -- David H. Wolfskill david(a)catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
First
|
Prev
|
Pages: 1 2 Prev: xlib: extension "MIT-SHM" missing on display ":0.0 Next: FreeBSD Port: junkbuster-2.0.2_7 |