Skip Menu |

This queue is for tickets about the Net-CUPS CPAN distribution.

Report information
The Basics
Id: 38577
Status: resolved
Priority: 0/
Queue: Net-CUPS

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

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



Subject: make tests prompts for "Password for cpan on localhost?"
After installing Net-CUPS-0.57 using the CPAN smoking process on Mandriva Linux Cooker, I'm getting the following: {{{{ [cpan@telaviv1 Net-CUPS-0.57]$ make test PERL_DL_NONLAZY=1 /home/cpan/apps/perl-5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_use............ok t/02_cups...........ok t/03_destination....ok 7/11Password for cpan on localhost? Password for cpan on localhost? # Failed test at t/03_destination.t line 43. Can't call method "getDescription" on an undefined value at t/03_destination.t line 45. # Looks like you planned 11 tests but only ran 8. # Looks like you failed 1 test of 8 run. # Looks like your test died just after 8. t/03_destination....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 8-11 Failed 4/11 tests, 63.64% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/03_destination.t 255 65280 11 7 8-11 Failed 1/3 test scripts. 4/23 subtests failed. Files=3, Tests=23, 46 wallclock secs ( 1.63 cusr + 0.12 csys = 1.75 CPU) Failed 1/3 test programs. 4/23 subtests failed. make: *** [test_dynamic] Error 255 }}}} Why does it ask me for password even with {{{export PERL_MM_USE_DEFAULT=1}}} ? This interrupts the smoking process. Regards, Shlomi Fish
I am not sure why it asks for a cpan password. What it is doing at that point of the test is attempting to add a destination to the cups system that it will later remove. A normal user can't add a cups destination. You need to either a) do it as root (bad juju, I know) or b) make your normal user have the ability to add a destination to cups. In all honesty, I am thinking about removing the test. They are just too much effort. On Tue Aug 19 05:17:21 2008, SHLOMIF wrote: Show quoted text
> After installing Net-CUPS-0.57 using the CPAN smoking process on > Mandriva Linux Cooker, I'm getting the following: > > {{{{ > [cpan@telaviv1 Net-CUPS-0.57]$ make test > PERL_DL_NONLAZY=1 /home/cpan/apps/perl-5.10.0/bin/perl "- > MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', > 'blib/arch')" > t/*.t > t/01_use............ok > t/02_cups...........ok > t/03_destination....ok 7/11Password for cpan on localhost? > Password for cpan on localhost? > > # Failed test at t/03_destination.t line 43. > Can't call method "getDescription" on an undefined value at > t/03_destination.t line 45. > # Looks like you planned 11 tests but only ran 8. > # Looks like you failed 1 test of 8 run. > # Looks like your test died just after 8. > t/03_destination....dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 8-11 > Failed 4/11 tests, 63.64% okay > Failed Test Stat Wstat Total Fail List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/03_destination.t 255 65280 11 7 8-11 > Failed 1/3 test scripts. 4/23 subtests failed. > Files=3, Tests=23, 46 wallclock secs ( 1.63 cusr + 0.12 csys = 1.75 > CPU) > Failed 1/3 test programs. 4/23 subtests failed. > make: *** [test_dynamic] Error 255 > }}}} > > Why does it ask me for password even with {{{export > PERL_MM_USE_DEFAULT=1}}} ? This interrupts the smoking process. > > Regards, > > Shlomi Fish