Skip Menu |

This queue is for tickets about the RTx-Shredder CPAN distribution.

Report information
The Basics
Id: 16388
Status: resolved
Priority: 0/
Queue: RTx-Shredder

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Does not check dependencies
Perhaps you could add the RT modules to the dependency checker in Makefile.PL? /usr/bin/make -- OK Running make test Prepending /root/.cpan/build/Data-Dumper-2.121/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/lib to PERL5LIB. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00load........Can't locate RT/ObjectCustomFieldValue.pm in @INC (@INC contains: /root/.cpan/build/RTx-Shredder-0.02/inc /root/.cpan/build/RTx-Shredder-0.02/blib/lib /root/.cpan/build/RTx-Shredder-0.02/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/lib /usr/local/lib/perl5/site_perl/5.8.7/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /opt/rt3/local/lib /opt/rt3/lib /opt/rt3/local/lib /opt/rt3/lib) at /root/.cpan/build/RTx-Shredder-0.02/blib/lib/RTx/Shredder/ObjectCustomFieldValue.pm line 1. BEGIN failed--compilation aborted at /root/.cpan/build/RTx-Shredder-0.02/blib/lib/RTx/Shredder/ObjectCustomFieldValue.pm line 1. Compilation failed in require at /root/.cpan/build/RTx-Shredder-0.02/blib/lib/RTx/Shredder.pm line 136. BEGIN failed--compilation aborted at /root/.cpan/build/RTx-Shredder-0.02/blib/lib/RTx/Shredder.pm line 140. Compilation failed in require at t/utils.pl line 15. BEGIN failed--compilation aborted at t/utils.pl line 15. Compilation failed in require at t/00load.t line 3. BEGIN failed--compilation aborted at t/00load.t line 3. # Looks like your test died before it could output anything. t/00load........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/00skeleton....Can't locate Test/Deep.pm in @INC (@INC contains: /root/.cpan/build/RTx-Shredder-0.02/inc /root/.cpan/build/RTx-Shredder-0.02/blib/lib /root/.cpan/build/RTx-Shredder-0.02/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/lib /usr/local/lib/perl5/site_perl/5.8.7/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at t/00skeleton.t line 7. BEGIN failed--compilation aborted at t/00skeleton.t line 7. # Looks like your test died before it could output anything. t/00skeleton....dubious Test returned status 2 (wstat 512, 0x200) t/01basics......Can't locate Test/Deep.pm in @INC (@INC contains: /root/.cpan/build/RTx-Shredder-0.02/inc /root/.cpan/build/RTx-Shredder-0.02/blib/lib /root/.cpan/build/RTx-Shredder-0.02/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/arch /root/.cpan/build/Data-Dumper-2.121/blib/lib /usr/local/lib/perl5/site_perl/5.8.7/ /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at t/01basics.t line 7. BEGIN failed--compilation aborted at t/01basics.t line 7. # Looks like your test died before it could output anything. t/01basics......dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00load.t 2 512 1 1 100.00% 1 t/00skeleton.t 2 512 ?? ?? % ?? t/01basics.t 2 512 ?? ?? % ?? Failed 3/3 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Show quoted text
cpan>
From: lgoddard [...] cpan.org
[LGODDARD - Fri Dec 9 09:16:40 2005]: Show quoted text
> Perhaps you could add the RT modules to the dependency checker in > Makefile.PL?
So I'm just your average schmoo installing this stuff for clients, and CPAN'd it. Error. Checked cpan.org to find that this module has failed all tests on record. I edited Makefile.PL and added to @INC the silly location of RT (/opt/rt3/...) and managed to get the module to find RT. Then make test said.... Using RT configurations from /opt/rt3/lib//RT.pm: ./lib => /opt/rt3/local/lib ./sbin => /opt/rt3/local/sbin Open input '/root/.cpan/build/RTx-Shredder-0.02/sbin/rtx-shredder' file for subs titution Open output '/root/.cpan/build/RTx-Shredder-0.02/sbin/rtx-shredder' file for sub stitution Open input '/root/.cpan/build/RTx-Shredder-0.02/sbin/rtx-validator' file for sub stitution Open output '/root/.cpan/build/RTx-Shredder-0.02/sbin/rtx-validator' file for su bstitution Open input '/root/.cpan/build/RTx-Shredder-0.02/lib/RTx/Shredder.pm' file for su bstitution Open output '/root/.cpan/build/RTx-Shredder-0.02/lib/RTx/Shredder.pm' file for s ubstitution Open input '/root/.cpan/build/RTx-Shredder-0.02/t/utils.pl' file for substitutio n Open output '/root/.cpan/build/RTx-Shredder-0.02/t/utils.pl' file for substituti on Warning: prerequisite RT 3.4 not found. We have 3.0.9. Warning: prerequisite Test::Deep 0 not found. Writing Makefile for RTx::Shredder [root@dave11 RTx-Shredder-0.02]# make Skip blib/lib/RTx/Shredder/Dependencies.pm (unchanged) Skip blib/lib/RTx/Shredder/Exceptions.pm (unchanged) Skip blib/lib/RTx/Shredder/Principal.pm (unchanged) Skip blib/lib/RTx/Shredder/ACE.pm (unchanged) Skip blib/lib/RTx/Shredder/ObjectCustomFieldValue.pm (unchanged) Skip blib/lib/RTx/Shredder/Transaction.pm (unchanged) Skip blib/lib/RTx/Shredder/Link.pm (unchanged) Skip blib/lib/RTx/Shredder/Constants.pm (unchanged) Skip blib/lib/RTx/Shredder/GroupMember.pm (unchanged) Skip blib/lib/RTx/Shredder/Template.pm (unchanged) Skip blib/lib/RTx/Shredder/User.pm (unchanged) Skip blib/lib/RTx/Shredder/CachedGroupMember.pm (unchanged) Skip blib/lib/RTx/Shredder/Attachment.pm (unchanged) cp lib/RTx/Shredder.pm blib/lib/RTx/Shredder.pm Skip blib/lib/RTx/Shredder/Dependency.pm (unchanged) Skip blib/lib/RTx/Shredder/Scrip.pm (unchanged) Skip blib/lib/RTx/Shredder/Queue.pm (unchanged) Skip blib/lib/RTx/Shredder/CustomFieldValue.pm (unchanged) Skip blib/lib/RTx/Shredder/CustomField.pm (unchanged) Skip blib/lib/RTx/Shredder/Group.pm (unchanged) Skip blib/lib/RTx/Shredder/ScripCondition.pm (unchanged) Skip blib/lib/RTx/Shredder/Record.pm (unchanged) Skip blib/lib/RTx/Shredder/ScripAction.pm (unchanged) Skip blib/lib/RTx/Shredder/Ticket.pm (unchanged) Manifying blib/man3/RTx::Shredder::Dependencies.3pm Manifying blib/man3/RTx::Shredder.3pm Manifying blib/man3/RTx::Shredder::Constants.3pm [root@dave11 RTx-Shredder-0.02]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00load........Can't locate RT/ObjectCustomFieldValue.pm in @INC (@INC contains : /root/.cpan/build/RTx-Shredder-0.02/inc /root/.cpan/build/RTx- Shredder-0.02/bl ib/lib /root/.cpan/build/RTx-Shredder- 0.02/blib/arch /usr/local/lib/perl5/site_p erl/5.8.7/ /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib/perl5/5.8.0/i38 6-linux-thread- multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-li nux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib /perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux- thread-multi /u sr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/ve ndor_perl /5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386- linux-threa d- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0 /i386-l inux-thread- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /u sr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386- linux-threa d-multi /usr/lib/perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr /lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib /perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_p erl/5.8.0 /i386-linux-thread- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_ perl /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib/perl5/5.8.0 . /opt/rt 3/local/lib /opt/rt3/lib/ /opt/rt3/local/lib /opt/rt3/lib/) at /root/.cpan/build /RTx-Shredder-0.02/blib/lib/RTx/Shredder/ObjectCustomFieldValue.pm line 1. BEGIN failed--compilation aborted at /root/.cpan/build/RTx-Shredder- 0.02/blib/li b/RTx/Shredder/ObjectCustomFieldValue.pm line 1. Compilation failed in require at /root/.cpan/build/RTx-Shredder- 0.02/blib/lib/RT x/Shredder.pm line 136. BEGIN failed--compilation aborted at /root/.cpan/build/RTx-Shredder- 0.02/blib/li b/RTx/Shredder.pm line 140. Compilation failed in require at t/utils.pl line 15. BEGIN failed--compilation aborted at t/utils.pl line 15. Compilation failed in require at t/00load.t line 3. BEGIN failed--compilation aborted at t/00load.t line 3. # Looks like your test died before it could output anything. t/00load........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/00skeleton....Can't locate Test/Deep.pm in @INC (@INC contains: /root/.cpan/bu ild/RTx-Shredder-0.02/inc /root/.cpan/build/RTx-Shredder- 0.02/blib/lib /root/.cp an/build/RTx-Shredder- 0.02/blib/arch /usr/local/lib/perl5/site_perl/5.8.7/ /usr/ lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386- linux-thread-m ulti /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux- thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/site_perl /5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/sit e_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/ i386-linu x-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread- multi /usr/lib /perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux- thread-mult i /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/ perl5/5.8 .0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib /perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/site_perl /5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386- linux-thre ad- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/ lib/pe rl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at t/00skeleton.t line 7. BEGIN failed--compilation aborted at t/00skeleton.t line 7. # Looks like your test died before it could output anything. t/00skeleton....dubious Test returned status 2 (wstat 512, 0x200) t/01basics......Can't locate Test/Deep.pm in @INC (@INC contains: /root/.cpan/bu ild/RTx-Shredder-0.02/inc /root/.cpan/build/RTx-Shredder- 0.02/blib/lib /root/.cp an/build/RTx-Shredder- 0.02/blib/arch /usr/local/lib/perl5/site_perl/5.8.7/ /usr/ lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386- linux-thread-m ulti /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux- thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/site_perl /5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/sit e_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/ i386-linu x-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread- multi /usr/lib /perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux- thread-mult i /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/ perl5/5.8 .0/i386-linux-thread-multi /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib /perl5/5.8.0 . /usr/lib/perl5/5.8.0/i386-linux-thread- multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread- multi /usr/lib/perl5/site_perl /5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386- linux-thre ad- multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/ lib/pe rl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at t/01basics.t line 7 . BEGIN failed--compilation aborted at t/01basics.t line 7. # Looks like your test died before it could output anything. t/01basics......dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/00load.t 2 512 1 1 100.00% 1 t/00skeleton.t 2 512 ?? ?? % ?? t/01basics.t 2 512 ?? ?? % ?? Failed 3/3 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
I think this can be resolved. Shredder is part of RT 3.8. This extension still can be used with 3.6, versions compatible with older releases of RT are documented. -- Best regards, Ruslan.