Created attachment 558798 [details] build.log [...] 99% tests passed, 1 tests failed out of 152 Total Test time (real) = 5.82 sec The following tests FAILED: 79 - test-gtc_packing (Failed) Errors while running CTest Fails on ppc too (see bug #670500).
Created attachment 558800 [details] LastTest.log.xz
Created attachment 558802 [details] emerge --info
Could you please test the glm-0.9.9.4 and see if this bug still applies
Yes, the test failure is still around in glm-0.9.9.4. [...] 80/153 Test #80: test-gtc_packing .......................***Failed 0.07 sec [...] 99% tests passed, 1 tests failed out of 153 Total Test time (real) = 5.22 sec The following tests FAILED: 80 - test-gtc_packing (Failed) Errors while running CTest * ERROR: media-libs/glm-0.9.9.4::gentoo failed (test phase):
Created attachment 574284 [details] build.log (0.9.9.5, ppc64) Still around in 0.9.9.5.
Took it upstream.
The patch from https://github.com/g-truc/glm/pull/1001 makes the tests pass on ppc. Though the patch is not applied upstream as "endian.h" is Linux-only.
Created attachment 649874 [details] upstream patch I'll attach the upstream patch for convenience.
Created attachment 649876 [details] build.log (0.9.9.8 + patch, ppc)
media-libs/glm-0.9.9.8-r1 builds fine and passes tests on ppc.
Reopening the bug 'cause the tests passing 'magically' only due to the patch still lying around in my /etc/portage/patches.
*** Bug 767868 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74dcd154317d93fc07455b0f03bb442d592ca35 commit c74dcd154317d93fc07455b0f03bb442d592ca35 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-05 21:57:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-05 21:57:16 +0000 media-libs/glm: fix tests on big endian arches Closes: https://bugs.gentoo.org/673972 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> .../glm/files/glm-0.9.9.8-big-endian-tests.patch | 186 +++++++++++++++++++++ media-libs/glm/glm-0.9.9.8-r1.ebuild | 3 +- 2 files changed, 187 insertions(+), 2 deletions(-)