From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 27 21:21:17 2010 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0468C106566C for ; Mon, 27 Dec 2010 21:21:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id DA6B88FC13 for ; Mon, 27 Dec 2010 21:21:16 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id oBRLLG18007479; Mon, 27 Dec 2010 13:21:16 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id oBRLLGpJ007478; Mon, 27 Dec 2010 13:21:16 -0800 (PST) (envelope-from sgk) Date: Mon, 27 Dec 2010 13:21:16 -0800 From: Steve Kargl To: Anonymous Message-ID: <20101227212116.GA95298@troutmask.apl.washington.edu> References: <20101227180047.GA50384@troutmask.apl.washington.edu> <86aajqx6ok.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86aajqx6ok.fsf@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-gnome@freebsd.org Subject: Re: gobject-introspection can't compile with endian.h X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 21:21:17 -0000 On Tue, Dec 28, 2010 at 12:11:07AM +0300, Anonymous wrote: > Steve Kargl writes: > > > On a keep new install of freebsd9, I run into > [...] > > GISCAN GLib-2.0.gir > > /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 ';' > > GISCAN GObject-2.0.gir > > This shouldn't stop build, see pointyhat log I have numeroud datapoints over the 24 hours that suggest the above statement is incorrect. > And it builds fine on my /head@r216728M, too. Try pkg_delete -a rm -rf /var/db/pkg/* /var/db/ports/* cd /usr/ports/ports-mgmts/portmaster make && make install portmaster x11-servers/xorg-server I'm willing to bet a beer (or beverage of your choice) that the build dies. > > failed to find symbol 'g_binding_flags_get_type' > > Try google suggestion, i.e. rebuild glib20 and remove stale .la files > in /usr/local/lib. I'm starting from a completely clean /usr/local. No ports have been installed. Needing to rebuild glib20 after it had only been built 20 minutes earlier seems to be an enormous kludge. -- Steve