[debian-mysql] Bug#855657: galera-3: FTBFS with SIGBUS on armhf w/ 64-bit kernel

Steve Langasek steve.langasek at canonical.com
Tue Feb 21 07:45:26 UTC 2017

On Mon, Feb 20, 2017 at 05:11:27PM -0800, Steve Langasek wrote:
> On Mon, Feb 20, 2017 at 04:57:53PM -0800, Steve Langasek wrote:
> > Package: galera-3
> > Version: 25.3.19-2
> > Severity: normal
> > Tags: patch
> > User: ubuntu-devel at lists.ubuntu.com
> > Usertags: origin-ubuntu zesty ubuntu-patch

> > The galera-3 package was failing to build from source on armhf in Ubuntu,
> > because the Ubuntu armhf autobuilders expose unaligned accesses as SIGBUS
> > and galera-3's code makes an unaligned access that gets caught by the test
> > suite.

> > Please find attached a fix for this portability bug.

> Well, this wasn't a very good fix; I overlooked that it was not
> endian-clean, and the package actually still fails to build on armhf with a
> different error.

> I will follow up soon with a complete patch.

Here is the fixed patch.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-unaligned-checksum.patch
Type: text/x-diff
Size: 2837 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20170220/56bb59ee/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20170220/56bb59ee/attachment.sig>

More information about the pkg-mysql-maint mailing list