Bug#1127514: libsdl-perl: FTBFS: Failed 1/59 test programs. 1/3835 subtests failed.
Santiago Vila
sanvila at debian.org
Mon Feb 9 18:05:06 GMT 2026
Package: src:libsdl-perl
Version: 2.548-6
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202602/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libsdl-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Build.PL --installdirs vendor --config optimize="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config ld="x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now"
*************************** !!!WARNING!!! ********************************
This Release breaks back compatibility support with versions 2.4x and below
**************************************************************************
Using 'My::Builder::Unix' class ...
[Alien::SDL] Testing header(s): SDL.hDetecting available libraries ...
[... snipped ...]
ok 154 - draw_rect uses correct blue for 0x0000ff00
ok 155 - draw_rect uses correct alpha for 0x0000ff00
ok 156 - draw_rect uses correct red for 0x00000000
ok 157 - draw_rect uses correct green for 0x00000000
ok 158 - draw_rect uses correct blue for 0x00000000
ok 159 - draw_rect uses correct alpha for 0x00000000
ok 160 - draw_rect uses correct red for 0x20408000
ok 161 - draw_rect uses correct green for 0x20408000
ok 162 - draw_rect uses correct blue for 0x20408000
ok 163 - draw_rect uses correct alpha for 0x20408000
ok 164 - draw_rect uses correct red for 0x80204000
ok 165 - draw_rect uses correct green for 0x80204000
ok 166 - draw_rect uses correct blue for 0x80204000
ok 167 - draw_rect uses correct alpha for 0x80204000
ok 168 - draw_rect uses correct red for 0x40802000
ok 169 - draw_rect uses correct green for 0x40802000
ok 170 - draw_rect uses correct blue for 0x40802000
ok 171 - draw_rect uses correct alpha for 0x40802000
ok 172 - draw_rect works
ok 173 - draw_line returns self
ok 174 - draw_line works
ok 175 - draw_gfx_text works
ok 176 - draw_circle returns self
ok 177
ok 178 - draw_circle works
ok 179 - draw_circle_filled works
ok 180
ok 181 - draw_circle works
ok 182 - draw_circle_filled works
ok 183
ok 184 - draw_circle works
ok 185 - draw_circle_filled works
ok 186
ok 187 - draw_circle works
ok 188 - draw_circle_filled works
ok 189 - draw_trigon returns self
ok 190 - draw_trigon_filled returns self
ok 191
ok 192 - draw_trigon works
ok 193 - draw_trigon_filled works
ok 194
ok 195 - draw_trigon works
ok 196 - draw_trigon_filled works
ok 197
ok 198 - draw_trigon works
ok 199 - draw_trigon_filled works
ok 200
ok 201 - draw_trigon works
ok 202 - draw_trigon_filled works
ok 203 - draw_polygon returns self
ok 204 - draw_polygon_filled returns self
ok 205
ok 206 - draw_polygon works
ok 207 - draw_polygon_filled works
ok 208
ok 209 - draw_polygon works
ok 210 - draw_polygon_filled works
ok 211
ok 212 - draw_polygon works
ok 213 - draw_polygon_filled works
ok 214
ok 215 - draw_polygon works
ok 216 - draw_polygon_filled works
ok 217 - Duplicate surf has same width
ok 218 - Duplicate surf has same flags
ok 219 - Duplicate surf has same flags
ok 220 - Duplicate surf has same bpp
ok 221 - Final SegFault test
1..221
ok
t/sdlx_text.t ...................
ok 1 - use SDLx::Text;
ok 2 - An object of class 'SDLx::Text' isa 'SDLx::Text'
ok 3 - default x position
ok 4 - default y position
ok 5 - default horizontal alignment
ok 6 - An object of class 'SDL::TTF::Font' isa 'SDL::TTF::Font'
ok 7 - 'default color' isa 'SDL::Color'
ok 8 - default size
ok 9 - text() as a getter
ok 10 - Hello! is 50..53 px wide!
ok 11 - Hello! is 28 px high!
ok 12 - An object of class 'SDL::Surface' isa 'SDL::Surface'
ok 13 - An object of class 'SDLx::Text' isa 'SDLx::Text'
1..13
ok
t/sdlx_validate.t ...............
ok 1 - SDLx::Validate->can(...)
ok 2 - surface(SDL::Surface->new(0, 1, 2, 32, 0, 0, 0, 0)) is a SDL::Surface
ok 3 - surface(SDLx::Surface->new(w => 1, h => 2)) is a SDL::Surface
ok 4 - Validate detects wrong objects
ok 5 - rect([]) is (0, 0, 0, 0)
ok 6 - rect([0, 0, 0, 0]) is (0, 0, 0, 0)
ok 7 - rect(SDL::Rect->new(0, 0, 0, 0)) is (0, 0, 0, 0)
ok 8 - rect([1, 2, 3, 4]) is (1, 2, 3, 4)
ok 9 - rect(SDL::Rect->new(1, 2, 3, 4)) is (1, 2, 3, 4)
ok 10 - num_rgb(undef) is 0x000000
ok 11 - list_rgb(undef) is [0, 0, 0]
ok 12 - map_rgb(undef, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 13 - color(undef) is (0, 0, 0)
ok 14 - num_rgb(0) is 0x000000
ok 15 - list_rgb(0) is [0, 0, 0]
ok 16 - map_rgb(0, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 17 - color(0) is (0, 0, 0)
ok 18 - num_rgb([0, 0, 0]) is 0x000000
ok 19 - list_rgb([0, 0, 0]) is [0, 0, 0]
ok 20 - map_rgb([0, 0, 0], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 21 - color([0, 0, 0]) is (0, 0, 0)
ok 22 - num_rgb([]) is 0x000000
ok 23 - list_rgb([]) is [0, 0, 0]
ok 24 - map_rgb([], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 25 - color([]) is (0, 0, 0)
ok 26 - num_rgb(SDL::Color->new(0, 0, 0)) is 0x000000
ok 27 - list_rgb(SDL::Color->new(0, 0, 0)) is [0, 0, 0]
ok 28 - map_rgb(SDL::Color->new(0, 0, 0), SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 29 - color(SDL::Color->new(0, 0, 0)) is (0, 0, 0)
ok 30 - num_rgb(0xFFFEFD) is 0xFFFEFD
ok 31 - list_rgb(0xFFFEFD) is [0xFF, 0xFE, 0xFD]
ok 32 - map_rgb(0xFFFEFD, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 33 - color(0xFFFEFD) is (0xFF, 0xFE, 0xFD)
ok 34 - num_rgb([0xFF, 0xFE, 0xFD]) is 0xFFFEFD
ok 35 - list_rgb([0xFF, 0xFE, 0xFD]) is [0xFF, 0xFE, 0xFD]
ok 36 - map_rgb([0xFF, 0xFE, 0xFD], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 37 - color([0xFF, 0xFE, 0xFD]) is (0xFF, 0xFE, 0xFD)
ok 38 - num_rgb(SDL::Color->new(0xFF, 0xFE, 0xFD)) is 0xFFFEFD
ok 39 - list_rgb(SDL::Color->new(0xFF, 0xFE, 0xFD)) is [0xFF, 0xFE, 0xFD]
ok 40 - map_rgb(SDL::Color->new(0xFF, 0xFE, 0xFD), SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 41 - color(SDL::Color->new(0xFF, 0xFE, 0xFD)) is (0xFF, 0xFE, 0xFD)
ok 42 - num_rgba(undef) is 0x000000FF
ok 43 - list_rgba(undef) is [0, 0, 0, 0xFF]
ok 44 - map_rgba(undef, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 45 - num_rgba(0x000000FF) is 0x000000FF
ok 46 - list_rgba(0x000000FF) is [0, 0, 0, 0xFF]
ok 47 - map_rgba(0x000000FF, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 48 - num_rgba([0, 0, 0]) is 0x000000FF
ok 49 - list_rgba([0, 0, 0]) is [0, 0, 0, 0xFF]
ok 50 - map_rgba([0, 0, 0], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 51 - num_rgba([undef, undef, undef, 0xFF]) is 0x000000FF
ok 52 - list_rgba([undef, undef, undef, 0xFF]) is [0, 0, 0, 0xFF]
ok 53 - map_rgba([undef, undef, undef, 0xFF], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 54 - num_rgba([]) is 0x000000FF
ok 55 - list_rgba([]) is [0, 0, 0, 0xFF]
ok 56 - map_rgba([], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 57 - num_rgba(SDL::Color->new(0, 0, 0)) is 0x000000FF
ok 58 - list_rgba(SDL::Color->new(0, 0, 0)) is [0, 0, 0, 0xFF]
ok 59 - map_rgba(SDL::Color->new(0, 0, 0), SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 0
ok 60 - num_rgba(0xFFFEFDFF) is 0xFFFEFDFF
ok 61 - list_rgba(0xFFFEFDFF) is [0xFF, 0xFE, 0xFD, 0xFF]
ok 62 - map_rgba(0xFFFEFDFF, SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 63 - num_rgba([0xFF, 0xFE, 0xFD]) is 0xFFFEFDFF
ok 64 - list_rgba([0xFF, 0xFE, 0xFD]) is [0xFF, 0xFE, 0xFD, 0xFF]
ok 65 - map_rgba([0xFF, 0xFE, 0xFD], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 66 - num_rgba([0xFF, 0xFE, 0xFD, 0xFF]) is 0xFFFEFDFF
ok 67 - list_rgba([0xFF, 0xFE, 0xFD, 0xFF]) is [0xFF, 0xFE, 0xFD, 0xFF]
ok 68 - map_rgba([0xFF, 0xFE, 0xFD, 0xFF], SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 69 - num_rgba(SDL::Color->new(0xFF, 0xFE, 0xFD)) is 0xFFFEFDFF
ok 70 - list_rgba(SDL::Color->new(0xFF, 0xFE, 0xFD)) is [0xFF, 0xFE, 0xFD, 0xFF]
ok 71 - map_rgba(SDL::Color->new(0xFF, 0xFE, 0xFD), SDL::PixelFormat=SCALAR(0x558ab26eb440)) is 16776957
ok 72 - num_rgba(0) isn't 0x000000FF
1..72
ok
t/smpeg.t ....................... skipped: smpeg support not compiled
t/ttf.t .........................
ok 1 - '[linked_version] returns a SDL::Version object' isa 'SDL::Version'
ok 2 - '[compile_time_version] returns a SDL::Version object' isa 'SDL::Version'
got version: 2.0.11/2.0.11
ok 3 - TTF_HINTING_NORMAL should be imported
ok 4 - TTF_HINTING_NORMAL() should also be available
ok 5 - TTF_HINTING_LIGHT should be imported
ok 6 - TTF_HINTING_LIGHT() should also be available
ok 7 - TTF_HINTING_MONO should be imported
ok 8 - TTF_HINTING_MONO() should also be available
ok 9 - TTF_HINTING_NONE should be imported
ok 10 - TTF_HINTING_NONE() should also be available
ok 11 - TTF_STYLE_NORMAL should be imported
ok 12 - TTF_STYLE_NORMAL() should also be available
ok 13 - TTF_STYLE_BOLD should be imported
ok 14 - TTF_STYLE_BOLD() should also be available
ok 15 - TTF_STYLE_ITALIC should be imported
ok 16 - TTF_STYLE_ITALIC() should also be available
ok 17 - TTF_STYLE_UNDERLINE should be imported
ok 18 - TTF_STYLE_UNDERLINE() should also be available
ok 19 - TTF_STYLE_STRIKETHROUGH should be imported
ok 20 - TTF_STYLE_STRIKETHROUGH() should also be available
ok 21 - [was_init] returns false
ok 22 - [init] succeeded
ok 23 - [was_init] returns true
ok 24 - [quit] ran
ok 25 - [was_init] returns false
ok 26 - [init] succeeded
ok 27 - [ttf_byte_swapped_unicode] on
ok 28 - [ttf_byte_swapped_unicode] off
ok 29 - '[open_font]' isa 'SDL::TTF::Font'
ok 30 - '[open_font_index]' isa 'SDL::TTF::Font'
ok 31 - '[new_file]' isa 'SDL::RWOps'
ok 32 - '[open_font_RW]' isa 'SDL::TTF::Font'
ok 33 - '[open_font_index_RW]' isa 'SDL::TTF::Font'
ok 34 - [get_font_style] returns TTF_STYLE_NORMAL
ok 35 - [set_font_style] to TTF_STYLE_BOLD
ok 36 - [get_font_style] returns TTF_STYLE_BOLD
ok 37 - [set_font_style] to TTF_STYLE_ITALIC
ok 38 - [get_font_style] returns TTF_STYLE_ITALIC
ok 39 - [set_font_style] to TTF_STYLE_UNDERLINE
ok 40 - [get_font_style] returns TTF_STYLE_UNDERLINE
ok 41 - [set_font_style] to TTF_STYLE_NORMAL
ok 42 - [get_font_style] returns TTF_STYLE_NORMAL
ok 43 - [get_font_outline] is 0
ok 44 - [set_font_outline] to 1
ok 45 - [get_font_outline] is 1
ok 46 # skip Font hinting is buggy in SDL_ttf
ok 47 # skip Font hinting is buggy in SDL_ttf
ok 48 # skip Font hinting is buggy in SDL_ttf
ok 49 - [get_font_kerning] is allowed
ok 50 - [set_font_kerning to not allowed]
ok 51 - [get_font_kerning] is not allowed
ok 52 - [glyph_is_provided] is true for character 'M'
ok 53 - [font_height] is 27
ok 54 - [font_ascent] offset from the baseline to the top of the font is 20
ok 55 - [font_descent] offset from the baseline to the bottom of the font is -6
ok 56 - [font_line_skip] recommended spacing between lines of text is 26
ok 57 - [font_faces] font has 1 faces
ok 58 - [font_face_is_fixed_width] is 0
ok 59 - [font_face_family_name] is Gentium Basic
ok 60 - [font_face_style_name] is Regular
ok 61 - [glyph_metrics] (minx, maxx, miny, maxy, advance) = (0, 17, 0, 14, 18)
ok 62 - [size_text] width=116 height=27
ok 63 - [size_utf8] width=116 height=27
ok 64 # skip Unicode::String is needed for this
ok 65 # skip Unicode::String is needed for this
ok 66 - '[render_text_solid] Surface doesn't have a colorkey' isa 'SDL::Surface'
ok 67 - '[render_text_shaded]' isa 'SDL::Surface'
ok 68 - '[render_text_blended]' isa 'SDL::Surface'
ok 69 - '[render_utf8_solid]' isa 'SDL::Surface'
ok 70 - '[render_utf8_shaded]' isa 'SDL::Surface'
ok 71 - '[render_utf8_blended]' isa 'SDL::Surface'
ok 72 - '[render_glyph_solid]' isa 'SDL::Surface'
ok 73 - '[render_glyph_shaded]' isa 'SDL::Surface'
ok 74 - '[render_glyph_blended]' isa 'SDL::Surface'
ok 75 # skip Unicode::String is needed for this
ok 76 # skip Unicode::String is needed for this
ok 77 # skip Unicode::String is needed for this
1..77
ok
t/ttf_font.t ....................
ok 1 - '[linked_version] returns a SDL::Version object' isa 'SDL::Version'
ok 2 - '[compile_time_version] returns a SDL::Version object' isa 'SDL::Version'
got version: 2.0.11/2.0.11
ok 3 - [init] succeeded
ok 4 - '[new] with font and size' isa 'SDL::TTF::Font'
ok 5 - '[new] with font, size and index' isa 'SDL::TTF::Font'
ok 6 - [quit] ran
1..6
ok
Test Summary Report
-------------------
t/core.t (Wstat: 0 Tests: 28 Failed: 0)
TODO passed: 21-22, 27
t/core_multi.t (Wstat: 0 Tests: 4 Failed: 0)
TODO passed: 3
t/core_palette.t (Wstat: 256 (exited 1) Tests: 6 Failed: 1)
Failed test: 6
Non-zero exit status: 1
Parse errors: Bad plan. You planned 10 tests but ran 6.
t/core_timer.t (Wstat: 0 Tests: 6 Failed: 0)
TODO passed: 6
t/core_video.t (Wstat: 0 Tests: 110 Failed: 0)
TODO passed: 57, 59
t/gfx_imagefilter.t (Wstat: 0 Tests: 8 Failed: 0)
TODO passed: 7
Files=59, Tests=3835, 156 wallclock secs ( 0.18 usr 0.08 sys + 73.93 cusr 1.93 csys = 76.12 CPU)
Result: FAIL
Failed 1/59 test programs. 1/3835 subtests failed.
dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-perl-maintainers
mailing list