vrag86 / perl-net-google-drive

Perl module for Google drive API
0 stars 4 forks source link

Undeclared dependency Data::Printer #2

Closed eserte closed 4 years ago

eserte commented 6 years ago

Tests fail if Data::Printer is not installed:

PERL_DL_NONLAZY=1 "/usr/perl5.22.4p/bin/perl5.22.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate Data/Printer.pm in @INC (you may need to install the Data::Printer module) (@INC contains: ... .) at lib/Net/Google/Drive.pm line 20.
BEGIN failed--compilation aborted at lib/Net/Google/Drive.pm line 20.
Compilation failed in require at t/001_test_googledrive.t line 24.
BEGIN failed--compilation aborted at t/001_test_googledrive.t line 24.
t/001_test_googledrive.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
sparvu commented 4 years ago

yes. I have the same problem. What this module has anything to do with Data::Printer ? Can you please fix this?

Running make test for VRAG/Net-Google-OAuth-0.03.tar.gz
PERL_DL_NONLAZY=1 "/opt/kronometrix/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_test_googleoath.t .. ok   
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.08 cusr  0.01 csys =  0.12 CPU)
Result: PASS
  VRAG/Net-Google-OAuth-0.03.tar.gz
  make test -- OK
Running make install for VRAG/Net-Google-OAuth-0.03.tar.gz
Installing /opt/kronometrix/perl/lib/site_perl/5.32.0/Net/Google/OAuth.pm
Appending installation info to /opt/kronometrix/perl/lib/5.32.0/x86_64-linux/perllocal.pod
  VRAG/Net-Google-OAuth-0.03.tar.gz
  make install  -- OK
  VRAG/Net-Google-Drive-0.01.tar.gz
  Has already been unwrapped into directory /var/tmp/.cpan/build/Net-Google-Drive-0.01-0
  VRAG/Net-Google-Drive-0.01.tar.gz
  Has already been prepared
Running make for V/VR/VRAG/Net-Google-Drive-0.01.tar.gz
cp lib/Net/Google/Drive.pm blib/lib/Net/Google/Drive.pm
  VRAG/Net-Google-Drive-0.01.tar.gz
  make -- OK
The current configuration of allow_installing_outdated_dists is 'ask/yes', but for this option we would need 'CPAN::DistnameInfo' installed. Please install 'CPAN::DistnameInfo' as soon as possible. As long as we are not equipped with 'CPAN::DistnameInfo' this option does not take effect
Running make test for VRAG/Net-Google-Drive-0.01.tar.gz
PERL_DL_NONLAZY=1 "/opt/kronometrix/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_test_googledrive.t .. Can't locate Data/Printer.pm in @INC (you may need to install the Data::Printer module) (@INC contains: /home/vrag/perl/googleoauth/lib lib /var/tmp/.cpan/build/Net-Google-Drive-0.01-0/blib/lib /var/tmp/.cpan/build/Net-Google-Drive-0.01-0/blib/arch /opt/kronometrix/perl/lib/site_perl/5.32.0/x86_64-linux /opt/kronometrix/perl/lib/site_perl/5.32.0 /opt/kronometrix/perl/lib/5.32.0/x86_64-linux /opt/kronometrix/perl/lib/5.32.0 .) at lib/Net/Google/Drive.pm line 20.
BEGIN failed--compilation aborted at lib/Net/Google/Drive.pm line 20.
Compilation failed in require at t/001_test_googledrive.t line 24.
BEGIN failed--compilation aborted at t/001_test_googledrive.t line 24.
t/001_test_googledrive.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/001_test_googledrive.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.04 cusr  0.00 csys =  0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
  VRAG/Net-Google-Drive-0.01.tar.gz
  make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports VRAG/Net-Google-Drive-0.01.tar.gz
Failed during this command:
 VRAG/Net-Google-Drive-0.01.tar.gz            : make_test NO
vrag86 commented 4 years ago

I upload on cpan new version Net-Google-Drive-0.02

sparvu commented 4 years ago

Thx. Will test soon