Skip Menu |

This queue is for tickets about the Gtk2-Notify CPAN distribution.

Report information
The Basics
Id: 40860
Status: rejected
Priority: 0/
Queue: Gtk2-Notify

People
Owner: Nobody in particular
Requestors: gms8994 [...] dp.cx
Cc:
AdminCc:

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



Subject: Several build errors
First, please note that this is broken in 0.05 (which is not available). CPAN.pm: Going to build F/FL/FLORA/Gtk2-Notify-0.05.tar.gz Cannot determine perl version info from lib/Gtk2/Notify.pm Including generated API documentation... Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-pthread' Writing Makefile for Gtk2::Notify cp build/IFiles.pm blib/arch/Gtk2/Notify/Install/Files.pm cp /root/.cpan/build/Gtk2-Notify-0.05-CrUUKQ/build/notify.typemap blib/arch/Gtk2/Notify/Install/notify.typemap cp lib/Gtk2/Notify.pm blib/lib/Gtk2/Notify.pm cp build/notify-autogen.h blib/arch/Gtk2/Notify/Install/notify-autogen.h [ XS xs/Notify.xs ] [ CC xs/Notify.c ] Running Mkbootstrap for Gtk2::Notify () chmod 644 Notify.bs rm -f blib/arch/auto/Gtk2/Notify/Notify.so [ LD blib/arch/auto/Gtk2/Notify/Notify.so ] chmod 755 blib/arch/auto/Gtk2/Notify/Notify.so cp Notify.bs blib/arch/auto/Gtk2/Notify/Notify.bs chmod 644 blib/arch/auto/Gtk2/Notify/Notify.bs Generating POD... Loaded 8 extra types from /usr/local/lib/perl/5.10.0/Glib/Install/doctypes Loaded 10 extra types from /usr/local/lib/perl/5.10.0/Gtk2/Install/doctypes Loaded 4 extra types from /usr/lib/perl5/Cairo/Install/doctypes Gtk2::Notify::set_hint_byte_array: no type defined for arg $value Glib::GenPod: Unable to parse type `NO_OUTPUT gboolean´ at /usr/local/lib/perl/5.10.0/Glib/GenPod.pm line 1059. !! is not registered with the GLib type system. Glib::GenPod: Unable to parse type `NO_OUTPUT gboolean´ at /usr/local/lib/perl/5.10.0/Glib/GenPod.pm line 1059. !! is not registered with the GLib type system. Glib::GenPod: Unable to parse type `NO_OUTPUT gboolean´ at /usr/local/lib/perl/5.10.0/Glib/GenPod.pm line 1059. !! is not registered with the GLib type system. /usr/bin/perl -MExtUtils::Command -e mkpath blib/lib/Gtk2/Notify Creating POD index... Manifying blib/man3/Gtk2::Notify.3pm Manifying blib/man3/Gtk2::Notify::index.3pm FLORA/Gtk2-Notify-0.05.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00-load.........1/1 # Testing Gtk2::Notify 0.05, Perl 5.010000, /usr/bin/perl t/00-load.........ok t/class...........1/7 libnotify-Message: Unable to get session bus: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed. # Failed test 'init' # at t/class.t line 13. # Failed test 'now initted' # at t/class.t line 14. # got: '' # expected: '1' # Looks like you failed 2 tests of 7. t/class........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests (less 2 skipped subtests: 3 okay) t/import..........1/10 Gtk-WARNING **: cannot open display: at /root/.cpan/build/Gtk2-Notify-0.05-CrUUKQ/blib/lib/Gtk2/Notify.pm line 23. t/import.......... Dubious, test returned 1 (wstat 256, 0x100) Failed 4/10 subtests t/notification....skipped: Gtk2->init_check failed, probably unable to open DISPLAY t/pod.............ok Test Summary Report ------------------- t/class (Wstat: 512 Tests: 7 Failed: 2) Failed tests: 2-3 Non-zero exit status: 2 t/import (Wstat: 256 Tests: 6 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 10 tests but ran 6. Files=5, Tests=18, 0 wallclock secs ( 0.05 usr 0.03 sys + 0.57 cusr 0.09 csys = 0.74 CPU) Result: FAIL Failed 2/5 test programs. 2/18 subtests failed. make: *** [test_dynamic] Error 255 FLORA/Gtk2-Notify-0.05.tar.gz
Subject: Re: [rt.cpan.org #40860] Several build errors
Date: Wed, 12 Nov 2008 15:03:38 +0100
To: Darkness Productions via RT <bug-Gtk2-Notify [...] rt.cpan.org>
From: Florian Ragwitz <rafl [...] debian.org>
On Wed, Nov 12, 2008 at 08:54:04AM -0500, Darkness Productions via RT wrote: Show quoted text
> Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/00-load.........1/1 # Testing Gtk2::Notify 0.05, Perl 5.010000, > /usr/bin/perl > t/00-load.........ok > t/class...........1/7 libnotify-Message: Unable to get session bus: > dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 > initialization failed. > > > # Failed test 'init' > # at t/class.t line 13. > > # Failed test 'now initted' > # at t/class.t line 14. > # got: '' > # expected: '1' > # Looks like you failed 2 tests of 7. > t/class........... Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/7 subtests > (less 2 skipped subtests: 3 okay) > t/import..........1/10 Gtk-WARNING **: cannot open display: at > /root/.cpan/build/Gtk2-Notify-0.05-CrUUKQ/blib/lib/Gtk2/Notify.pm line 23. > t/import.......... Dubious, test returned 1 (wstat 256, 0x100) > Failed 4/10 subtests > t/notification....skipped: Gtk2->init_check failed, probably unable to > open DISPLAY > t/pod.............ok > > Test Summary Report > ------------------- > t/class (Wstat: 512 Tests: 7 Failed: 2) > Failed tests: 2-3 > Non-zero exit status: 2 > t/import (Wstat: 256 Tests: 6 Failed: 0) > Non-zero exit status: 1 > Parse errors: Bad plan. You planned 10 tests but ran 6. > Files=5, Tests=18, 0 wallclock secs ( 0.05 usr 0.03 sys + 0.57 cusr > 0.09 csys = 0.74 CPU) > Result: FAIL > Failed 2/5 test programs. 2/18 subtests failed. > make: *** [test_dynamic] Error 255 > FLORA/Gtk2-Notify-0.05.tar.gz
This is caused by your environment not being set up in order to use libnotify. You'll at least need an X session and the DISPLAY environment variable set accordingly. I guess all I can do to fix this is skipping the tests if Gtk2 can't contact your x session, which really isn't of much value. -- BOFH excuse #212: Of course it doesn't work. We've performed a software upgrade.
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #40860] Several build errors
Date: Wed, 12 Nov 2008 14:11:10 +0000
To: Florian Ragwitz via RT <bug-Gtk2-Notify [...] rt.cpan.org>
From: Glendon Solsberry <gms8994 [...] dp.cx>
On Wed, Nov 12, 2008 at 09:04:33AM -0500, Florian Ragwitz via RT said: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40860 > > > On Wed, Nov 12, 2008 at 08:54:04AM -0500, Darkness Productions via RT wrote:
> > Running make test > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > > t/00-load.........1/1 # Testing Gtk2::Notify 0.05, Perl 5.010000, > > /usr/bin/perl > > t/00-load.........ok > > t/class...........1/7 libnotify-Message: Unable to get session bus: > > dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 > > initialization failed. > > > > > > # Failed test 'init' > > # at t/class.t line 13. > > > > # Failed test 'now initted' > > # at t/class.t line 14. > > # got: '' > > # expected: '1' > > # Looks like you failed 2 tests of 7. > > t/class........... Dubious, test returned 2 (wstat 512, 0x200) > > Failed 2/7 subtests > > (less 2 skipped subtests: 3 okay) > > t/import..........1/10 Gtk-WARNING **: cannot open display: at > > /root/.cpan/build/Gtk2-Notify-0.05-CrUUKQ/blib/lib/Gtk2/Notify.pm line 23. > > t/import.......... Dubious, test returned 1 (wstat 256, 0x100) > > Failed 4/10 subtests > > t/notification....skipped: Gtk2->init_check failed, probably unable to > > open DISPLAY > > t/pod.............ok > > > > Test Summary Report > > ------------------- > > t/class (Wstat: 512 Tests: 7 Failed: 2) > > Failed tests: 2-3 > > Non-zero exit status: 2 > > t/import (Wstat: 256 Tests: 6 Failed: 0) > > Non-zero exit status: 1 > > Parse errors: Bad plan. You planned 10 tests but ran 6. > > Files=5, Tests=18, 0 wallclock secs ( 0.05 usr 0.03 sys + 0.57 cusr > > 0.09 csys = 0.74 CPU) > > Result: FAIL > > Failed 2/5 test programs. 2/18 subtests failed. > > make: *** [test_dynamic] Error 255 > > FLORA/Gtk2-Notify-0.05.tar.gz
> > This is caused by your environment not being set up in order to use > libnotify. You'll at least need an X session and the DISPLAY environment > variable set accordingly. I guess all I can do to fix this is skipping > the tests if Gtk2 can't contact your x session, which really isn't of > much value. > > > -- > BOFH excuse #212: > Of course it doesn't work. We've performed a software upgrade. >
Makes sense. I managed to install it by starting Xvfb first. Thanks again! -- Glen Solsberry Please note that all messages are signed by my GPG key (0xBF0C1C33). If you received a message from me that wasn't signed, it probably wasn't from me. IRC at irc.aknarra.net:6667 #lobby http://www.dp.cx Always bear in mind that your own resolution to success is more important than any other one thing. --- Abraham Lincoln
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.