Skip Menu |

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

Report information
The Basics
Id: 107420
Status: resolved
Priority: 0/
Queue: Message-String

People
Owner: cpanic [...] cpan.org
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.1.2
Fixed in: (no value)



Subject: depends on module not on CPAN
"message" => 0, -- Alexandr Ciornii, http://chorny.net
Thanks for the report [Prereqs] message = 0 Added to dist.ini Package re-released with corrected Makefile.PL and 0.1.3 going thru CPAN pipework now.
Given this a little more thought. I may not have solved it, and may just have made it worse. I'm using Dist::Zilla just I'm just try to work out how to stop listing "message" as a dependency when it's provided by my own package.
Ok, the problem is that my module's Makefile.PL lists "message" as a dependency even though that namespace is provided my my module. So my explicit adding of "message" to the dependency list was dumb and an example of why to never fix CPAN bugs before breakfast and when half awake ;-) The fix for this is to prevent "message" being listed as a dependency in the first place, made even more interesting by using Dist:Zilla to manage my distributions. The solution involved just reading the manual for Dist::Zilla's AutoPrereqs again and including the following in my dist.ini before rebuilding, testing and releasing: [AutoPrereqs] skip = ^message$ Have uninstalled the module on my dev machine and reinstalled using perl Makefile.PL && make test && sudo make install and the warning originally hinted at by Alexandr appears to not to be there anymore. Good, I'm resolving this now. 0.1.4 being flushed through PAUSE now.
On 2015-09-30 08:52:15, CPANIC wrote: Show quoted text
> Ok, the problem is that my module's Makefile.PL lists "message" as a > dependency even though that namespace is provided my my module. So my > explicit adding of "message" to the dependency list was dumb and an > example of why to never fix CPAN bugs before breakfast and when half > awake ;-) > > The fix for this is to prevent "message" being listed as a dependency > in the first place, made even more interesting by using Dist:Zilla to > manage my distributions. The solution involved just reading the manual > for Dist::Zilla's AutoPrereqs again and including the following in my > dist.ini before rebuilding, testing and releasing: > > [AutoPrereqs] > skip = ^message$ > > Have uninstalled the module on my dev machine and reinstalled using > perl Makefile.PL && make test && sudo make install and the warning > originally hinted at by Alexandr appears to not to be there anymore. > > Good, I'm resolving this now. 0.1.4 being flushed through PAUSE now.
Hints for the future: https://metacpan.org/pod/Dist::Zilla::Plugin::CheckPrereqsIndexed https://metacpan.org/pod/Dist::Zilla::Plugin::CheckSelfDependency
On Wed Sep 30 13:22:43 2015, ETHER wrote: Show quoted text
> On 2015-09-30 08:52:15, CPANIC wrote:
> > Ok, the problem is that my module's Makefile.PL lists "message" as a > > dependency even though that namespace is provided my my module. So my > > explicit adding of "message" to the dependency list was dumb and an > > example of why to never fix CPAN bugs before breakfast and when half > > awake ;-) > > > > The fix for this is to prevent "message" being listed as a dependency > > in the first place, made even more interesting by using Dist:Zilla to > > manage my distributions. The solution involved just reading the manual > > for Dist::Zilla's AutoPrereqs again and including the following in my > > dist.ini before rebuilding, testing and releasing: > > > > [AutoPrereqs] > > skip = ^message$ > > > > Have uninstalled the module on my dev machine and reinstalled using > > perl Makefile.PL && make test && sudo make install and the warning > > originally hinted at by Alexandr appears to not to be there anymore. > > > > Good, I'm resolving this now. 0.1.4 being flushed through PAUSE now.
> > > Hints for the future: > https://metacpan.org/pod/Dist::Zilla::Plugin::CheckPrereqsIndexed > https://metacpan.org/pod/Dist::Zilla::Plugin::CheckSelfDependency
Cool find, thanks Karen. Taking a look now.