[Python-modules-team] Bug#861252: pygame: FTBFS on ppc64el: some color-handling tests fail

Aaron M. Ucko ucko at debian.org
Wed Apr 26 14:49:21 UTC 2017


Source: pygame
Version: 1.9.1release+dfsg-10+b2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

The ppc64el build of pygame failed:

  ======================================================================
  FAIL: test_save_colorkey (pygame.tests.image_test.ImageModuleTest)
  make sure the color key is not changed when saving.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<BUILDDIR>>/pygame-1.9.3+dfsg/.pybuild/pythonX.Y_2.7/build/pygame/tests/image_test.py", line 283, in test_save_colorkey
      self.assertEqual(p1, s2.get_at((0,0)))
  AssertionError: (23, 23, 23, 255) != (23, 23, 255, 23)
  
  ======================================================================
  FAIL: test_cross (pygame.tests.math_test.Vector2TypeTest)
  [as per #861249]
  
  ======================================================================
  FAIL: test_blanket_alpha (pygame.tests.surface_test.SurfaceSelfBlitTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<BUILDDIR>>/pygame-1.9.3+dfsg/.pybuild/pythonX.Y_2.7/build/pygame/tests/surface_test.py", line 2331, in test_blanket_alpha
      self._assert_same(surf, comp)
    File "/<<BUILDDIR>>/pygame-1.9.3+dfsg/.pybuild/pythonX.Y_2.7/build/pygame/tests/surface_test.py", line 2252, in _assert_same
      a.get_bitsize())))
  AssertionError: (255, 0, 0, 255) != (0, 255, 170, 255), bpp: 8
  
  ======================================================================
  FAIL: test_colorkey (pygame.tests.surface_test.SurfaceSelfBlitTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<BUILDDIR>>/pygame-1.9.3+dfsg/.pybuild/pythonX.Y_2.7/build/pygame/tests/surface_test.py", line 2311, in test_colorkey
      self._assert_same(surf, comp)
    File "/<<BUILDDIR>>/pygame-1.9.3+dfsg/.pybuild/pythonX.Y_2.7/build/pygame/tests/surface_test.py", line 2252, in _assert_same
      a.get_bitsize())))
  AssertionError: (255, 0, 0, 255) != (0, 255, 0, 255), bpp: 8

Could you please take a look?

Thanks!

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Python-modules-team mailing list