Having trouble building devel/gobject-introspection under
Joe Marcus Clarke
marcus at marcuscom.com
Tue Dec 1 08:03:31 UTC 2009
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"
> <package name="glib-2.0"/>
> <c:include name="glib.h"/>
> <namespace name="GLib"
> 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.
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091201/c142be81/attachment.pgp
More information about the freebsd-ports