Bug 1392887
| Summary: | pygame image tests (colorkey tests) fails on ppc64le | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hans de Goede <hdegoede> |
| Component: | pygame | Assignee: | Jan Kaluža <jkaluza> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | dan, gwync, jkaluza, jskarvad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-08 12:29:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1071880 | ||
*** This bug has been marked as a duplicate of bug 1392465 *** |
When trying to build pygame on ppc64le the %check section fails: FAIL: make sure the color key is not changed when saving. ---------------------------------------------------------------------- Traceback (most recent call last): File "test/image_test.py", line 284, in test_save_colorkey self.assertEqual(p1, s2.get_at((0,0))) AssertionError: (23, 23, 23, 255) != (23, 23, 255, 23) ---------------------------------------------------------------------- Although only the last 2 bytes of the 32 bit are swapped, which is weird. To make sure this really is an endian-ness issue I've also started a scratchbuild for just ppc64 and that did complete successfully. Looking at pygame itself, there seems to be no ppc specific code in there, all endian specific bits are done based on SDL_BYTEORDER which does get set correctly on ppc64le. Looking at SDL there also is not a whole lot of ppc specific code (I've grepped for both ppc and powerpc) and certainly nothing which would explain this.