Bug#900335: libsdl1.2: fix for pygame test failure on ppc64el

Gianfranco Costamagna locutusofborg at debian.org
Wed May 30 17:39:45 BST 2018


control: fixed -1 1.2.15+dfsg2-1
control: close -1

Hello Frederic

On Tue, 29 May 2018 11:29:32 +0200 =?UTF-8?B?RnLDqWTDqXJpYw==?= Bonnard <frediz at debian.org> wrote:
> Package: src:libsdl1.2
> Version: 1.2.15+dfsg2-0.1
> Severity: normal
> Tags: patch pending
> 
> Dear maintainer,
> 
> I see that pygame is failing during a test :
> https://buildd.debian.org/status/fetch.php?pkg=pygame&arch=ppc64el&ver=1.9.3%2Bdfsg2-2&stamp=1523449162&raw=0
> and after some investigation it seems to be the same issue that happened
> on Fedora :
> https://bugzilla.redhat.com/show_bug.cgi?id=1392465
> which is an issue in SDL actually.
> Could you drag the patch into Debian as well ?
> https://bugzilla.redhat.com/attachment.cgi?id=1322601
> 

this seems to make probably that test pass, but it fails somewhere after that point (looking at ubuntu build)

loading pygame.tests.sysfont_test
loading pygame.tests.threads_test
loading pygame.tests.time_test
loading pygame.tests.transform_test
..................................................................................................................................................................F.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_render_args (pygame.tests.font_test.FontTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/pygame-1.9.3+dfsg2/.pybuild/cpython2_2.7_pygame/build/pygame/tests/font_test.py", line 179, in test_render_args
    self.assertEqual(tuple(screen.get_at((0,0)))[:3], (255, 255, 255))
AssertionError: Tuples differ: (255, 255, 0) != (255, 255, 255)

First differing element 2:
0
255

- (255, 255, 0)
?            ^

+ (255, 255, 255)
?            ^^^


----------------------------------------------------------------------
Ran 666 tests in 18.723s

FAILED (failures=1)

E: pybuild pybuild:336: test: plugin custom failed with: exit code=1: /usr/bin/xvfb-run python2.7 -m pygame.tests.__main__ --exclude opengl

Also, s390x is sad...

Gianfranco



More information about the Pkg-sdl-maintainers mailing list