Overview

Request 996659 accepted

- Add dejavu-fonts and udev as BuildRequires for tests

Loading...

Dirk Stoecker's avatar

Thanks a lot. I'll update cpanspec.yml and then forward to Factory.


Dirk Stoecker's avatar

A fix would be better...


Paolo Panto's avatar

Sure, a fix would always be better.
No problem if it is not accepted - it's just a suggestion for a temporary solution.


Dirk Stoecker's avatar

Doesn't mean I don't want to accept it :-)


Tina Müller's avatar

Maybe the failing tests could be removed, so that at least the rest of the testsuite can be run?


Dirk Stoecker's avatar

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.


Paolo Panto's avatar

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.


Dirk Stoecker's avatar

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?


Paolo Panto's avatar

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").


Paolo Panto's avatar

ok, I think this is solved, a new request follows.

Request History
Paolo Panto's avatar

munix9 created request

- Add dejavu-fonts and udev as BuildRequires for tests


Dirk Stoecker's avatar

dstoecker accepted request

openSUSE Build Service is sponsored by