Skip Menu |
 

This queue is for tickets about the File-ChangeNotify CPAN distribution.

Report information
The Basics
Id: 47814
Status: stalled
Priority: 0/
Queue: File-ChangeNotify

People
Owner: Nobody in particular
Requestors: sflitman [...] xenoscience.com
Cc:
AdminCc:

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



Subject: Cannot install easily on Debian Etch
Download (untitled) / with headers
text/plain 2.7k
On Debian Etch: Linux xenoscience.net 2.6.24-etchnhalf.1-686 #1 SMP Mon Sep 8 06:19:11 UTC 2008 i686 GNU/Linux CPAN installation gives: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/all.t ........... Could not load class (File::ChangeNotify::Watcher::Inotify) because : Bareword "IN_DONT_FOLLOW" not allowed while "strict subs" in use at /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify/Watcher/Inotify.pm line 109. BEGIN not safe after errors--compilation aborted at /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify/Watcher/Inotify.pm line 192. Compilation failed in require at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 134. at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 119 Class::MOP::load_first_existing_class('File::ChangeNotify::Watcher::Inotify') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 140 Class::MOP::load_class('File::ChangeNotify::Watcher::Inotify') called at /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm line 38 eval {...} called at /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm line 38 File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Inotify') called at /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm line 31 File::ChangeNotify::usable_classes('File::ChangeNotify') called at t/lib/File/ChangeNotify/TestHelper.pm line 20 File::ChangeNotify::TestHelper::run_tests() called at t/all.t line 8 t/all.t ........... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/kwalitee.t ...... skipped: This test is only run for the module author t/pod-coverage.t .. skipped: This test is only run for the module author t/pod.t ........... skipped: This test is only run for the module author Test Summary Report ------------------- t/all.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output Files=4, Tests=0, 2 wallclock secs ( 0.12 usr 0.03 sys + 2.02 cusr 0.13 csys = 2.30 CPU) Result: FAIL Failed 1/4 test programs. 0/0 subtests failed.So, eventually I got this to work with Linux::Inotify2 1.01 and make: *** [test_dynamic] Error 255 DROLSKY/File-ChangeNotify-0.07.tar.gz /usr/bin/make test -- NOT OK Note that dependency Linux::Inotify2's Inotify.xs also would not compile initially as it wanted to include '/usr/include/sys/inotify.h' which I found in '/usr/include/linux/inotify.h'. So, eventually I got this to work with Linux::Inotify2 1.01 and by installing Debian package libinotifytools0-dev, then reinstalling your module via CPAN. So...figured you'd like to know it took some doing. SSF
Subject: Re: [rt.cpan.org #47814] Cannot install easily on Debian Etch
Date: Mon, 13 Jul 2009 16:12:28 -0500 (CDT)
To: Steve Flitman via RT <bug-File-ChangeNotify [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 790b
On Sun, 12 Jul 2009, Steve Flitman via RT wrote: Show quoted text
> t/all.t ........... Could not load class > (File::ChangeNotify::Watcher::Inotify) because : Bareword > "IN_DONT_FOLLOW" not allowed while "strict subs" in use at > /home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify/Watcher/Inotify.pm > line 109.
I'm not sure how this could happen. If Linux::Inotify2 just isn't installed, you won't get this error. It seems like you had the Linux/Inotify2.pm installed but the XS hadn't actually compiled or something. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.