On Sun, Mar 30, 2014 at 06:41:17PM +0200, Rafael Sadowski wrote:
> 
> Hi @ports,
> 
> is gobject-introspection broken? System is up-to-date but the build
> fails.

Do you have the latest glib2 installed?


> Cheers, Rafael
> env 
> PATH=".libs:/usr/ports/pobj/gobject-introspection-1.40.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin"
>  LPATH=.libs CC="cc" PYTHONPATH=.:. UNINSTALLED_INTROSPECTION_SRCDIR=. 
> UNINSTALLED_INTROSPECTION_BUILDDIR=. ./g-ir-scanner  --verbose -I. 
> --add-include-path=. --add-include-path=./gir --add-include-path=. 
> --add-include-path=. --namespace=GLib --nsversion=2.0 
> --libtool="/usr/bin/libtool" --pkg=glib-2.0    --library=glib-2.0 
> --library=gobject-2.0 --external-library --reparse-validate 
> --identifier-prefix=G --symbol-prefix=g --symbol-prefix=glib 
> --c-include="glib.h"  --cflags-begin -I/usr/local/include/glib-2.0 
> -I/usr/local/lib/glib-2.0/include -DGETTEXT_PACKAGE=Dummy -DGLIB_COMPILATION 
> -D__G_I18N_LIB_H__ --cflags-end  /usr/local/lib/glib-2.0/include/glibconfig.h 
> /usr/local/include/glib-2.0/glib/gchecksum.h 
> /usr/local/include/glib-2.0/glib/gvarianttype.h 
> /usr/local/include/glib-2.0/glib/goption.h 
> /usr/local/include/glib-2.0/glib/gslice.h /!
 us!
>  r/local/include/glib-2.0/glib/gkeyfile.h 
> /usr/local/include/glib-2.0/glib/gunicode.h 
> /usr/local/include/glib-2.0/glib/gbitlock.h 
> /usr/local/include/glib-2.0/glib/gatomic.h 
> /usr/local/include/glib-2.0/glib/gstdio.h 
> /usr/local/include/glib-2.0/glib/gregex.h 
> /usr/local/include/glib-2.0/glib/gpattern.h 
> /usr/local/include/glib-2.0/glib/gconvert.h 
> /usr/local/include/glib-2.0/glib/gutils.h 
> /usr/local/include/glib-2.0/glib/gstrfuncs.h 
> /usr/local/include/glib-2.0/glib/gslist.h 
> /usr/local/include/glib-2.0/glib/gqsort.h 
> /usr/local/include/glib-2.0/glib/gmarkup.h 
> /usr/local/include/glib-2.0/glib/gbacktrace.h 
> /usr/local/include/glib-2.0/glib/gtimer.h 
> /usr/local/include/glib-2.0/glib/gdatetime.h 
> /usr/local/include/glib-2.0/glib/gbookmarkfile.h 
> /usr/local/include/glib-2.0/glib/gwin32.h 
> /usr/local/include/glib-2.0/glib/gtestutils.h 
> /usr/local/include/glib-2.0/glib/gpoll.h 
> /usr/local/include/glib-2.0/glib/gdate.h 
> /usr/local/include/glib-2.0/glib/gcharset.h /usr/local/include/glib-2.0/glib!
 /g!
>  messages.h /usr/local/include/glib-2.0/glib/glist.h 
> /usr/local/include/glib-2.0/glib/gtimezone.h 
> /usr/local/include/glib-2.0/glib/gi18n.h 
> /usr/local/include/glib-2.0/glib/gbytes.h 
> /usr/local/include/glib-2.0/glib/ghash.h 
> /usr/local/include/glib-2.0/glib/gmain.h 
> /usr/local/include/glib-2.0/glib/gquark.h 
> /usr/local/include/glib-2.0/glib/gthread.h 
> /usr/local/include/glib-2.0/glib/grand.h 
> /usr/local/include/glib-2.0/glib/gurifuncs.h 
> /usr/local/include/glib-2.0/glib/ghmac.h 
> /usr/local/include/glib-2.0/glib/ghostutils.h 
> /usr/local/include/glib-2.0/glib/gmacros.h 
> /usr/local/include/glib-2.0/glib/gdataset.h 
> /usr/local/include/glib-2.0/glib/gbase64.h 
> /usr/local/include/glib-2.0/glib/gscanner.h 
> /usr/local/include/glib-2.0/glib/gstring.h 
> /usr/local/include/glib-2.0/glib/gstringchunk.h 
> /usr/local/include/glib-2.0/glib/gprimes.h 
> /usr/local/include/glib-2.0/glib/ggettext.h 
> /usr/local/include/glib-2.0/glib/gsequence.h 
> /usr/local/include/glib-2.0/glib/gqueue.h /usr/local/include/glib-2.0!
 /glib/gi18n-lib.h /usr/local/include/glib-2.0/glib/gnode.h /usr/local/inc!
>  lude/glib-2.0/glib/gerror.h /usr/local/include/glib-2.0/glib/gtrashstack.h 
> /usr/local/include/glib-2.0/glib/gmappedfile.h 
> /usr/local/include/glib-2.0/glib/gtree.h 
> /usr/local/include/glib-2.0/glib/garray.h 
> /usr/local/include/glib-2.0/glib/gvariant.h 
> /usr/local/include/glib-2.0/glib/ghook.h 
> /usr/local/include/glib-2.0/glib/genviron.h 
> /usr/local/include/glib-2.0/glib/gversion.h 
> /usr/local/include/glib-2.0/glib/gprintf.h 
> /usr/local/include/glib-2.0/glib/giochannel.h 
> /usr/local/include/glib-2.0/glib/gshell.h 
> /usr/local/include/glib-2.0/glib/gversionmacros.h 
> /usr/local/include/glib-2.0/glib/gspawn.h 
> /usr/local/include/glib-2.0/glib/galloca.h 
> /usr/local/include/glib-2.0/glib/gthreadpool.h 
> /usr/local/include/glib-2.0/glib/gfileutils.h 
> /usr/local/include/glib-2.0/glib/gtypes.h 
> /usr/local/include/glib-2.0/glib/gdir.h 
> /usr/local/include/glib-2.0/glib/gasyncqueue.h 
> /usr/local/include/glib-2.0/glib/gmem.h 
> /usr/local/include/glib-2.0/gobject/glib-types.h gir/glib-2.0.c 
> /usr/local/inclu!
 de!
>  /glib-2.0/glib-unix.h g-ir-scanner g-ir-compiler --output GLib-2.0.gir
> g-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread 
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
> -I/usr/local/include -fno-strict-aliasing -Wsign-compare -Wcast-align 
> -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations 
> -Wchar-subscripts -Wall -O2 -pipe 
> -I/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0 
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
> -I/usr/local/include -c -o 
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0.o
>  
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0.c
> g-ir-scanner: link: /usr/bin/libtool --mode=link --tag=CC cc -o 
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0
>  -export-dynamic -fno-strict-aliasing -Wsign-compare -Wcast-align 
> -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations 
> -Wchar-subscripts -Wall -O2 -pipe 
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0.o
>  -L/usr/local/lib -Wl,-E -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 
> -lglib-2.0 -lintl -lglib-2.0 -lgobject-2.0
> libtool: link: cc -o 
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0
>  -pthread -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith 
> -Wnested-externs -Wmissing-prototypes -Wmissing-declarations 
> -Wchar-subscripts -Wall -O2 -pipe -Wl,-E -Wl,-E 
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0.o
>  
> -L/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs
>  -lgio-2.0 -lz -lffi -lgmodule-2.0 -lpcre -lintl -liconv -lglib-2.0 
> -lgobject-2.0 -Wl,-rpath-link,/usr/local/lib
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs/libglib-2.0.so.4000.0:
>  warning: vsprintf() is often misused, please use vsnprintf()
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs/libglib-2.0.so.4000.0:
>  warning: stpcpy() is dangerous GNU crap; don't use it
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs/libgio-2.0.so.4000.0:
>  warning: strcpy() is almost always misused, please use strlcpy()
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs/libgio-2.0.so.4000.0:
>  warning: strcat() is almost always misused, please use strlcat()
> /usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/.libs/libglib-2.0.so.4000.0:
>  warning: sprintf() is often misused, please use snprintf()
> 
> (process:7361): GLib-GObject-WARNING **: cannot register existing type 'gchar'
> **
> GLib-GObject:ERROR:gvaluetypes.c:457:_g_value_types_init: assertion failed: 
> (type == G_TYPE_CHAR)
> Command 
> '['/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/GLib-2.0',
>  
> '--introspect-dump=/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/functions.txt,/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0/tmp-introspectYz2rE5/dump.xml']'
>  returned non-zero exit status -6
> Makefile:3386: recipe for target 'GLib-2.0.gir' failed
> gmake[2]: *** [GLib-2.0.gir] Error 1
> gmake[2]: Leaving directory 
> '/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0'
> Makefile:2686: recipe for target 'all-recursive' failed
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> '/usr/ports/pobj/gobject-introspection-1.40.0/gobject-introspection-1.40.0'
> Makefile:1464: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2686 
> '/usr/ports/pobj/gobject-introspection-1.40.0/.build_done')
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1886 
> '/usr/ports/packages/amd64/all/gobject-introspection-1.40.0.tgz')
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2439 
> '_internal-package')
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1912 
> '/usr/ports/update/amd64/gobject-introspection-1.40.0')
> *** Error 2 in /usr/ports/devel/gobject-introspection 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'update')
> 

-- 
Antoine

Reply via email to