Skip Menu |

This queue is for tickets about the Gtk3 CPAN distribution.

Report information
The Basics
Id: 127071
Status: resolved
Priority: 0/
Queue: Gtk3

Owner: Nobody in particular
Requestors: gregoa [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

From: gregoa [...]
Subject: libgtk3-perl: FTBFS: t/overrides.t failure with gdk-pixbuf 2.38.0
Download (untitled) / with headers
text/plain 1.5k
We have the following bug reported to the Debian package of Gtk3 ( It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Source: libgtk3-perl Version: 0.034-1 Severity: serious User: Usertags: autopkgtest Control: block 902557 with -1 As noticed by the autopkgtest checks on, this package fails its test suite on current sid, making it also fail to build from source. Undefined subroutine &Gtk3::Gdk::PIXDATA_HEADER_LENGTH called at /<<PKGBUILDDIR>>/blib/lib/ line 2119. # Looks like your test exited with 255 just after 162. [...] Test Summary Report ------------------- t/overrides.t (Wstat: 65280 Tests: 162 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 233 tests but ran 162. Files=22, Tests=843, 5 wallclock secs ( 0.18 usr 0.03 sys + 4.58 cusr 0.46 csys = 5.25 CPU) Result: FAIL I'm guessing this regressed with gdk-pixbuf 2.38.0+dfsg-1 or so, but I haven't verified that (and the machinery doesn't seem to have pinpointed it yet either.) -- Niko Tyni ------8<-----------8<-----------8<-----------8<-----------8<----- contains some more debugging attempts. Thanks for considering, gregor herrmann, Debian Perl Group
Download (untitled) / with headers
text/plain 409b
It seems that Gtk3 works again - with the attached patch to adjust to the separate introspection data for the GdkPixdata API - and with (Debian's) gir1.2-gdkpixbuf-2.0 (>= 2.38.0+dfsg-5) which has a patch that fixes the gir metadata for GdkPixbuf: Cheers, gregor
Subject: gdk-pixbuf-2.38.patch
Description: Adjust for gdk-pixbuf 2.38 which generate separate introspection data for the GdkPixdata API Origin: vendor Bug: Forwarded: Bug-Debian: Author: gregor herrmann <> Last-Update: 2018-09-13 --- a/lib/ +++ b/lib/ @@ -60,6 +60,7 @@ Gtk-3.0 | Gtk3 Gdk-3.0 | Gtk3::Gdk GdkPixbuf-2.0 | Gtk3::Gdk + GdkPixdata-2.0| Gtk3::Gdk Pango-1.0 | Pango =cut @@ -84,6 +85,10 @@ my $_GDK_PIXBUF_VERSION = '2.0'; my $_GDK_PIXBUF_PACKAGE = 'Gtk3::Gdk'; +my $_GDK_PIXDATA_BASENAME = 'GdkPixdata'; +my $_GDK_PIXDATA_VERSION = '2.0'; +my $_GDK_PIXDATA_PACKAGE = 'Gtk3::Gdk'; + my $_PANGO_BASENAME = 'Pango'; my $_PANGO_VERSION = '1.0'; my $_PANGO_PACKAGE = 'Pango'; @@ -472,6 +477,11 @@ flatten_array_ref_return_for => \@_GDK_PIXBUF_FLATTEN_ARRAY_REF_RETURN_FOR); Glib::Object::Introspection->setup ( + basename => $_GDK_PIXDATA_BASENAME, + version => $_GDK_PIXDATA_VERSION, + package => $_GDK_PIXDATA_PACKAGE); + + Glib::Object::Introspection->setup ( basename => $_PANGO_BASENAME, version => $_PANGO_VERSION, package => $_PANGO_PACKAGE);
Download (untitled) / with headers
text/plain 172b
Thanks for the patch. I committed a similar change with an added version check: <>.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to