Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 00:11:34 -0800
From:      Paul Beard <paulbeard@gmail.com>
To:        Jeremy Messenger <mezz.freebsd@gmail.com>
Cc:        gnome@freebsd.org
Subject:   Re: telepathy-glib fails: bailing on /usr/include/machine/endian.h?
Message-ID:  <7DAE8155-BE55-489D-82EC-49F68541C93F@gmail.com>
In-Reply-To: <AANLkTin_kknvur-PmawoFP7Kddrx%2B1Oo_n9btBXTGNZp@mail.gmail.com>
References:  <423C51EA-8BB0-4C38-8B53-1047A211D352@gmail.com> <AANLkTin_kknvur-PmawoFP7Kddrx%2B1Oo_n9btBXTGNZp@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 22, 2010, at 9:52 AM, Jeremy Messenger wrote:

> You need to update your gobject-introspection as it was fixed over a
> year ago. Be sure to read in the /usr/ports/UPDATING before you try to
> update it alone.


In the process of rebuilding all things GNOME, this issue with =
/usr/include/machine/endian.h crops up other places, too.=20


Making all in polkitgtk
gmake[2]: Entering directory =
`/usr/ports/sysutils/polkit-gnome/work/polkit-gnome-0.99/polkitgtk'
  CC     libpolkit_gtk_1_la-polkitlockbutton.lo
  CCLD   libpolkit-gtk-1.la
  CC     example-example.o
  CCLD   example
/usr/local/bin/g-ir-scanner -v                                  \
                --namespace PolkitGtk                           \
                --strip-prefix=3DPolkit                           \
                --nsversion=3D1.0                                 \
                --include=3DGtk-2.0                               \
                --include=3DPolkit-1.0                            \
                --library=3Dpolkit-gtk-1                          \
                --output PolkitGtk-1.0.gir                               =
       \
                --pkg=3Dpolkit-gobject-1                          \
                --pkg=3Dgtk+-2.0                                  \
                --libtool=3D../libtool            \
                -I..                                    \
                -DPOLKIT_GTK_COMPILATION                        \
                ./polkitgtk.h                           \
                ./polkitgtktypes.h                      \
                ./polkitlockbutton.h                    \

g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' =
return (__extension__ ({ register __uint32_t __X =3D (_x); __asm ("bswap =
%0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' =
return (__extension__ ({ register __uint32_t __X =3D (_x); __asm ("bswap =
%0" : "+r" (__X)); __X; }));' at ';'


There is a note in UPDATING dated Jan 22. 2010 about policy kit. In all =
the portupgrade cycles I've run since then, as well as upgrading from =
7.2 to 8.0 and 8.1, this is only coming up now?=20

I got over the issue with telepathy-glib with pkg_add but it installed =
perl 5.10 which I replaced with 5.12 ages ago. Hope that doesn't hose =
things up.=20


--
Paul Beard

Are you trying to win an argument or solve a problem?=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DAE8155-BE55-489D-82EC-49F68541C93F>