Bug#908323: libgtk3-perl: FTBFS: t/overrides.t failure

gregor herrmann gregoa at debian.org
Sat Sep 8 14:43:21 BST 2018


Control: tag -1 + confirmed upstream

On Sat, 08 Sep 2018 15:03:13 +0300, Niko Tyni wrote:

> I'm guessing this regressed with gdk-pixbuf 2.38.0+dfsg-1 or so, but I
> haven't verified that (and the ci.debian.net machinery doesn't seem to
> have pinpointed it yet either.)

Sounds plausible; the changelog mentions
"Generate separate introspection data for GdkPixdata API"
and there's now a
/usr/lib/x86_64-linux-gnu/girepository-1.0/GdkPixdata-2.0.typelib
besides the old
/usr/lib/x86_64-linux-gnu/girepository-1.0/GdkPixbuf-2.0.typelib

I tried with

#v+
--- a/lib/Gtk3.pm
+++ b/lib/Gtk3.pm
@@ -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);
#v-

but then the tests failed differently, with:

Gtk3::Gdk::Pixbuf::new_from_inline: passed too few parameters (expected 4, got 3) at t/overrides.t line 762.
# Looks like your test exited with 255 just after 162.


so this needs a bit more (and more background knowledge).


Cheers,
gregor


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Michael Penn: Whole Truth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20180908/d6c6a441/attachment.sig>


More information about the pkg-perl-maintainers mailing list