gobject-introspection can't compile with endian.h

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Dec 27 21:21:17 UTC 2010


On Tue, Dec 28, 2010 at 12:11:07AM +0300, Anonymous wrote:
> Steve Kargl <sgk at troutmask.apl.washington.edu> 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 at 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


More information about the freebsd-gnome mailing list