Make of devel/gobject-introspection prevented by devel/gamin

Gert Lynge gert at lynge.org
Tue Apr 27 14:48:39 UTC 2010


Hi list

This one has been annoing me for a while. I have not been able to  
google a solution, but it seems several people are having this  
problem, so I would like to share my findings.

Both on FreeBSD 7.2, 7.3 and 8.0 I have experienced problems making  
devel/gobject-introspection. It simply freezes after outputting:
---
libtool: link: (cd ".libs" && rm -f  
"libgirepository-everything-1.0.so" && ln -s  
"libgirepository-everything-1.0.so.1"  
"libgirepository-everything-1.0.so")
libtool: link: (cd ".libs" && rm -f  
"libgirepository-everything-1.0.so" && ln -s  
"libgirepository-everything-1.0.so.1"  
"libgirepository-everything-1.0.so")
libtool: link: ar cru .libs/libgirepository-everything-1.0.a   
libgirepository_everything_1_0_la-everything.o
libtool: link: ranlib .libs/libgirepository-everything-1.0.a
libtool: link: ( cd ".libs" && rm -f  
"libgirepository-everything-1.0.la" && ln -s  
"../libgirepository-everything-1.0.la"  
"libgirepository-everything-1.0.la" )
env LPATH=.libs  env PYTHONPATH=..:..:YTHONPATH  
UNINSTALLED_INTROSPECTION_SRCDIR=..  
UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v  
--add-include-path=../gir --add-include-path=. -v  
--add-include-path=../gir --add-include-path=. --namespace=GLib  
--nsversion=2.0 --libtool="/bin/sh /usr/local/bin/libtool"   
--library=glib-2.0 --pkg=glib-2.0  --noclosure --strip-prefix=g  
--c-include="glib.h" -I/usr/local/include  
-I/usr/local/include/glib-2.0 -DGETTEXT_PACKAGE=Dummy  
-D__G_I18N_LIB_H__ /usr/local/include/glib-2.0/glibconfig.h  
/usr/local/include/glib-2.0/glib/*.h ./glib-2.0.c --output GLib-2.0.gir
In file included from <stdin>:23:
/usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error  
"Only <glib.h> can be included directly."
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in '  
return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap  
%0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in '  
return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap  
%0" : "+r" (__X)); __X; }));' at ';'
---

Finaly I setup a cloned system in a Sun Virtual Box and made a script  
which removes my 250 ports one by one while trying to portupgrade  
devel/gobject-introspection. A separate script killed the process  
named "[GLib-2.0]" (which seems to be the process hanging the make) a  
couple of seconds after it was found.
The script was run on:
bsd# uname -a
FreeBSD bsd.xxxxxxx 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan   
5 16:02:27 UTC 2010      
root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

My findings is that if devel/gamin is installed, a make of  
devel/gobject-introspection will hang. If I deinstall devel/gamin  
first, I'm able to make devel/gobject-introspection without any  
problems. But as soon as I install devel/gamin again a make in  
devel/gobject-introspection will hang.

I hope this will help others having this problem.
Please let me know if anyone is interested in looking into fixing the  
problem and I can provide more info. (I've been using FreeBSD for  
several years but are not familiar with debugging or bug-reporting :-)).

Regards
     Gert Lynge

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the freebsd-ports mailing list