[Bug 1214352] Re: GUINT32/64_SWAP_LE_BE macros do not enclose val argument in parentheses

Andreas Heinlein 1214352 at bugs.launchpad.net
Wed May 14 13:44:13 UTC 2014


I can finally confirm that the patch from gnome bug 695925 above
actually fixes the problem with Ubuntu 12.04.4 and LO 4.2.4 from the
PPA. I have applied the patch to the glib source package and rebuilt and
installed it, and then rebuilt libreoffice, gtk+3.0, dbus-glib and gvfs
against the patched glib.

This now finally seems to work.

Unfortunately, this whole rebuilding is a PITA and takes a long time,
especially for libreoffice. I'm not sure if everything is needed, but
anyway I have a bad feeling with this. Now there are still lots of
packages on my system which were built against the unpatched glib, so I
really think this needs to be fixed in Ubuntu 12.04 with *ALL* packages
which depend on glib being rebuilt against a patched version.

How can we achieve this?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1214352

Title:
  GUINT32/64_SWAP_LE_BE macros do not enclose val argument in
  parentheses

Status in LibreOffice Productivity Suite:
  Confirmed
Status in The "G" Library - GLib:
  Fix Released
Status in “glib2.0” package in Ubuntu:
  Confirmed

Bug description:
  On 12.04 LTS precise GUINT32/64_SWAP_LE_BE macros do not enclose val argument in parentheses, causing trouble down the stack in gvfs and LibreOffice (and possibly in lots of obscure bugs elsewhere).
  There is a patch available, but as this touches the header, it needs a full recompile of rdepends.
  see: https://lists.fedoraproject.org/pipermail/devel/2013-March/180302.html ff. for details

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1214352/+subscriptions



More information about the foundations-bugs mailing list