Problem with pkgconf and glib.

Christopher Hilton chris at
Mon Jul 30 17:32:45 UTC 2012

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:

> On 07/30/2012 19:46, Bas Smeelen wrote:
>> On 07/30/12 18:21, Michael Powell wrote:
>>> Jeff Tipton wrote:
>>>> On 07/30/2012 17:19, Christopher Hilton wrote:


> Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at devel/gobject-introspection with the following:
> GISCAN GLib-2.0.gir
> g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see them)
>  GISCAN GObject-2.0.gir
> g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see them)
>  GISCAN GModule-2.0.gir
> g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see them)
> gmake[2]: *** No rule to make target `/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', needed by `Gio-2.0.gir'.  Stop.
> gmake[2]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake: *** [all] Error 2
> *** Error code 1
> I don't know what to do with this, I'm already considering ports downgrade.

I traced through the Makefiles in devel/gobject-introspection. They are relying on pkg-config, devel/pkgconf in the newer code, to provide the location. That's how you end up with:


Which clearly shouldn't be there as a path. I added the line:


to my ports supconfig and then did 

     csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config and removed pkgconf. It probably reverted some other stuff too but I can wait a week for this thing to play out.

-- Chris

More information about the freebsd-questions mailing list