telepathy-glib fails: bailing on /usr/include/machine/endian.h?

Paul Beard paulbeard at gmail.com
Thu Dec 23 08:11:41 UTC 2010


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. 


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=Polkit                           \
                --nsversion=1.0                                 \
                --include=Gtk-2.0                               \
                --include=Polkit-1.0                            \
                --library=polkit-gtk-1                          \
                --output PolkitGtk-1.0.gir                                      \
                --pkg=polkit-gobject-1                          \
                --pkg=gtk+-2.0                                  \
                --libtool=../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 = (_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 ';'


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? 

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. 


--
Paul Beard

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



More information about the freebsd-gnome mailing list