From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 27 19:19:16 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 572D8106564A for ; Mon, 27 Dec 2010 19:19:16 +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 3282C8FC0C for ; Mon, 27 Dec 2010 19:19: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 oBRJJFlt050758; Mon, 27 Dec 2010 11:19:15 -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 oBRJJFuZ050757; Mon, 27 Dec 2010 11:19:15 -0800 (PST) (envelope-from sgk) Date: Mon, 27 Dec 2010 11:19:15 -0800 From: Steve Kargl To: Ivan Klymenko Message-ID: <20101227191915.GA50711@troutmask.apl.washington.edu> References: <20101227180047.GA50384@troutmask.apl.washington.edu> <20101227210430.3096973b@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101227210430.3096973b@ukr.net> 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 19:19:16 -0000 On Mon, Dec 27, 2010 at 09:04:30PM +0200, Ivan Klymenko wrote: > ?? Mon, 27 Dec 2010 10:00:47 -0800 > Steve Kargl ??????????: > > > On a keep new install of freebsd9, I run into s/keep/completely > > > > ===> Vulnerability check disabled, database not found > > ===> License check disabled, port has not defined LICENSE > > ===> Extracting for gobject-introspection-0.9.12 > > => No checksum file (/usr/ports/devel/gobject-introspection/distinfo). > > ===> Patching for gobject-introspection-0.9.12 > > ===> gobject-introspection-0.9.12 depends on package: libtool>=2.2 > >... > > - found ===> Applying FreeBSD patches for > > gobject-introspection-0.9.12 ===> gobject-introspection-0.9.12 > > CC g_ir_compiler-compiler.o CCLD g-ir-compiler CC > > g_ir_generate-generate.o CCLD g-ir-generate > > GEN g-ir-scanner > > GEN g-ir-annotation-tool > > gmake[2]: Leaving directory > > `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/tools' > > Making all in gir gmake[2]: Entering directory > > `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/gir' > > 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 > >... > > How does one fix this? > > > > I have a similar problem ... > And it applies not only to the port to which you have a problem ... > It seems that the problem appeared after updating the source code of > the system ... > Yep. A web search suggests that anything vaguely X11 related will eventually pull in a GNOME related component, which pulls in gobject-introspection. The search also suggests that this problem has been known for more than year except apparently no gnome developer sees the problem or knows how to fix it. -- Steve