Overview
A fix would be better...
Sure, a fix would always be better.
No problem if it is not accepted - it's just a suggestion for a temporary solution.
Maybe the failing tests could be removed, so that at least the rest of the testsuite can be run?
Probably the better solution. I hoped that one of the other distros make a fix in the meantime, but it seems we're the only ones with that issue.
Hm, that would be an option.
On the other hand, I've seen some packages in Factory that disable all tests in case of problems or mitigate them with "|| :".
Concerning perl-sdl I assume that the problems are caused by the change to sdl12_compat and they are to be searched there.
But maybe something else is broken, because e.g. in Fedora the tests with the combination perl-sdl and sdl12-compat seem to run without problems.
In Fedora, for example, the warning "Pango-CRITICAL pango_ft2_render_transformed: assertion 'PANGO_FT2_IS_FONT (font)' failed" (from here https://github.com/GNOME/pango/blob/main/pango/pangoft2-render.c#L729) does not occur either:
https://kojipkgs.fedoraproject.org//packages/perl-SDL/2.548/15.fc37/data/logs/x86_64/build.log
As I wrote before, my suggestion is a temporary solution, as I think some other dependent packages should be checked.
Maybe we should open a ticket for sdl12-compat?
Did you test if e.g. frozen-bubble actually works with this or does it bring the same issues as the tests?
I've made a little more progress.
The problem with "Pango-CRITICAL pango_ft2_render_transformed: assertion 'PANGO_FT2_IS_FONT (font)' failed" and the error with "create_surface_draw" can be solved relatively easily: Some font package must be installed during the build.
I added a "BuildRequires: dejavu-fonts" and the test "t/pango.t" is now executed without error.
The "Pango-CRITICAL" message also disappears.
The test "t/core_joystick.t" still generates a SEGV, dmesg shows "perl[4430]: segfault at 28 ip 00007fe32db7ef6a sp 00007ffd6049f818 error 4 in libSDL2-2.0.so.0.22.0[7fe32da7f000+10e000]".
I'll test a locally built frozen-bubble later, but that may take a while.
I will also update the request later (e.g. add the "BuildRequires: dejavu-fonts").
Thanks a lot. I'll update cpanspec.yml and then forward to Factory.