Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 20:20:13 -0700 (PDT)
From:      Mick Russom <mickrussom@yahoo.com>
To:        pbrath@gmx.de
Cc:        gnome@FreeBSD.org, freebsd-ports@freebsd.org, mexas@bristol.ac.uk, dhw@FreeBSD.org
Subject:   gamin causing failure in freebsd ports. [INFO] gobject-introspection-0.6.5: Segmentation fault: 11 (core dumped)
Message-ID:  <141032.32537.qm@web31402.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
[INFO] gobject-introspection-0.6.5: gmake[2]: ***=A0 Segmentation fault: 11=
 (core dumped)=0A=0Aand=0A=0A/usr/include/machine/endian.h:107: syntax erro=
r, unexpected '{' in '=A0=A0 return (__extension__ ({ register __uint32_t _=
_X =3D (_x); __asm ("bswap=A0=A0 %0" : "+r" (__X)); __X; }));' at '{' =0A=
=0Aand=0A=0Ahanging "glib-2.0", hanging g-ir-scanner, etc. =0A=0A=0ARemovin=
g GAMIN allows gobject-introspection to build. =0A=0AThis problem has been =
bothering me for some time and I filed a bug=A0but=A0my system was blamed a=
nd "tinderbox works for me" stuff. =0A=0ALots of people cant built gobject-=
introspection its easy to see on google.=0A=A0=0AAnyway, gamin is causing t=
his and things like g-ir-scanner to fail=A0on a number of systems and remov=
ing gamin allowed things to start working again. =0A=0A=A0=0Areference belo=
w. =0A=0Ahttp://groups.google.com/group/mailing.freebsd.ports/browse_thread=
/thread/7a82aab09d3c66ba/0216cfcffb65b81a?lnk=3Draot=0A=0ANewsgroups: maili=
ng.freebsd.ports=0AFrom: g...@lynge.org (Gert Lynge)=0ADate: Tue, 27 Apr 20=
10 16:29:37 +0200=0ALocal: Tues, Apr 27 2010 7:29=A0am =0ASubject: Make of =
devel/gobject-introspection prevented by devel/gamin=0AReply | Reply to aut=
hor | Forward | Print | Individual message | Show original | Report this me=
ssage | Find messages by this author =0AHi list =0A=0AThis one has been ann=
oing me for a while. I have not been able to =A0 =0Agoogle a solution, but =
it seems several people are having this =A0 =0Aproblem, so I would like to =
share my findings. =0A=0ABoth on FreeBSD 7.2, 7.3 and 8.0 I have experience=
d problems making =A0 =0Adevel/gobject-introspection. It simply freezes aft=
er outputting: =0A--- =0Alibtool: link: (cd ".libs" && rm -f =A0 =0A"libgir=
epository-everything-1.0.so" && ln -s =A0 =0A"libgirepository-everything-1.=
0.so.1" =A0 =0A"libgirepository-everything-1.0.so") =0Alibtool: link: (cd "=
.libs" && rm -f =A0 =0A"libgirepository-everything-1.0.so" && ln -s =A0 =0A=
"libgirepository-everything-1.0.so.1" =A0 =0A"libgirepository-everything-1.=
0.so") =0Alibtool: link: ar cru .libs/libgirepository-everything-1.0.a =A0 =
=0Alibgirepository_everything_1_0_la-everything.o =0Alibtool: link: ranlib =
.libs/libgirepository-everything-1.0.a =0Alibtool: link: ( cd ".libs" && rm=
 -f =A0 =0A"libgirepository-everything-1.0.la" && ln -s =A0 =0A"../libgirep=
ository-everything-1.0.la" =A0 =0A"libgirepository-everything-1.0.la" ) =0A=
env LPATH=3D.libs =A0env PYTHONPATH=3D..:..:YTHONPATH =A0 =0AUNINSTALLED_IN=
TROSPECTION_SRCDIR=3D.. =A0 =0AUNINSTALLED_INTROSPECTION_BUILDDIR=3D.. ../t=
ools/g-ir-scanner -v =A0 =0A--add-include-path=3D../gir --add-include-path=
=3D. -v =A0 =0A--add-include-path=3D../gir --add-include-path=3D. --namespa=
ce=3DGLib =A0 =0A--nsversion=3D2.0 --libtool=3D"/bin/sh /usr/local/bin/libt=
ool" =A0 =0A--library=3Dglib-2.0 --pkg=3Dglib-2.0 =A0--noclosure --strip-pr=
efix=3Dg =A0 =0A--c-include=3D"glib.h" -I/usr/local/include =A0 =0A-I/usr/l=
ocal/include/glib-2.0 -DGETTEXT_PACKAGE=3DDummy =A0 =0A-D__G_I18N_LIB_H__ /=
usr/local/include/glib-2.0/glibconfig.h =A0 =0A/usr/local/include/glib-2.0/=
glib/*.h ./glib-2.0.c --output GLib-2.0.gir =0AIn file included from <stdin=
>:23: =0A/usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error =
=A0 =0A"Only <glib.h> can be included directly." =0A/usr/include/machine/en=
dian.h:107: syntax error, unexpected '{' in ' =A0 =0Areturn (__extension__ =
({ register __uint32_t __X =3D (_x); __asm ("bswap =A0 =0A%0" : "+r" (__X))=
; __X; }));' at '{' =0A/usr/include/machine/endian.h:107: syntax error, une=
xpected ';' in ' =A0 =0Areturn (__extension__ ({ register __uint32_t __X =
=3D (_x); __asm ("bswap =A0 =0A%0" : "+r" (__X)); __X; }));' at ';' =0A--- =
=0A=0AFinaly I setup a cloned system in a Sun Virtual Box and made a script=
 =A0 =0Awhich removes my 250 ports one by one while trying to portupgrade =
=A0 =0Adevel/gobject-introspection. A separate script killed the process =
=A0 =0Anamed "[GLib-2.0]" (which seems to be the process hanging the make) =
a =A0 =0Acouple of seconds after it was found. =0AThe script was run on: =
=0Absd# uname -a =0AFreeBSD bsd.xxxxxxx 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-=
p2 #0: Tue Jan =A0 =0A5 16:02:27 UTC 2010 =A0 =A0 =A0 =0Ar...@i386-builder.=
daemonology.net:/usr/obj/usr/src/sys/GENERIC =A0i386 =0A=0AMy findings is t=
hat if devel/gamin is installed, a make of =A0 =0Adevel/gobject-introspecti=
on will hang. If I deinstall devel/gamin =A0 =0Afirst, I'm able to make dev=
el/gobject-introspection without any =A0 =0Aproblems. But as soon as I inst=
all devel/gamin again a make in =A0 =0Adevel/gobject-introspection will han=
g. =0A=0AI hope this will help others having this problem. =0APlease let me=
 know if anyone is interested in looking into fixing the =A0 =0Aproblem and=
 I can provide more info. (I've been using FreeBSD for =A0 =0Aseveral years=
 but are not familiar with debugging or bug-reporting :-)). =0A=0ARegards =
=0A=A0 =A0 =A0Gert Lynge =0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?141032.32537.qm>