[debian-mysql] Bug#906305: galera-3: FTBFS on hurd-i386

Svante Signell svante.signell at gmail.com
Thu Aug 16 20:59:39 BST 2018


Source: galera-3
Version: 25.3.23-1
Severity: important
Tags: ftbfs, patch
User: debian-hurd at lists.debian.org
Usertags: hurd-i386

Hello,

Currently galera-3 FTBFS on GNU/Hurd due to that some functions are not
yet available: posix_fadvise, msync and pthread_setschedparam.
Attached are three patches to fix this:
galerautils_src_gu_mmap.cpp.diff
galerautils_src_gu_thread.cpp.diff
gcache_src_gcache_page.cpp.diff

Additionally one test fails due to a too short timeout:
galera_tests_saved_state_check.cpp.diff

and finally a comparison in a test corrected:
gcs_src_unit_tests_gcs_sm_test.cpp.diff
The reasoning behind that patch is:
Original source: fail_if (tmp <= paused_ns); paused_ns = tmp;
If tmp equals paused_ns the test fails, so why set paused_ns = tmp?
Therefore the equals sign should be removed:
fail_if (tmp < paused_ns); paused_ns = tmp;
as the patch does.

Together with the patch galerautils_src_gu_resolver.cpp.diff for
Hurd+kfreeBSD #906081 galera-3 builds fine.


Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: galerautils_src_gu_mmap.cpp.diff
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180816/2998556e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: galerautils_src_gu_thread.cpp.diff
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180816/2998556e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcache_src_gcache_page.cpp.diff
Type: text/x-patch
Size: 394 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180816/2998556e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: galera_tests_saved_state_check.cpp.diff
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180816/2998556e/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcs_src_unit_tests_gcs_sm_test.cpp.diff
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180816/2998556e/attachment-0004.bin>


More information about the pkg-mysql-maint mailing list