Skip Menu |

This queue is for tickets about the Gungho CPAN distribution.

Report information
The Basics
Id: 35867
Status: open
Priority: 0/
Queue: Gungho

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

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



Subject: plan_or_skip not sufficient
In the test t/engine/danga-socket/01_load.t the require says it wants Danga::Socket. But the test fails when Danga::Socket is installed but Danga::Socket::Callback isn't. So I saw this FAIL today: t/engine/danga-socket/01_load......................... # Failed test 'use Gungho::Engine::Danga::Socket;' # at t/engine/danga-socket/01_load.t line 13. # Tried to use 'Gungho::Engine::Danga::Socket'. # Error: Can't locate Danga/Socket/Callback.pm in @INC (@INC contains: t/lib /home/sand/.cpan/build/Gungho-0.09007-37VTpA/inc /home/sand/.cpan/build/Gungho-0.09007-37VTpA/blib/lib /home/sand/.cpan/build/Gungho-0.09007-37VTpA/blib/arch /home/sand/.cpan/build/parrot-0.6.1-kpvist/blib/arch /home/sand/.cpan/build/parrot-0.6.1-kpvist/blib/lib /home/src/perl/repoperls/installed-perls/maint-5.10/p77S7bD/perl-5.10.0@33823/lib/5.10.0/i686-linux-64int /home/src/perl/repoperls/installed-perls/maint-5.10/p77S7bD/perl-5.10.0@33823/lib/5.10.0 /home/src/perl/repoperls/installed-perls/maint-5.10/p77S7bD/perl-5.10.0@33823/lib/site_perl/5.10.0/i686-linux-64int /home/src/perl/repoperls/installed-perls/maint-5.10/p77S7bD/perl-5.10.0@33823/lib/site_perl/5.10.0 .) at /home/sand/.cpan/build/Gungho-0.09007-37VTpA/blib/lib/Gungho/Engine/Danga/Socket.pm line 10. # BEGIN failed--compilation aborted at /home/sand/.cpan/build/Gungho-0.09007-37VTpA/blib/lib/Gungho/Engine/Danga/Socket.pm line 10. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. # Looks like you failed 1 test of 1. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Hope this helps,
This is similar to rt #35956 you filed. I can confirm that this dependency is declared --- name: 'Danga::Socket Engine' default: 0 depends: 'Danga::Socket': '1.57' 'Danga::Socket::Callback': 0 'HTTP::Parser': 0 'IO::Socket::INET': 0 'Net::DNS': 0
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #35867] plan_or_skip not sufficient
Date: Mon, 19 May 2008 22:24:26 +0200
To: bug-Gungho [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
There is some mechanism in your build system that turns the dependency into a "recommends". % perl -le 'use YAML; print exists YAML::LoadFile("META.yml")->{recommends}{"Danga::Socket::Callback"} ' 1 -- andreas