Skip Menu |

This queue is for tickets about the Message-Passing CPAN distribution.

Report information
The Basics
Id: 123064
Status: resolved
Priority: 0/
Queue: Message-Passing

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

Bug Information
Severity: (no value)
Broken in: 0.116
Fixed in: 0.117



Subject: Undeclared dependency List::MoreUtils
See subject: # Failed test 'use Message::Passing::Filter::ToLogstash;' # at t/00_compile.t line 29. # Tried to use 'Message::Passing::Filter::ToLogstash'. # Error: Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116-8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116-8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. # Compilation failed in require at t/00_compile.t line 29. # BEGIN failed--compilation aborted at t/00_compile.t line 29. # Looks like you failed 1 test of 24. t/00_compile.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/24 subtests
On 2017-09-17 13:45:28, SREZIC wrote: Show quoted text
> See subject: > > # Failed test 'use Message::Passing::Filter::ToLogstash;' > # at t/00_compile.t line 29. > # Tried to use 'Message::Passing::Filter::ToLogstash'. > # Error: Can't locate List/MoreUtils.pm in @INC (you may need to > install the List::MoreUtils module) (@INC contains: ... .) at > /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116- > 8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. > # BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116- > 8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. > # Compilation failed in require at t/00_compile.t line 29. > # BEGIN failed--compilation aborted at t/00_compile.t line 29. > # Looks like you failed 1 test of 24. > t/00_compile.t .............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/24 subtests
You can drop the dependency on List::MoreUtils entirely, because List::Util (starting with version 1.45) implements 'uniq'.
On 2017-09-17 16:45:28, SREZIC wrote: Show quoted text
> See subject: > > # Failed test 'use Message::Passing::Filter::ToLogstash;' > # at t/00_compile.t line 29. > # Tried to use 'Message::Passing::Filter::ToLogstash'. > # Error: Can't locate List/MoreUtils.pm in @INC (you may need to > install the List::MoreUtils module) (@INC contains: ... .) at > /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116- > 8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. > # BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2017091718/Message-Passing-0.116- > 8Utznz/blib/lib/Message/Passing/Filter/ToLogstash.pm line 4. > # Compilation failed in require at t/00_compile.t line 29. > # BEGIN failed--compilation aborted at t/00_compile.t line 29. > # Looks like you failed 1 test of 24. > t/00_compile.t .............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/24 subtests
Also undeclared: JSON.
Fixed in 0.117 by using List::Util 1.45. Thanks for the pointer ether! JSON replaced by JSON::MaybeXS to not require it. Thanks to mst for poking me!