Skip Menu |

This queue is for tickets about the Gtk3 CPAN distribution.

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

People
Owner: XAOC [...] cpan.org
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

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



From: gregoa [...] cpan.org
Subject: libgtk3-perl: FTBFS with Perl 5.20: test failures
We have the following bug reported to the Debian package of Gtk3 (https://bugs.debian.org/752986): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! Test output 1: ------8<-----------8<-----------8<-----------8<-----------8<----- # Failed test at t/zz-GtkCellLayoutIface.t line 23. # got: '0' # expected: '2' # Failed test 'undef isa 'Gtk3::CellRendererText'' # at t/zz-GtkCellLayoutIface.t line 24. # undef isn't defined # Failed test 'undef isa 'Gtk3::CellRendererToggle'' # at t/zz-GtkCellLayoutIface.t line 25. # undef isn't defined # Looks like you failed 3 tests of 35. t/zz-GtkCellLayoutIface.t ...... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/35 subtests [...] Test Summary Report ------------------- t/zz-GtkCellLayoutIface.t (Wstat: 768 Tests: 35 Failed: 3) Failed tests: 24-26 Non-zero exit status: 3 t/zz-GtkTreeModelIface.t (Wstat: 134 Tests: 168 Failed: 0) Non-zero wait status: 134 Parse errors: Bad plan. You planned 171 tests but ran 168. Files=21, Tests=791, 7 wallclock secs ( 0.25 usr 0.02 sys + 4.02 cusr 0.36 csys = 4.65 CPU) Result: FAIL ------8<-----------8<-----------8<-----------8<-----------8<----- Test output 2: ------8<-----------8<-----------8<-----------8<-----------8<----- t/00-init.t .................... ok t/floating-refs.t .............. ok t/overrides.t .................. ok t/signals.t .................... ok t/vfuncs.t ..................... ok t/zz-GdkEvent.t ................ ok t/zz-GtkActionGroup.t .......... ok t/zz-GtkBuilder.t .............. ok *** Error in `/usr/bin/perl': corrupted double-linked list: 0x0000000001fc0840 *** t/zz-GtkCellLayoutIface.t ...... Failed 12/35 subtests t/zz-GtkCellRendererIface.t .... skipped: tree model ctors not properly supported t/zz-GtkContainer.t ............ ok t/zz-GtkDialog.t ............... ok t/zz-GtkImage.t ................ ok t/zz-GtkInfoBar.t .............. ok t/zz-GtkRadioAction.t .......... ok t/zz-GtkRadioButton.t .......... ok t/zz-GtkRadioMenuItem.t ........ ok t/zz-GtkRadioToolButton.t ...... ok t/zz-GtkRecentChooserDialog.t .. ok t/zz-GtkTextBuffer.t ........... ok Use of uninitialized value in subtraction (-) at /tmp/buildd/libgtk3-perl-0.016/blib/lib/Gtk3.pm line 1164. perl: malloc.c:3700: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize == victim' failed. t/zz-GtkTreeModelIface.t ....... Failed 3/171 subtests (less 8 skipped subtests: 160 okay) Test Summary Report ------------------- t/zz-GtkCellLayoutIface.t (Wstat: 134 Tests: 23 Failed: 0) Non-zero wait status: 134 Parse errors: Bad plan. You planned 35 tests but ran 23. t/zz-GtkTreeModelIface.t (Wstat: 134 Tests: 168 Failed: 0) Non-zero wait status: 134 Parse errors: Bad plan. You planned 171 tests but ran 168. Files=21, Tests=779, 6 wallclock secs ( 0.12 usr 0.06 sys + 3.11 cusr 0.27 csys = 3.56 CPU) Result: FAIL ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
Hi, I see via your Debian bug report that you're using Gtk3 0.16. Gtk3 0.17 was released last week, and included some fixes for Perl 5.20. Can you retry your build using 0.17 please, and update this ticket if the problems you were seeing are still present in 0.17? Thanks, Brian On Wed Jul 09 13:03:49 2014, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of Gtk3 > (https://bugs.debian.org/752986): > > It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks! > > Test output 1: > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > # Failed test at t/zz-GtkCellLayoutIface.t line 23. > # got: '0' > # expected: '2' > > # Failed test 'undef isa 'Gtk3::CellRendererText'' > # at t/zz-GtkCellLayoutIface.t line 24. > # undef isn't defined > > # Failed test 'undef isa 'Gtk3::CellRendererToggle'' > # at t/zz-GtkCellLayoutIface.t line 25. > # undef isn't defined > # Looks like you failed 3 tests of 35. > t/zz-GtkCellLayoutIface.t ...... > Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/35 subtests > [...] > Test Summary Report > ------------------- > t/zz-GtkCellLayoutIface.t (Wstat: 768 Tests: 35 Failed: 3) > Failed tests: 24-26 > Non-zero exit status: 3 > t/zz-GtkTreeModelIface.t (Wstat: 134 Tests: 168 Failed: 0) > Non-zero wait status: 134 > Parse errors: Bad plan. You planned 171 tests but ran 168. > Files=21, Tests=791, 7 wallclock secs ( 0.25 usr 0.02 sys + 4.02 > cusr 0.36 csys = 4.65 CPU) > Result: FAIL > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > Test output 2: > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > t/00-init.t .................... ok > t/floating-refs.t .............. ok > t/overrides.t .................. ok > t/signals.t .................... ok > t/vfuncs.t ..................... ok > t/zz-GdkEvent.t ................ ok > t/zz-GtkActionGroup.t .......... ok > t/zz-GtkBuilder.t .............. ok > *** Error in `/usr/bin/perl': corrupted double-linked list: > 0x0000000001fc0840 *** > t/zz-GtkCellLayoutIface.t ...... > Failed 12/35 subtests > t/zz-GtkCellRendererIface.t .... skipped: tree model ctors not > properly supported > t/zz-GtkContainer.t ............ ok > t/zz-GtkDialog.t ............... ok > t/zz-GtkImage.t ................ ok > t/zz-GtkInfoBar.t .............. ok > t/zz-GtkRadioAction.t .......... ok > t/zz-GtkRadioButton.t .......... ok > t/zz-GtkRadioMenuItem.t ........ ok > t/zz-GtkRadioToolButton.t ...... ok > t/zz-GtkRecentChooserDialog.t .. ok > t/zz-GtkTextBuffer.t ........... ok > Use of uninitialized value in subtraction (-) at /tmp/buildd/libgtk3- > perl-0.016/blib/lib/Gtk3.pm line 1164. > perl: malloc.c:3700: _int_malloc: Assertion `victim->fd_nextsize-
> >bk_nextsize == victim' failed.
> t/zz-GtkTreeModelIface.t ....... > Failed 3/171 subtests > (less 8 skipped subtests: 160 okay) > > Test Summary Report > ------------------- > t/zz-GtkCellLayoutIface.t (Wstat: 134 Tests: 23 Failed: 0) > Non-zero wait status: 134 > Parse errors: Bad plan. You planned 35 tests but ran 23. > t/zz-GtkTreeModelIface.t (Wstat: 134 Tests: 168 Failed: 0) > Non-zero wait status: 134 > Parse errors: Bad plan. You planned 171 tests but ran 168. > Files=21, Tests=779, 6 wallclock secs ( 0.12 usr 0.06 sys + 3.11 > cusr 0.27 csys = 3.56 CPU) > Result: FAIL > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > Thanks for considering, > gregor herrmann, > Debian Perl Group
Subject: Re: [rt.cpan.org #97093] libgtk3-perl: FTBFS with Perl 5.20: test failures
Date: Wed, 09 Jul 2014 20:11:45 +0200
To: bug-Gtk3 [...] rt.cpan.org
From: Torsten Schönfeld <torsten.schoenfeld [...] gmx.de>
Yes, Gtk3 0.017 and Glib::Object::Introspection 0.024 should fix these issues.
Subject: Re: Bug#752986: [rt.cpan.org #97093] Perl 5.20 issues with Gtk3 0.16
Date: Thu, 10 Jul 2014 17:21:32 +0200
To: Brian Manning <cpan [...] xaoc.org>, 752986 [...] bugs.debian.org, bug-Gtk3 [...] rt.cpan.org
From: gregor herrmann <gregoa [...] debian.org>
On Wed, 09 Jul 2014 10:15:15 -0700, Brian Manning wrote: Show quoted text
> Gtk3 0.17 was released on July 2nd, and includes some fixes for Perl 5.20. > > Can you please test with the 0.17 release and confirm the build issues > still exist?
Thanks for the pointer. Unfortunately I'm seeing the same test failures: #v+ debian/rules override_dh_auto_test make[1]: Entering directory '/tmp/buildd/libgtk3-perl-0.017' mkdir -p /tmp/buildd/libgtk3-perl-0.017/debian/build GTK_MODULES= HOME=/tmp/buildd/libgtk3-perl-0.017/debian/build xvfb-run -a dh_auto_test make[2]: Entering directory '/tmp/buildd/libgtk3-perl-0.017' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-init.t .................... ok t/floating-refs.t .............. ok t/overrides.t .................. ok t/signals.t .................... ok t/vfuncs.t ..................... ok t/zz-GdkEvent.t ................ ok t/zz-GtkActionGroup.t .......... ok t/zz-GtkBuilder.t .............. ok *** Error in `/usr/bin/perl': corrupted double-linked list: 0x0000000001579840 *** t/zz-GtkCellLayoutIface.t ...... Failed 12/35 subtests t/zz-GtkCellRendererIface.t .... skipped: tree model ctors not properly supported t/zz-GtkContainer.t ............ ok t/zz-GtkDialog.t ............... ok t/zz-GtkImage.t ................ ok t/zz-GtkInfoBar.t .............. ok t/zz-GtkRadioAction.t .......... ok t/zz-GtkRadioButton.t .......... ok t/zz-GtkRadioMenuItem.t ........ ok t/zz-GtkRadioToolButton.t ...... ok t/zz-GtkRecentChooserDialog.t .. ok t/zz-GtkTextBuffer.t ........... ok Use of uninitialized value in subtraction (-) at /tmp/buildd/libgtk3-perl-0.017/blib/lib/Gtk3.pm line 1164. perl: malloc.c:3700: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize == victim' failed. t/zz-GtkTreeModelIface.t ....... Failed 3/171 subtests (less 8 skipped subtests: 160 okay) Test Summary Report ------------------- t/zz-GtkCellLayoutIface.t (Wstat: 134 Tests: 23 Failed: 0) Non-zero wait status: 134 Parse errors: Bad plan. You planned 35 tests but ran 23. t/zz-GtkTreeModelIface.t (Wstat: 134 Tests: 168 Failed: 0) Non-zero wait status: 134 Parse errors: Bad plan. You planned 171 tests but ran 168. Files=21, Tests=778, 6 wallclock secs ( 0.14 usr 0.03 sys + 3.23 cusr 0.27 csys = 3.67 CPU) Result: FAIL Failed 2/21 test programs. 0/778 subtests failed. Makefile:820: recipe for target 'test_dynamic' failed make[2]: *** [test_dynamic] Error 255 make[2]: Leaving directory '/tmp/buildd/libgtk3-perl-0.017' dh_auto_test: make -j1 test returned exit code 2 debian/rules:9: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 2 #v- (With perl 5.18 from unstable all tests pass.) Not sure if the problem is in Gtk3 or somewhere in the Debian toolchain ... Show quoted text
> (Note: I updated RT ticket 97093 with the same request)
(Trying to update both at once.) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Red Hot Chili Peppers: One Big Mob
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.

Subject: Re: Bug#752986: [rt.cpan.org #97093] Perl 5.20 issues with Gtk3 0.16
Date: Thu, 10 Jul 2014 17:28:48 +0200
To: bug-Gtk3 [...] rt.cpan.org
From: "Torsten Schönfeld" <kaffeetisch [...] gmx.de>
Try with Glib::Object::Introspection 0.024.
Subject: Re: Bug#752986: [rt.cpan.org #97093] Perl 5.20 issues with Gtk3 0.16
Date: Thu, 10 Jul 2014 18:22:54 +0200
To: Torsten Schoenfeld via RT <bug-Gtk3 [...] rt.cpan.org>, 752986 [...] bugs.debian.org
From: gregor herrmann <gregoa [...] debian.org>
On Thu, 10 Jul 2014 11:29:00 -0400, Torsten Schoenfeld via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=97093 > > > Try with Glib::Object::Introspection 0.024.
Not so easy since this fails with 5.20 as well: dh_auto_test make[1]: Entering directory '/tmp/buildd/libglib-object-introspection-perl-0.024' Running Mkbootstrap for Glib::Object::Introspection () chmod 644 Introspection.bs LD_LIBRARY_PATH=:build PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Use of uninitialized value in subroutine entry at t/00-basic-types.t line 53. # Failed test at t/00-basic-types.t line 53. # got: '' # expected: 'åäö' # Looks like you failed 1 test of 36. t/00-basic-types.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/36 subtests t/arg-checks.t ................ ok t/arrays.t .................... ok t/boxed.t ..................... ok t/cairo-integration.t ......... ok t/callbacks.t ................. ok t/closures.t .................. ok t/constants.t ................. ok t/enums.t ..................... ok t/hashes.t .................... ok t/interface-implementation.t .. ok t/objects.t ................... ok t/structs.t ................... ok t/values.t .................... ok t/vfunc-chaining.t ............ ok t/vfunc-ref-counting.t ........ ok Test Summary Report ------------------- t/00-basic-types.t (Wstat: 256 Tests: 36 Failed: 1) Failed test: 28 Non-zero exit status: 1 Files=16, Tests=329, 1 wallclock secs ( 0.08 usr 0.04 sys + 0.74 cusr 0.09 csys = 0.95 CPU) Result: FAIL Ok, after running tests with LC_ALL=C.UTF-8 this works. * a little later * Yay, Gtk3 build with perl 5.20 when using Glib::Object::Introspection 0.024. Thanks, and feel free to close the RT ticket. Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Beatles
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.

Updating releases to Gtk3 0.17 and Glib::Object::Introspection 0.24 fixed the issue. Tests also required having a locale set in the environment via via the variable LC_ALL
On Thu Jul 10 12:29:46 2014, XAOC wrote: Show quoted text
> Updating releases to Gtk3 0.17 and Glib::Object::Introspection 0.24 > fixed the issue. > > Tests also required having a locale set in the environment via via the > variable LC_ALL
Sorry, the versions were incorrect in my previous post, updating releases to Gtk3 0.017 and Glib::Object::Introspection 0.024 fixed issues in Perl 5.20.
Marking fixed version 0.017
Subject: Re: [rt.cpan.org #97093] libgtk3-perl: FTBFS with Perl 5.20: test failures
Date: Thu, 10 Jul 2014 18:37:15 +0200
To: Brian Manning via RT <bug-Gtk3 [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Thu, 10 Jul 2014 12:32:29 -0400, Brian Manning via RT wrote: Show quoted text
> > Updating releases to Gtk3 0.17 and Glib::Object::Introspection 0.24 > > fixed the issue. > > > > Tests also required having a locale set in the environment via via the > > variable LC_ALL
> > Sorry, the versions were incorrect in my previous post, updating releases to Gtk3 0.017 and Glib::Object::Introspection 0.024 fixed issues in Perl 5.20.
No problem, all sorted out on our end as well. Thanks, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Beatles
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.