On 2/27/2012 3:13 AM, Justin Sherrill wrote:
On Sun, Feb 26, 2012 at 6:33 PM, Ryo ONODERA<ryo_on%yk.rim.or.jp@localhost> wrote:Hi, By the way, attached patch for devel/glib2 is acceptable? At least on my DragonFly/i386 box and NetBSD/i386 6.99.3 box, it works well.John passed me a copy of this patch, and devel/glib2 successfully built for me on DragonFly 3.1/x86_64 using it, on the same machine that had the error linked at the start of the thread.
Unfortunately devel/gobject-inspection breaks on the glib module after building glib2 using the patch. I am not sure if the error lies in glib2 or gobject-introspection which was also recently updated to a new version. JustinS said gobject-introspection built for him, but it's not clear if his machine was building the latest version.
Log excerpt =============================================== GICOMP gir/xft-2.0.gir GICOMP gir/xlib-2.0.gir GICOMP gir/xfixes-4.0.gir GICOMP gir/xrandr-1.3.gir GICOMP gir/cairo-1.0.gir GICOMP GLib-2.0.gir** ERROR **: Invalid typelib for module 'GLib': In directory (Context: HookList)): Pointer type exected for tag 15
gmake[2]: *** [GLib-2.0.typelib] Trace/BPT trap: 5 (core dumped)gmake[2]: Leaving directory `/usr/obj/psworkzone/devel/gobject-introspection/work/gobject-introspection-1.30.0'
gmake[1]: *** [all-recursive] Error 1gmake[1]: Leaving directory `/usr/obj/psworkzone/devel/gobject-introspection/work/gobject-introspection-1.30.0'
gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/devel/gobject-introspection *** Error code 1 =============================================== John