Bug#1127025: libsdl-perl: autopkgtest regression with sdl12-compat 1.2.74
Simon McVittie
smcv at debian.org
Thu Feb 5 10:56:45 GMT 2026
Source: libsdl-perl,sdl12-compat
Control: found -1 libsdl-perl/2.548-6
Control: found -1 sdl12-compat/1.2.74-1
Severity: serious
Tags: upstream forky sid
Justification: https://release.debian.org/testing/rc_policy.txt 6a
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Forwarded: https://github.com/libsdl-org/sdl12-compat/issues/391
After the recent update of sdl12-compat to 1.2.74, libsdl-perl is
failing one of its autopkgtests (t/core_palette.t). The failing part is:
>my $disp = SDL::Video::set_video_mode( 640, 480, 8, SDL_SWSURFACE );
>
>SKIP:
>{
>
> skip( 'Cannot open display: ' . SDL::get_error(), 4 ) unless ($disp);
> isa_ok( $disp->format, 'SDL::PixelFormat', 'Are we a SDL::PixelFormat?' );
>
> isa_ok( ### THIS FAILS ###
> $disp->format->palette, 'SDL::Palette',
> 'Palette is SDL::Palette when BitPerPixels is 8 '
> );
The expected result is that $disp->format->palette is a palette object,
the actual result is that it's undef (which I think maps to
SDL_SetVideoMode(...)->format->palette == NULL in C).
It is not yet clear whether this is considered to be a regression in
sdl12-compat, or an overly specific test assertion in libsdl-perl. I've
asked SDL upstream.
libsdl-perl is a binding for an obsolete version of SDL (#1038083), but
it's still used by two remaining games (frozen-bubble, pangzero) and one
graphics demo (dizzy).
smcv
More information about the pkg-perl-maintainers
mailing list