From owner-freebsd-questions@FreeBSD.ORG Sun May 2 03:14:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE234106566C for ; Sun, 2 May 2010 03:14:02 +0000 (UTC) (envelope-from bfls@netspace.net.au) Received: from smtp.netspace.net.au (mail-out3.netspace.net.au [203.10.110.76]) by mx1.freebsd.org (Postfix) with ESMTP id 80A4C8FC08 for ; Sun, 2 May 2010 03:14:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by localhost.netspace.net.au (Postfix) with ESMTP id 3DDE17BB28 for ; Sun, 2 May 2010 13:02:30 +1000 (EST) X-Virus-Scanned: by mail-out3.netpace.net.au Received: from smtp.netspace.net.au ([127.0.0.1]) by localhost (mail-out3.netpace.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tZT-ZCw158+u for ; Sun, 2 May 2010 13:02:25 +1000 (EST) Received: from artemisia (220-253-63-174.VIC.netspace.net.au [220.253.63.174]) by smtp.netspace.net.au (Postfix) with SMTP id 43A917BB1A for ; Sun, 2 May 2010 13:02:22 +1000 (EST) Received: by artemisia (sSMTP sendmail emulation); Sun, 02 May 2010 13:02:22 +1000 From: "bfls" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19420.60221.924854.367574@gargle.gargle.HOWL> Date: Sun, 2 May 2010 13:02:21 +1000 To: freebsd-questions@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 21) "Educational Television" XEmacs Lucid Subject: Can't compile devel/gobject-introspection under 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bfls@netspace.net.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 03:14:03 -0000 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 :23: /usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error "Only 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.