Bug 2278602

Summary: perl-Gtk3-0.038-11.fc41 FTBFS: t/overrides.t fails: loader: Image type “xpm” is not supported
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Gtk3Assignee: Benjamin Gilbert <bgilbert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, bgilbert, perl-devel, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Gtk3
Whiteboard:
Fixed In Version: perl-Gtk3-0.038-14.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-08 12:03:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2295748    
Bug Blocks: 2260875    

Description Petr Pisar 2024-05-02 09:13:58 UTC
perl-Gtk3-0.038-11.fc41 fails to build in Fedora 41 because a test fails:

(overrides.t:692): GdkPixbuf-WARNING **: 08:33:21.912: Error loading XPM image loader: Image type “xpm” is not supported
#   Failed test 'undef isa 'Gtk3::Gdk::Pixbuf''
#   at t/overrides.t line 748.
#     undef isn't defined
Can't call method "get_colorspace" on an undefined value at t/overrides.t line 749.
# Looks like your test exited with 25 just after 179.
t/overrides.t .................. 
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 55/233 subtests 

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17799353>.

This failure is probably triggered by upgrading gdk-pixbuf2-modules from 2.42.10-8.fc40 to 2.42.11-1.fc41. gdk-pixbuf2 disabled a support for XPM format (bug #2276464).

Reading a code of t/overrides.t reveals it tests loading XPM without checking whether gkd-pixbuf supports XPM.

Comment 1 Fedora Update System 2024-07-26 15:29:33 UTC
FEDORA-2024-a98b47537e (perl-Gtk3-0.038-13.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a98b47537e

Comment 2 Petr Pisar 2024-08-08 08:07:58 UTC
The fix is incomplete. Completion is in <https://src.fedoraproject.org/rpms/perl-Gtk3/pull-request/2>.

Comment 3 Fedora Update System 2024-08-08 11:58:39 UTC
FEDORA-2024-a31e8423dc (perl-Gtk3-0.038-14.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a31e8423dc

Comment 4 Fedora Update System 2024-08-08 12:03:04 UTC
FEDORA-2024-a31e8423dc (perl-Gtk3-0.038-14.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.