Your message dated Fri, 26 Dec 2025 17:20:12 +0000
with message-id <[email protected]>
and subject line Bug#1123947: fixed in pygame 2.6.1-4
has caused the Debian Bug report #1123947,
regarding pygame: FTBFS with libsdl2-dev from src:sdl2-compat: unit test
failures involving RLE
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1123947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123947
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pygame
Version: 2.6.1-3
Severity: normal
Tags: ftbfs forky sid
User: [email protected]
Usertags: ftbfs
Forwarded: https://github.com/pygame/pygame/pull/4497
sdl2-compat is a reimplementation of the SDL 2 API using SDL 3.
It can be tested by installing the libsdl2-compat-shim and
libsdl2-compat-dev packages from testing/unstable, or by installing the
libsdl2-2.0-0 and libsdl2-dev packages built by src:sdl2-compat in
experimental.
After discussion with SDL upstream, I'm looking into what needs to
happen for Debian (and indirectly Ubuntu) to replace "classic" SDL2
(src:libsdl2) with sdl2-compat, following in the footsteps of other
distros like Arch and Fedora that have already done this transition.
pygame failed to build from source with libsdl2-dev provided by
src:sdl2-compat, with unit test failures related to RLE-encoded images
(log output with Python 3.14.x below, the same 8 failures are seen with
Python 3.13.x).
It is not yet clear to me whether this is an intentional behaviour
change in sdl2-compat combined with pygame being too strict in its
expectations, or whether this is an unintended regression in
sdl2-compat.
See also https://github.com/pygame/pygame/pull/4497 upstream.
smcv
-----------------------------------------------------------------------
======================================================================
FAIL: test_copy_rle (pygame.tests.surface_test.SurfaceTypeTest.test_copy_rle)
Test copying a surface set to use run length encoding
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 284, in test_copy_rle
self.assertTrue(s1.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_fill_rle (pygame.tests.surface_test.SurfaceTypeTest.test_fill_rle)
Test RLEACCEL flag with fill()
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 250, in test_fill_rle
self.assertTrue(blit_surf.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_mustlock_rle
(pygame.tests.surface_test.SurfaceTypeTest.test_mustlock_rle)
Test RLEACCEL flag with mustlock()
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 263, in test_mustlock_rle
self.assertTrue(blit_surf.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_mustlock_surf_alpha_rle
(pygame.tests.surface_test.SurfaceTypeTest.test_mustlock_surf_alpha_rle)
Test RLEACCEL flag with mustlock() on a surface
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 274, in test_mustlock_surf_alpha_rle
self.assertTrue(blit_surf.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_set_alpha__set_colorkey_rle
(pygame.tests.surface_test.SurfaceTypeTest.test_set_alpha__set_colorkey_rle)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 403, in test_set_alpha__set_colorkey_rle
self.assertAlmostEqual(sample_pixel_rle.r, sample_pixel_no_rle.r, delta=2)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 165 != 194 within 2 delta (29 difference)
======================================================================
FAIL: test_solarwolf_rle_usage
(pygame.tests.surface_test.SurfaceTypeTest.test_solarwolf_rle_usage)
Test for error/crash when calling set_colorkey() followed
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 342, in test_solarwolf_rle_usage
self.assertTrue(image.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_solarwolf_rle_usage_2
(pygame.tests.surface_test.SurfaceTypeTest.test_solarwolf_rle_usage_2)
Test for RLE status after setting alpha
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 363, in test_solarwolf_rle_usage_2
self.assertTrue(image.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
======================================================================
FAIL: test_subsurface_rle2
(pygame.tests.surface_test.SurfaceTypeTest.test_subsurface_rle2)
Ensure an RLE sub-surface works independently of its parent.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/reproducible-path/pygame-2.6.1/.pybuild/cpython3_3.14_pygame/build/pygame/tests/surface_test.py",
line 318, in test_subsurface_rle2
self.assertTrue(s1.get_flags() & pygame.RLEACCELOK)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 is not true
----------------------------------------------------------------------
Ran 130 tests in 1.768s
FAILED (failures=8, skipped=6)
--- End Message ---
--- Begin Message ---
Source: pygame
Source-Version: 2.6.1-4
Done: Simon McVittie <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pygame, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated pygame package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 26 Dec 2025 16:09:51 +0000
Source: pygame
Architecture: source
Version: 2.6.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1123947
Changes:
pygame (2.6.1-4) unstable; urgency=medium
.
* Team upload
* d/p/Use-SDL_HasSurfaceRLE-when-available.patch:
Add proposed patch from upstream MR 4497 fixing FTBFS with sdl2-compat.
Thanks to Marcin Serwin (Closes: #1123947)
Checksums-Sha1:
6c13dce1891e4ab98326ee3ed35a449d72586a25 2747 pygame_2.6.1-4.dsc
10da5a4e76358b53711e62bfaca42e48c4141bef 19492 pygame_2.6.1-4.debian.tar.xz
3ae1f77acbe709a939f62a8aadf69bb21bfde477 12503676 pygame_2.6.1-4.git.tar.xz
f2d1b182ad3796f134d598e7fda286257e68f302 17131 pygame_2.6.1-4_source.buildinfo
Checksums-Sha256:
ee1b06111a891e091f96d184cd1c87a09e73a639f3384eabe236420dc5d18766 2747
pygame_2.6.1-4.dsc
c4e4f9e80bbb825531326a0f879412596cf0ef10888a025811efaf027c78e8db 19492
pygame_2.6.1-4.debian.tar.xz
e0d7cf325627735097f37a4523701e9e34ad7f04cb6f3b0524fda48e06601fb0 12503676
pygame_2.6.1-4.git.tar.xz
4fbe4c45b76199f46c78b64f0eb349deb3ed516a39d3ca476e09b842451511ee 17131
pygame_2.6.1-4_source.buildinfo
Files:
75111b5effc969aa317f2f62146aa729 2747 python optional pygame_2.6.1-4.dsc
0fd57e1da8c30e978739127f8040e951 19492 python optional
pygame_2.6.1-4.debian.tar.xz
0891e2b9e2a8fc8eb0afe9350507dc29 12503676 python optional
pygame_2.6.1-4.git.tar.xz
f6e7c507ad3112d9155f48ccf8ec68c3 17131 python optional
pygame_2.6.1-4_source.buildinfo
Git-Tag-Info: tag=f5f1d32c6baeede196c319ff6da5f7c57cc070ae
fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmlOvvsACgkQYG0ITkaD
wHkcfhAAjWKLhPXHdem18WJEDj94+ygHGTiCqpHyfn0qnaM0kfDfOsCTRLAydKtm
FPY5XveFgEV3MJJ2sYYSbjxFglU1xyc52SOIYnb90cbXJXxl3Ky58canfvvNs9DK
CJZ8EW7h89JTK70EmFuNhTp0whPraqWHsw1SG8zXBEqEOa5/1MGsK2vX5KsvKTt8
O98cZrRyykn2bhnFhq30RuKdDF49v/FXrJY876x6xC1McYzT5gM68gffS1yLLBdO
i4hSqeUlgUQvLYaCzD7BdxSgogG/1xTBvv4LXoAzfHBzNe1anm2w1eeHo3NGSntN
NPkSMDoJKzIMrmC8WShHXfyjpA9uBUBRmVCu6Uqqggi37RaErgrd1MJIFklyWrbv
UHMUrNB3TvTZ/erXdrrk2fXyJl4mWGY0abhFY4UuSIWdJmzG95BteisZPB30w4xf
/yZFVhIuQYexShkikpqYEQuIqrDPn8MaqAkiAuHRpshGrJOasGMay+ELAUx/9peP
Kw1k8j3Eoch06vgC9vHd4idHvISi/a1RWMl6zfwUQalWWABfwtvYR76MrvnOR2wy
Ep/QBOI3uInsEaBDkwLVtgiaIaHsW4ZEey4tD05Dckpn+YyzEk9cPqEYflZ95LOR
Zp7MlLYCASBBUWfC+Omj9sUoIWsFc0EGSsnDJqpFM+yP5+8ZGiM=
=BTXF
-----END PGP SIGNATURE-----
pgpRmZf4TEeeA.pgp
Description: PGP signature
--- End Message ---