[rt-users] RT::Extension::LDAPImport install fails

Giuseppe Sollazzo gsollazz at sgul.ac.uk
Thu May 26 08:58:00 EDT 2011


Hi,
I'm trying to install LDAPImport and I'm stuck with an error which I 
can't properly understand stating " You tried to plan twice".
Can anyone give me a hint?
Full error export follows.

Thanks,
Giuseppe

# cpan install RT::Extension::LDAPImport
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
   Database was generated on Thu, 26 May 2011 01:39:53 GMT
install is up to date.
Running install for module RT::Extension::LDAPImport
Running make for F/FA/FALCONE/RT-Extension-LDAPImport-0.31.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for 
/root/.cpan/sources/authors/id/F/FA/FALCONE/RT-Extension-LDAPImport-0.31.tar.gz 
ok
Scanning cache /root/.cpan/build for sizes
RT-Extension-LDAPImport-0.31/
RT-Extension-LDAPImport-0.31/bin/
RT-Extension-LDAPImport-0.31/Changes
RT-Extension-LDAPImport-0.31/inc/
RT-Extension-LDAPImport-0.31/INSTALL.SKIP
RT-Extension-LDAPImport-0.31/lib/
RT-Extension-LDAPImport-0.31/Makefile.PL
RT-Extension-LDAPImport-0.31/MANIFEST
RT-Extension-LDAPImport-0.31/MANIFEST.SKIP
RT-Extension-LDAPImport-0.31/META.yml
RT-Extension-LDAPImport-0.31/README
RT-Extension-LDAPImport-0.31/SIGNATURE
RT-Extension-LDAPImport-0.31/t/
RT-Extension-LDAPImport-0.31/t/00.load.t
RT-Extension-LDAPImport-0.31/t/group-import.t
RT-Extension-LDAPImport-0.31/t/lib/
RT-Extension-LDAPImport-0.31/t/pod-coverage.t
RT-Extension-LDAPImport-0.31/t/pod.t
RT-Extension-LDAPImport-0.31/t/user-import-privileged.t
RT-Extension-LDAPImport-0.31/t/user-import.t
RT-Extension-LDAPImport-0.31/t/lib/RT/
RT-Extension-LDAPImport-0.31/t/lib/RT/Extension/
RT-Extension-LDAPImport-0.31/t/lib/RT/Extension/LDAPImport/
RT-Extension-LDAPImport-0.31/t/lib/RT/Extension/LDAPImport/Test.pm.in
RT-Extension-LDAPImport-0.31/lib/RT/
RT-Extension-LDAPImport-0.31/lib/RT/Extension/
RT-Extension-LDAPImport-0.31/lib/RT/Extension/LDAPImport.pm
RT-Extension-LDAPImport-0.31/inc/Module/
RT-Extension-LDAPImport-0.31/inc/Module/AutoInstall.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/
RT-Extension-LDAPImport-0.31/inc/Module/Install.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/AutoInstall.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Base.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Can.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Fetch.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Include.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Makefile.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Metadata.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/RTx.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Substitute.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/Win32.pm
RT-Extension-LDAPImport-0.31/inc/Module/Install/WriteAll.pm
/bin/tar: Read 3072 bytes from -
RT-Extension-LDAPImport-0.31/bin/rtldapimport.in
Removing previously used /root/.cpan/build/RT-Extension-LDAPImport-0.31

   CPAN.pm: Going to build F/FA/FALCONE/RT-Extension-LDAPImport-0.31.tar.gz

Cannot determine perl version info from lib/RT/Extension/LDAPImport.pm
Using RT configuration from /opt/rt4/lib/RT.pm:
./bin    => /opt/rt4/local/plugins/RT-Extension-LDAPImport/bin
./lib    => /opt/rt4/local/plugins/RT-Extension-LDAPImport/lib
Cannot determine perl version info from lib/RT/Extension/LDAPImport.pm
Open input 
'/root/.cpan/build/RT-Extension-LDAPImport-0.31/bin/rtldapimport.in' 
file for substitution
Open output 
'/root/.cpan/build/RT-Extension-LDAPImport-0.31/bin/rtldapimport' file 
for substitution
Open input 
'/root/.cpan/build/RT-Extension-LDAPImport-0.31/t/lib/RT/Extension/LDAPImport/Test.pm.in' 
file for substitution
Open output 
'/root/.cpan/build/RT-Extension-LDAPImport-0.31/t/lib/RT/Extension/LDAPImport/Test.pm' 
file for substitution
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More              ...loaded. (0.98)
- Net::LDAP               ...loaded. (0.4001)
- Class::Accessor         ...loaded. (0.34)
[Proper Testing]
- Net::LDAP::Server::Test ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [n] n
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for RT::Extension::LDAPImport
cp lib/RT/Extension/LDAPImport.pm blib/lib/RT/Extension/LDAPImport.pm
Manifying blib/man3/RT::Extension::LDAPImport.3pm
   /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/00.load.t 
t/group-import.t t/pod-coverage.t t/pod.t t/user-import-privileged.t 
t/user-import.t
t/00.load.t ................. 1/1 # Testing RT::Extension::LDAPImport 0.31
t/00.load.t ................. ok
t/group-import.t ............ 1/43 You tried to plan twice at 
t/group-import.t line 5.
You tried to plan twice at t/group-import.t line 5.
# Looks like you planned 43 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/group-import.t ............ Dubious, test returned 255 (wstat 65280, 
0xff00)
Failed 40/43 subtests
t/pod-coverage.t ............ ok
t/pod.t ..................... ok
t/user-import-privileged.t .. 1/34 You tried to plan twice at 
t/user-import-privileged.t line 5.
You tried to plan twice at t/user-import-privileged.t line 5.
# Looks like you planned 34 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/user-import-privileged.t .. Dubious, test returned 255 (wstat 65280, 
0xff00)
Failed 31/34 subtests
t/user-import.t ............. 1/37 You tried to plan twice at 
t/user-import.t line 5.
You tried to plan twice at t/user-import.t line 5.
# Looks like you planned 37 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/user-import.t ............. Dubious, test returned 255 (wstat 65280, 
0xff00)
Failed 34/37 subtests

Test Summary Report
-------------------
t/group-import.t          (Wstat: 65280 Tests: 3 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 43 tests but ran 3.
t/user-import-privileged.t (Wstat: 65280 Tests: 3 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 34 tests but ran 3.
t/user-import.t           (Wstat: 65280 Tests: 3 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 37 tests but ran 3.
Files=6, Tests=12,  7 wallclock secs ( 0.03 usr  0.01 sys +  3.43 cusr  
0.23 csys =  3.70 CPU)
Result: FAIL
Failed 3/6 test programs. 0/12 subtests failed.
make: *** [test_dynamic] Error 255
   /usr/bin/make test -- NOT OK
Running make install
   make test had returned bad status, won't install without force

-- 
____________________________________

Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsollazz at sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583





More information about the rt-users mailing list