Bug 1092068 - epel7 galera fails to build on secondary arches
Summary: epel7 galera fails to build on secondary arches
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: galera
Version: epel7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
: 1269628 (view as bug list)
Depends On:
Blocks: FE-ExcludeArch-ppc64, F-ExcludeArch-ppc64 epel7s390x epel7ppc64le epel7aarch64
TreeView+ depends on / blocked
Reported: 2014-04-28 16:28 UTC by Ryan O'Hara
Modified: 2016-06-07 04:20 UTC (History)
8 users (show)

Fixed In Version: galera-25.3.12-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-06-07 04:20:12 UTC
Type: Bug

Attachments (Terms of Use)

Description Ryan O'Hara 2014-04-28 16:28:07 UTC
galera fails to build on ppc64 due to lack of support for ppc64 in chromium/build_config.h.

Comment 1 Ryan O'Hara 2014-04-28 17:26:11 UTC
Note that I attempted to patch this by adding the following to chromium/build_config.h:

#elif defined(__PPC64__)
#define ARCH_CPU_64_BITS 1

While this clears up the previous compiler warnings, two of the tests fail.

Running suite(s): CRC32C implementation
0%: Checks: 2, Failures: 2, Errors: 0
galerautils/tests/gu_crc32c_test.c:56:F:test:test_software:0: Input '123456789' resulted in 0x10065321, expected 0xe3069283
galerautils/tests/gu_crc32c_test.c:56:F:test:test_hardware:0: Input '123456789' resulted in 0x10065321, expected 0xe3069283

Need to investigate further.

Comment 2 Jakub Čajka 2014-05-21 10:37:38 UTC
This also affects fedora package.

I posted link to this ticket upstream.
Upstream bug tracker ticket https://bugs.launchpad.net/galera/+bug/1257803.

Comment 3 Yaakov Selkowitz 2015-12-09 18:48:03 UTC
This is fixed in 25.3.12, but some arches require an additional patch due to -march=native.  Fedora 25.3.12-2 builds successfully on aarch64, ppc64*, and s390*:


Please merge from master into epel7 and update.

Comment 4 Yaakov Selkowitz 2015-12-09 18:48:43 UTC
*** Bug 1269628 has been marked as a duplicate of this bug. ***

Comment 5 Yaakov Selkowitz 2016-04-28 01:55:10 UTC

Any objections to merging master into epel7 for the secondary arches?

Comment 6 Fedora Update System 2016-05-17 19:38:38 UTC
galera-25.3.12-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c1f0e4564e

Comment 7 Fedora Update System 2016-05-21 06:23:03 UTC
galera-25.3.12-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c1f0e4564e

Comment 8 Fedora Update System 2016-06-07 04:20:06 UTC
galera-25.3.12-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.