Skip Menu |

This queue is for tickets about the App-Cpan CPAN distribution.

Report information
The Basics
Id: 76004
Status: resolved
Priority: 0/
Queue: App-Cpan

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

Bug Information
Severity: Critical
Broken in:
  • 1.58
  • 1.58_01
Fixed in: (no value)



Subject: Undocumented "be_silent" arg change hides "normal" CPAN output and installs modules whose tests fail
I thought it seemed like my `cpan` command was printing less output than it used to... I also thought it was odd that some of the dists that used to fail to install had somehow gotten installed... Diffing ~/perl5/perlbrew/perls/perl-5.15.9/lib/5.15.9/App/Cpan.pm (1.5701) with ~/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2/App/Cpan.pm (1.58) (and (1.58_01)) I noticed that a 'be_silent => 1' arg had been uncommented (and was now being passed in). Sure enough if I comment that out I see my expected colored CPAN.pm output and it refuses to install dists that fail. If I put the 'be_silent' back, I see little output, and dists that should fail install anyway. For the attached files I did: cpan BOOK/Acme-MetaSyntactic-0.99_02.tar.gz cpan SZABGAB/Term-ProgressBar-2.11.tar.gz then changed the file and ran them again.
Subject: cpan-be_silent-1-test-fail-install-anyway.txt

Message body is not shown because it is too large.

Subject: cpan-be_silent-0-test-fail.txt

Message body is not shown because it is too large.

Subject: cpan-be_silent-1-signature-fail-install-anyway.txt
WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Term-ProgressBar-2.11/ Term-ProgressBar-2.11/configure Term-ProgressBar-2.11/Changes Term-ProgressBar-2.11/INSTALL Term-ProgressBar-2.11/MYMETA.json Term-ProgressBar-2.11/SIGNATURE Term-ProgressBar-2.11/README Term-ProgressBar-2.11/MANIFEST Term-ProgressBar-2.11/examples/ Term-ProgressBar-2.11/examples/powers3 Term-ProgressBar-2.11/examples/smooth_bar.pl Term-ProgressBar-2.11/examples/powers2 Term-ProgressBar-2.11/examples/powers5 Term-ProgressBar-2.11/examples/simple_use.pl Term-ProgressBar-2.11/examples/powers Term-ProgressBar-2.11/examples/powers4 Term-ProgressBar-2.11/Makefile.PL Term-ProgressBar-2.11/MANIFEST.SKIP Term-ProgressBar-2.11/MYMETA.yml Term-ProgressBar-2.11/lib/ Term-ProgressBar-2.11/lib/Term/ Term-ProgressBar-2.11/lib/Term/ProgressBar.pm Term-ProgressBar-2.11/t/ Term-ProgressBar-2.11/t/compat.t Term-ProgressBar-2.11/t/name.t Term-ProgressBar-2.11/t/0-signature.t Term-ProgressBar-2.11/t/v2-message.t Term-ProgressBar-2.11/t/v2-simple.t Term-ProgressBar-2.11/t/v2-mobile.t Term-ProgressBar-2.11/t/v1-message.t Term-ProgressBar-2.11/t/eta-linear.t Term-ProgressBar-2.11/t/zero.t Term-ProgressBar-2.11/META.json Term-ProgressBar-2.11/BUGS Term-ProgressBar-2.11/META.yml WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 643D F5B3 7DEE DF04 542B 2676 57A7 9945 C578 58AD --- SIGNATURE Tue Nov 29 23:42:12 2011 +++ (current) Fri Mar 23 09:10:10 2012 @@ -1,11 +1,13 @@ SHA1 308e635e1928d03e6c92ef224557847e18f492a6 BUGS -SHA1 466429e1cefc8de46f7310bc7c64e6ac6af108e0 Build.PL -SHA1 2cb916a845f60e44d62efe689de063d7bef20a99 Changes +SHA1 3c800c4dd3915a01c856b79211286ee43f599fe0 Changes SHA1 efa8cb615886410be8de15f5a6925697f624d278 INSTALL -SHA1 d0e591b2e5eafcc9a8de8ff9eda691fad5f85ffc MANIFEST -SHA1 5c69f53a9cb6f5f717dd1d02266fc7c9f675a902 MANIFEST.SKIP -SHA1 45fa692c1ad1ec954fe181c2d77b674f478a4201 META.yml -SHA1 c88a83fd974fad3c16428163c87d3e6835296ae7 Makefile.PL +SHA1 98b9c363ae32b81f9450e7baf82ba9470c37628d MANIFEST +SHA1 ab641041c2b5d85a7031d8ba3473bd8c42f01bb8 MANIFEST.SKIP +SHA1 a0fe3b605349294739d60c9adfbb536561adc47c META.json +SHA1 e5edcc8e412d0528338ebad9662f9345a833dfde META.yml +SHA1 04db5af9072debd064ba37ec31e24160c6577a8a MYMETA.json +SHA1 a0e656219e6fb66d669e896db5746135ee273971 MYMETA.yml +SHA1 4e481451f94675871b0658d1f654ea8688916c04 Makefile.PL SHA1 0de078a628603bf24ba4d01f2eb004360661be68 README SHA1 8f869f84e72c6fc7ac89ce26326bf981505be467 configure SHA1 8a4e566bff0ad33481975d55bcef13a9244bde16 examples/powers @@ -13,15 +15,15 @@ SHA1 ff6df90436963b2b7e73f8ce6d6327f2dbcad1c3 examples/powers3 SHA1 0fca941997cba7e66d39d4cec737ef09ee7df454 examples/powers4 SHA1 37691f612074aa2fcea31c3b17c6ee46640f43db examples/powers5 -SHA1 cef7ba06dd315bf803d87ab7753ed7b92fb45818 lib/Term/ProgressBar.pm +SHA1 5ebb30b435aadfecfd4a739858765cf701276a03 examples/simple_use.pl -SHA1 37ba03162a46931b496a18413401d8f25b303cf1 make-pm +SHA1 9012f96ee6967b2fbad9dd93e18e5bf4543f0d41 examples/smooth_bar.pl -SHA1 e7569e5eeef2a8558e6d4828be087a6e1a841295 t/0-signature.t +SHA1 e2edde6f9149faed51b5bcf8a8a3ebddb8ecf66c lib/Term/ProgressBar.pm -SHA1 433e3ecad2aa8a7b3bb2f3766b17c195b33cbcc5 t/compat.t +SHA1 81c3e7c2d8c2f05810c4095ea4d05c8739f08ff8 t/0-signature.t -SHA1 f02bc46da7e3c83478c244adfad443f9c1a2b4ca t/eta-linear.t +SHA1 96b5f2188f0170c11378ec92adc20fb5883ff892 t/compat.t -SHA1 f3b178ae1e9f1f1789443522ac861c8421f93eee t/name.t +SHA1 d5cb7f51c62128875c6bd5d22f38e8fce4a92b76 t/eta-linear.t -SHA1 037b2bf330c9ce722c1d122e4e561c610f4fee83 t/test.pm +SHA1 3ddce6d08154cea2eb7d7d41b9e4ec644165aa1d t/name.t -SHA1 ab36b1695c7ca9281da620347487bf88d02e66da t/v1-message.t +SHA1 8a09c2e0a40d22229fc0526f8502d41798a331ca t/v1-message.t -SHA1 91f9f8f0765d5d7924c4c130934facb91eca6833 t/v2-message.t +SHA1 103b5bfbd204e028a2bf998df13f945d6d7f5e72 t/v2-message.t -SHA1 87ecb3158e5eb9fe020c819e2d2f80ff8be45d92 t/v2-mobile.t +SHA1 b995f39dcc7a9488cdf1125ff8d1d36f90a30963 t/v2-mobile.t -SHA1 119b353912834b0040150a7094bf14425be03936 t/v2-simple.t +SHA1 89fe9b2c923c15a6a80bb4764e50f1186154e724 t/v2-simple.t -SHA1 9048c3d6b67959e3cd598ac0e151daff435f39fe t/zero.t +SHA1 be5ba15d10609cf3e94d92b6da704433f24209b2 t/zero.t ==> MISMATCHED content between SIGNATURE and distribution files! <== Checking if your kit is complete... Looks good Writing Makefile for Term-ProgressBar Writing MYMETA.yml and MYMETA.json (/home/rando/perl5/perlbrew/perls/5.14.2-st/bin/perl5.14.2 Makefile.PL INSTALLDIRS=site exited with 0) cp lib/Term/ProgressBar.pm blib/lib/Term/ProgressBar.pm Manifying blib/man3/Term::ProgressBar.3 (/usr/bin/make exited with 0) PERL_DL_NONLAZY=1 /home/rando/perl5/perlbrew/perls/5.14.2-st/bin/perl5.14.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0-signature.t .. skipped: Signature has not been updated # create a bar # do half the stuff and check half the bar has printed t/compat.t ....... ok t/eta-linear.t ... ok t/name.t ......... ok t/v1-message.t ... ok t/v2-message.t ... ok t/v2-mobile.t .... ok t/v2-simple.t .... ok t/zero.t ......... ok All tests successful. Files=9, Tests=104, 10 wallclock secs ( 0.04 usr 0.01 sys + 0.59 cusr 0.07 csys = 0.71 CPU) Result: PASS (/usr/bin/make test exited with 0) Appending installation info to /home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/perllocal.pod
Subject: cpan-be_silent-0-signature-fail.txt
CPAN: Term::ANSIColor loaded ok (v3.02) CPAN: File::HomeDir loaded ok (v0.99) CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Fri, 23 Mar 2012 13:29:13 GMT CPAN: YAML::XS loaded ok (v0.38) CPAN: CPAN::Kwalify loaded ok (v5.50) Running make for S/SZ/SZABGAB/Term-ProgressBar-2.11.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Module::Signature loaded ok (v0.68) WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /home/rando/.cpan/sources/authors/id/S/SZ/SZABGAB/CHECKSUMS ok CPAN: Compress::Zlib loaded ok (v2.049) Checksum for /home/rando/.cpan/sources/authors/id/S/SZ/SZABGAB/Term-ProgressBar-2.11.tar.gz ok Term-ProgressBar-2.11/ Term-ProgressBar-2.11/configure Term-ProgressBar-2.11/Changes Term-ProgressBar-2.11/INSTALL Term-ProgressBar-2.11/MYMETA.json Term-ProgressBar-2.11/SIGNATURE Term-ProgressBar-2.11/README Term-ProgressBar-2.11/MANIFEST Term-ProgressBar-2.11/examples/ Term-ProgressBar-2.11/examples/powers3 Term-ProgressBar-2.11/examples/smooth_bar.pl Term-ProgressBar-2.11/examples/powers2 Term-ProgressBar-2.11/examples/powers5 Term-ProgressBar-2.11/examples/simple_use.pl Term-ProgressBar-2.11/examples/powers Term-ProgressBar-2.11/examples/powers4 Term-ProgressBar-2.11/Makefile.PL Term-ProgressBar-2.11/MANIFEST.SKIP Term-ProgressBar-2.11/MYMETA.yml Term-ProgressBar-2.11/lib/ Term-ProgressBar-2.11/lib/Term/ Term-ProgressBar-2.11/lib/Term/ProgressBar.pm Term-ProgressBar-2.11/t/ Term-ProgressBar-2.11/t/compat.t Term-ProgressBar-2.11/t/name.t Term-ProgressBar-2.11/t/0-signature.t Term-ProgressBar-2.11/t/v2-message.t Term-ProgressBar-2.11/t/v2-simple.t Term-ProgressBar-2.11/t/v2-mobile.t Term-ProgressBar-2.11/t/v1-message.t Term-ProgressBar-2.11/t/eta-linear.t Term-ProgressBar-2.11/t/zero.t Term-ProgressBar-2.11/META.json Term-ProgressBar-2.11/BUGS Term-ProgressBar-2.11/META.yml CPAN: File::Temp loaded ok (v0.22) WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 643D F5B3 7DEE DF04 542B 2676 57A7 9945 C578 58AD --- SIGNATURE Tue Nov 29 23:42:12 2011 +++ (current) Fri Mar 23 09:09:05 2012 @@ -1,11 +1,13 @@ SHA1 308e635e1928d03e6c92ef224557847e18f492a6 BUGS -SHA1 466429e1cefc8de46f7310bc7c64e6ac6af108e0 Build.PL -SHA1 2cb916a845f60e44d62efe689de063d7bef20a99 Changes +SHA1 3c800c4dd3915a01c856b79211286ee43f599fe0 Changes SHA1 efa8cb615886410be8de15f5a6925697f624d278 INSTALL -SHA1 d0e591b2e5eafcc9a8de8ff9eda691fad5f85ffc MANIFEST -SHA1 5c69f53a9cb6f5f717dd1d02266fc7c9f675a902 MANIFEST.SKIP -SHA1 45fa692c1ad1ec954fe181c2d77b674f478a4201 META.yml -SHA1 c88a83fd974fad3c16428163c87d3e6835296ae7 Makefile.PL +SHA1 98b9c363ae32b81f9450e7baf82ba9470c37628d MANIFEST +SHA1 ab641041c2b5d85a7031d8ba3473bd8c42f01bb8 MANIFEST.SKIP +SHA1 a0fe3b605349294739d60c9adfbb536561adc47c META.json +SHA1 e5edcc8e412d0528338ebad9662f9345a833dfde META.yml +SHA1 04db5af9072debd064ba37ec31e24160c6577a8a MYMETA.json +SHA1 a0e656219e6fb66d669e896db5746135ee273971 MYMETA.yml +SHA1 4e481451f94675871b0658d1f654ea8688916c04 Makefile.PL SHA1 0de078a628603bf24ba4d01f2eb004360661be68 README SHA1 8f869f84e72c6fc7ac89ce26326bf981505be467 configure SHA1 8a4e566bff0ad33481975d55bcef13a9244bde16 examples/powers @@ -13,15 +15,15 @@ SHA1 ff6df90436963b2b7e73f8ce6d6327f2dbcad1c3 examples/powers3 SHA1 0fca941997cba7e66d39d4cec737ef09ee7df454 examples/powers4 SHA1 37691f612074aa2fcea31c3b17c6ee46640f43db examples/powers5 -SHA1 cef7ba06dd315bf803d87ab7753ed7b92fb45818 lib/Term/ProgressBar.pm +SHA1 5ebb30b435aadfecfd4a739858765cf701276a03 examples/simple_use.pl -SHA1 37ba03162a46931b496a18413401d8f25b303cf1 make-pm +SHA1 9012f96ee6967b2fbad9dd93e18e5bf4543f0d41 examples/smooth_bar.pl -SHA1 e7569e5eeef2a8558e6d4828be087a6e1a841295 t/0-signature.t +SHA1 e2edde6f9149faed51b5bcf8a8a3ebddb8ecf66c lib/Term/ProgressBar.pm -SHA1 433e3ecad2aa8a7b3bb2f3766b17c195b33cbcc5 t/compat.t +SHA1 81c3e7c2d8c2f05810c4095ea4d05c8739f08ff8 t/0-signature.t -SHA1 f02bc46da7e3c83478c244adfad443f9c1a2b4ca t/eta-linear.t +SHA1 96b5f2188f0170c11378ec92adc20fb5883ff892 t/compat.t -SHA1 f3b178ae1e9f1f1789443522ac861c8421f93eee t/name.t +SHA1 d5cb7f51c62128875c6bd5d22f38e8fce4a92b76 t/eta-linear.t -SHA1 037b2bf330c9ce722c1d122e4e561c610f4fee83 t/test.pm +SHA1 3ddce6d08154cea2eb7d7d41b9e4ec644165aa1d t/name.t -SHA1 ab36b1695c7ca9281da620347487bf88d02e66da t/v1-message.t +SHA1 8a09c2e0a40d22229fc0526f8502d41798a331ca t/v1-message.t -SHA1 91f9f8f0765d5d7924c4c130934facb91eca6833 t/v2-message.t +SHA1 103b5bfbd204e028a2bf998df13f945d6d7f5e72 t/v2-message.t -SHA1 87ecb3158e5eb9fe020c819e2d2f80ff8be45d92 t/v2-mobile.t +SHA1 b995f39dcc7a9488cdf1125ff8d1d36f90a30963 t/v2-mobile.t -SHA1 119b353912834b0040150a7094bf14425be03936 t/v2-simple.t +SHA1 89fe9b2c923c15a6a80bb4764e50f1186154e724 t/v2-simple.t -SHA1 9048c3d6b67959e3cd598ac0e151daff435f39fe t/zero.t +SHA1 be5ba15d10609cf3e94d92b6da704433f24209b2 t/zero.t ==> MISMATCHED content between SIGNATURE and distribution files! <==  Signature invalid for distribution file. Please investigate. I'd recommend removing /home/rando/.cpan/sources/authors/id/S/SZ/SZABGAB/Term-ProgressBar-2.11.tar .gz. Some error occurred while checking its signature, so it could be invalid. Maybe you have configured your 'urllist' with a bad URL. Please check this array with 'o conf urllist' and retry. Or examine the distribution in a subshell. Try look SZABGAB/Term-ProgressBar-2.11.tar.gz and run cpansign -v CPAN: Parse::CPAN::Meta loaded ok (v1.4402) CPAN: CPAN::Meta loaded ok (v2.120630)  Did not pass the signature test. Running make test  Make had some problems, won't test Running make install  Make had some problems, won't install
I have something similar problem. After I upgrade App::cpan 1.58, cpan seems that it alway install module regardless of fail test result. (I tested and confirmed with newly updated Catalyst-Plugin-Session-0.33 module.) and I saw -T option for installing module without test, but it seems that the option doesn't work. I'll use cpanm instead of cpan until this issue get fixed. but cpanm doesn't support cpan test reporter. I hope that I can use cpan again soon.
Subject: Re: [rt.cpan.org #76004] Undocumented "be_silent" arg change hides "normal" CPAN output and installs modules whose tests fail
Date: Thu, 5 Apr 2012 20:56:49 -0500
To: bug-App-Cpan [...] rt.cpan.org
From: brian d foy <bdfoy [...] cpan.org>
It looks like be_silent is deprecated, so it's not so bad to use it even if it did work. I still want to suppress the loading info, so I'll try a local variable instead. Let me know if this solves your problem.
This was fixed in the CPAN.pm repo two years ago: https://github.com/andk/cpanpm/commit/90fce214a60f8a4eb78a90eb0922d3a41b7434a6 That change is still in the repo. Somewhere, the CPAN.pm version of App::Cpan and the standalone version got out of sync.
I didn't realize that App::Cpan and the `cpan` script were released in two different dists (at the same time): https://metacpan.org/search?q=app%3A%3Acpan That would cause trouble.
From: dagolden [...] cpan.org
Should be fixed in 1.59 just released to CPAN. Please confirm.
On Thu Apr 26 07:11:31 2012, DAGOLDEN wrote: Show quoted text
> Should be fixed in 1.59 just released to CPAN. Please confirm.
Currently using 1.5902 If I retry the dists mentioned originally it stops the install, so I guess that looks good. Thanks!