Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673972 - media-libs/glm-0.9.9.4: 80 - test-gtc_packing (Failed) on big endian
Summary: media-libs/glm-0.9.9.4: 80 - test-gtc_packing (Failed) on big endian
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL: https://github.com/g-truc/glm/pull/1001
Whiteboard:
Keywords: PATCH, TESTFAILURE
: 767868 (view as bug list)
Depends on:
Blocks: 670500 732332 763405
  Show dependency tree
 
Reported: 2018-12-29 12:26 UTC by ernsteiswuerfel
Modified: 2021-02-05 22:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (glm-0.9.9.3:20181229-120720.log,451.05 KB, text/plain)
2018-12-29 12:26 UTC, ernsteiswuerfel
Details
LastTest.log.xz (LastTest.log.xz,7.72 KB, application/x-xz)
2018-12-29 12:27 UTC, ernsteiswuerfel
Details
emerge --info (file_673972.txt,5.80 KB, text/plain)
2018-12-29 12:28 UTC, ernsteiswuerfel
Details
build.log (0.9.9.5, ppc64) (glm-0.9.9.5:20190426-175958.log,323.58 KB, text/plain)
2019-04-26 18:19 UTC, ernsteiswuerfel
Details
upstream patch (packing.diff,2.83 KB, text/plain)
2020-07-19 17:32 UTC, ernsteiswuerfel
Details
build.log (0.9.9.8 + patch, ppc) (glm-0.9.9.8:20200719-172430.log,170.62 KB, text/plain)
2020-07-19 17:33 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-12-29 12:26:55 UTC
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).
Comment 1 ernsteiswuerfel archtester 2018-12-29 12:27:54 UTC
Created attachment 558800 [details]
LastTest.log.xz
Comment 2 ernsteiswuerfel archtester 2018-12-29 12:28:43 UTC
Created attachment 558802 [details]
emerge --info
Comment 3 Tupone Alfredo gentoo-dev 2019-04-02 14:06:31 UTC
Could you please test the glm-0.9.9.4 and see if this bug still applies
Comment 4 ernsteiswuerfel archtester 2019-04-02 14:21:40 UTC
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):
Comment 5 ernsteiswuerfel archtester 2019-04-26 18:19:27 UTC
Created attachment 574284 [details]
build.log (0.9.9.5, ppc64)

Still around in 0.9.9.5.
Comment 6 ernsteiswuerfel archtester 2019-04-26 18:42:53 UTC
Took it upstream.
Comment 7 ernsteiswuerfel archtester 2020-07-19 17:28:53 UTC
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.
Comment 8 ernsteiswuerfel archtester 2020-07-19 17:32:47 UTC
Created attachment 649874 [details]
upstream patch

I'll attach the upstream patch for convenience.
Comment 9 ernsteiswuerfel archtester 2020-07-19 17:33:50 UTC
Created attachment 649876 [details]
build.log (0.9.9.8 + patch, ppc)
Comment 10 ernsteiswuerfel archtester 2020-10-26 21:22:52 UTC
media-libs/glm-0.9.9.8-r1 builds fine and passes tests on ppc.
Comment 11 ernsteiswuerfel archtester 2020-10-26 21:51:21 UTC
Reopening the bug 'cause the tests passing 'magically' only due to the patch still lying around in my /etc/portage/patches.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-03 12:55:31 UTC
*** Bug 767868 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2021-02-05 21:57:21 UTC
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(-)