Skip Menu |

This queue is for tickets about the Gtk3 CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: dan [...] berrange.com
Cc:
AdminCc:

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



Subject: t/zz-GtkBuilder.t test case fails
$ make test TEST_FILES=t/zz-GtkBuilder.t PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/zz-GtkBuilder.t t/zz-GtkBuilder.t .. 1/45 GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. # Failed test at t/zz-GtkBuilder.t line 122. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. GFlags void has no registered perl package, returning as array at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. CRITICAL **: gperl_type_flags_get_values: assertion `G_TYPE_IS_FLAGS (flags_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 57. # Looks like you failed 1 test of 45. t/zz-GtkBuilder.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/45 subtests Test Summary Report ------------------- t/zz-GtkBuilder.t (Wstat: 256 Tests: 45 Failed: 1) Failed test: 26 Non-zero exit status: 1 Files=1, Tests=45, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.27 cusr 0.04 csys = 0.34 CPU) Result: FAIL Failed 1/1 test programs. 1/45 subtests failed. make: *** [test_dynamic] Error 1 I have the following versions of dependancies installed: perl-Glib-1.241-1.fc16.x86_64 perl-Glib-Object-Introspection-0.007-1.fc17.x86_64 glib2-2.30.2-1.fc16.x86_64 glib2-2.30.2-1.fc16.i686 gtk3-3.2.4-1.fc16.x86_64
Subject: Re: [rt.cpan.org #76773] t/zz-GtkBuilder.t test case fails
Date: Mon, 23 Apr 2012 23:18:54 +0200
To: bug-Gtk3 [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
On 23.04.2012 17:06, Daniel P. Berrange via RT wrote: Show quoted text
> $ make test TEST_FILES=t/zz-GtkBuilder.t > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/zz-GtkBuilder.t > t/zz-GtkBuilder.t .. 1/45 GFlags void has no registered perl package, > returning as array
Yeah, I forgot to increase the required Glib version; you'll need Glib Show quoted text
>= 1.252 in order for this to work.
On Mon Apr 23 17:19:05 2012, TSCH wrote: Show quoted text
> On 23.04.2012 17:06, Daniel P. Berrange via RT wrote:
> > $ make test TEST_FILES=t/zz-GtkBuilder.t > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'blib/lib', 'blib/arch')" t/zz-GtkBuilder.t > > t/zz-GtkBuilder.t .. 1/45 GFlags void has no registered perl package, > > returning as array
> > Yeah, I forgot to increase the required Glib version; you'll need Glib
> >= 1.252 in order for this to work.
Hmm, CPAN lists the 1.252 & 1.253 GLib releases as unstable dev branches, so it wouldn't be our first choice to add those to Fedora at this time. Is it at all possible to make it works with the latest stable release (1.242) or do we just have to wait for the next GLib stable release ?
On Mon Apr 30 06:02:33 2012, DANBERR wrote: Show quoted text
> > Yeah, I forgot to increase the required Glib version; you'll need > > Glib >= 1.252 in order for this to work.
Correction: you'll need Glib >= 1.253. Show quoted text
> Hmm, CPAN lists the 1.252 & 1.253 GLib releases as unstable dev > branches, so it wouldn't be our first choice to add those to Fedora at > this time. Is it at all possible to make it works with the latest stable > release (1.242) or do we just have to wait for the next GLib stable > release ?
Since Gtk3 itself is unstable (there are no API guaranties yet), I'm not inclined to add complexity in order to avoid a dependency on an unstable Glib. If you want Gtk3 to be fully functional, you'll need the latest Glib and Glib::Object::Introspection. You won't loose too much functionality, however, by keeping Glib at 1.242 and simply disabling this test in Gtk3. I added the missing dependency in git master.