Date: Sun, 2 May 2010 13:02:21 +1000 From: "bfls" <bfls@netspace.net.au> To: freebsd-questions@freebsd.org Subject: Can't compile devel/gobject-introspection under 7.2 Message-ID: <19420.60221.924854.367574@gargle.gargle.HOWL>
next in thread | raw e-mail | index | archive | help
I'm trying to install deskutils/calibre but it is failing when it tries to compile gobject-introspection. I get the errors below and then it just hangs. I'm running 7.2-RELEASE-p7 with a GENERIC i386 kernel and I updated my ports tree yesterday (1 May). Given the version bump to png I took the belt-and-braces approach of then doing a pkg_delete -a and cleaning out my /usr/local/lib directory before adding back in all my ports one by one. It all went smoothly until I tried adding calibre. I've done a google search and found two other people who reported the same problem (one under 7.2 and the other with 8.0) but no workaround/fixes. Has anything else seen this? There is nothing in UPDATING. The must (please) be a solution because this port is used by pretty much anything gnome-related so it would be widely used. 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:146: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:146: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' /usr/include/machine/endian.h:153: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint16_t __X = (_x); __asm ("xchgb %h0, %b0" : "+q" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:153: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint16_t __X = (_x); __asm ("xchgb %h0, %b0" : "+q" (__X)); __X; }));' at ';' Any help greatly appreciated. Barbara -- bfls@netspace.net.au On a clear disk you can seek forever.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19420.60221.924854.367574>