Skip Menu |

This queue is for tickets about the XML-Atom CPAN distribution.

Report information
The Basics
Id: 23685
Status: resolved
Priority: 0/
Queue: XML-Atom

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

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



Subject: Missing prereq Digest::SHA1
It's in the recommends section but it is required to run the tests: Running Build test t/00-compile........... # Failed test 'use XML::Atom::Client;' # at t/00-compile.t line 8. # Tried to use 'XML::Atom::Client'. # Error: Can't locate Digest/SHA1.pm in @INC (@INC contains: /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/arch /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/inc /home/k/.cpan/build/XML-Atom-0.24-1JTAGF /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 . /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 .) at /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib/XML/Atom/Client.pm line 12. # BEGIN failed--compilation aborted at t/00-compile.t line 8. # Compilation failed in require at (eval 13) line 2. # BEGIN failed--compilation aborted at (eval 13) line 2. # Failed test 'use XML::Atom::Server;' # at t/00-compile.t line 9. # Tried to use 'XML::Atom::Server'. # Error: Can't locate Digest/SHA1.pm in @INC (@INC contains: /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/arch /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/inc /home/k/.cpan/build/XML-Atom-0.24-1JTAGF /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 . /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 .) at /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib/XML/Atom/Server.pm line 9. # BEGIN failed--compilation aborted at t/00-compile.t line 9. # Compilation failed in require at (eval 14) line 2. # BEGIN failed--compilation aborted at (eval 14) line 2. # Looks like you failed 2 tests of 8. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 4-5 Failed 2/8 tests, 75.00% okay t/01-util..............ok t/02-content...........ok t/03-link..............ok t/04-person............ok t/11-entry.............ok t/12-feed..............ok t/13-atom1.............ok t/14-atom1-create......ok t/15-content-image.....ok t/16-content-binary....ok t/17-renames...........ok t/18-unicode...........ok t/19-ext...............ok t/20-content-xhtml.....ok t/23-category..........ok t/24-bad-content.......ok t/25-utf8-create.......ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00-compile.t 2 512 8 2 4-5 Failed 1/18 test scripts. 2/263 subtests failed. Files=18, Tests=263, 7 wallclock secs ( 6.45 cusr + 0.49 csys = 6.94 CPU) Failed 1/18 test programs. 2/263 subtests failed.  MIYAGAWA/XML-Atom-0.24.tar.gz  ./Build test -- NOT OK Thanks,
Subject: Re: [rt.cpan.org #23685] Missing prereq Digest::SHA1
Date: Tue, 28 Nov 2006 15:00:07 -0800
To: bug-XML-Atom [...] rt.cpan.org
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
Digest::SHA1 is actually listed in Makefile.PL as recommends, and defaults to 1. What's wrong with that? On 11/28/06, Andreas Koenig via RT <bug-XML-Atom@rt.cpan.org> wrote: Show quoted text
> > Tue Nov 28 16:44:42 2006: Request 23685 was acted upon. > Transaction: Ticket created by ANDK > Queue: XML-Atom > Subject: Missing prereq Digest::SHA1 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23685 > > > > It's in the recommends section but it is required to run the tests: > > Running Build test > t/00-compile........... > # Failed test 'use XML::Atom::Client;' > # at t/00-compile.t line 8. > # Tried to use 'XML::Atom::Client'. > # Error: Can't locate Digest/SHA1.pm in @INC (@INC contains: > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/arch > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/inc > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 > . > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 > .) at > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib/XML/Atom/Client.pm > line 12. > # BEGIN failed--compilation aborted at t/00-compile.t line 8. > # Compilation failed in require at (eval 13) line 2. > # BEGIN failed--compilation aborted at (eval 13) line 2. > > # Failed test 'use XML::Atom::Server;' > # at t/00-compile.t line 9. > # Tried to use 'XML::Atom::Server'. > # Error: Can't locate Digest/SHA1.pm in @INC (@INC contains: > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/arch > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/inc > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 > . > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/5.9.5 > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5/i686-linux-64int > /home/src/perl/repoperls/installed-perls/perl/pXADjKY/perl-5.8.0@29411/lib/site_perl/5.9.5 > .) at > /home/k/.cpan/build/XML-Atom-0.24-1JTAGF/blib/lib/XML/Atom/Server.pm line 9. > # BEGIN failed--compilation aborted at t/00-compile.t line 9. > # Compilation failed in require at (eval 14) line 2. > # BEGIN failed--compilation aborted at (eval 14) line 2. > # Looks like you failed 2 tests of 8. > dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 4-5 > Failed 2/8 tests, 75.00% okay > t/01-util..............ok > t/02-content...........ok > t/03-link..............ok > t/04-person............ok > t/11-entry.............ok > t/12-feed..............ok > t/13-atom1.............ok > t/14-atom1-create......ok > t/15-content-image.....ok > t/16-content-binary....ok > t/17-renames...........ok > t/18-unicode...........ok > t/19-ext...............ok > t/20-content-xhtml.....ok > t/23-category..........ok > t/24-bad-content.......ok > t/25-utf8-create.......ok > Failed Test Stat Wstat Total Fail List of Failed > ------------------------------------------------------------------------------- > t/00-compile.t 2 512 8 2 4-5 > Failed 1/18 test scripts. 2/263 subtests failed. > Files=18, Tests=263, 7 wallclock secs ( 6.45 cusr + 0.49 csys = 6.94 CPU) > Failed 1/18 test programs. 2/263 subtests failed. >  MIYAGAWA/XML-Atom-0.24.tar.gz >  ./Build test -- NOT OK > > > Thanks, >
-- Tatsuhiko Miyagawa
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #23685] Missing prereq Digest::SHA1
Date: Wed, 29 Nov 2006 09:14:13 +0100
To: bug-XML-Atom [...] rt.cpan.org
From: andreas.koenig.gmwojprw [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 28 Nov 2006 18:00:33 -0500, "miyagawa@gmail.com via RT" <bug-XML-Atom@rt.cpan.org> said:
Show quoted text
Show quoted text
> Digest::SHA1 is actually listed in Makefile.PL as recommends, and > defaults to 1. What's wrong with that?
I find that if it leads to a failing test then it is a prereq, not a recommend. -- andreas
XML::Atom::Client and ::Server are not use_ok'ed anymore in 00- compile.t to avoid this issue.