Skip Menu |

This queue is for tickets about the Business-DK-CVR CPAN distribution.

Report information
The Basics
Id: 132744
Status: resolved
Priority: 0/
Queue: Business-DK-CVR

People
Owner: jonasbn [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: 0.10



Subject: Build.PL and Makefile.PL are not equivalent
As per subject. Build.PL succeeds, but Makefile.PL fails with: cp lib/Business/DK/CVR.pm blib/lib/Business/DK/CVR.pm cp lib/Class/Business/DK/CVR.pm blib/lib/Class/Business/DK/CVR.pm cp lib/Data/FormValidator/Constraints/Business/DK/CVR.pm blib/lib/Data/FormValidator/Constraints/Business/DK/CVR.pm make: *** No rule to make target 'bin/validate_cvr.pl', needed by 'blib/script/validate_cvr.pl'. Stop.
On Sun May 31 03:35:41 2020, ANDK wrote: Show quoted text
> As per subject. Build.PL succeeds, but Makefile.PL fails with: > > cp lib/Business/DK/CVR.pm blib/lib/Business/DK/CVR.pm > cp lib/Class/Business/DK/CVR.pm blib/lib/Class/Business/DK/CVR.pm > cp lib/Data/FormValidator/Constraints/Business/DK/CVR.pm > blib/lib/Data/FormValidator/Constraints/Business/DK/CVR.pm > make: *** No rule to make target 'bin/validate_cvr.pl', needed by > 'blib/script/validate_cvr.pl'. Stop.
Thanks, I will check it out. I am using Dist::Zilla, so I suspect I missing something in my configuration.
Issue migrated to GitHub REF: https://github.com/jonasbn/bdkcvr/issues/6
Hi ANDK, I am unable to reproduce the reported issue. Can you provide me with some more details, like Perl version etc. I prefer GitHub issues over RT, I have to examine why the meta.cpan.org entry still points to RT.
Awaiting feedback from reporter
On Sun May 31 07:14:37 2020, JONASBN wrote: Show quoted text
> Awaiting feedback from reporter
Hi ANDK, I have investigated some more and it seems as if the Dist::Zilla migration was never released to CPAN - I am actually way behind on my Perl distribution yak-shaving. Hopefully I might be able to schedule some time next weekend, to get things up to speed. I am working on uploading a release 0.10, which addresses this exact issue, but letting the battle tested Dist::Zilla take care of these things. Thank you for your bug report, please let me now if you observe anything else.
I have marked this as resolved.
On 2020-05-31 06:26:41, JONASBN wrote: Show quoted text
> I am working on uploading a release 0.10, which addresses this exact > issue, but letting the battle tested Dist::Zilla take care of these > things.
Dist::Zilla is still producing both files, because both [MakeMaker] and [ModuleBuild] are present in the config. Please don't do that. https://neilb.org/2015/05/18/two-build-files-considered-harmful.html
On Mon Jun 01 11:42:41 2020, ETHER wrote: Show quoted text
> On 2020-05-31 06:26:41, JONASBN wrote: >
> > I am working on uploading a release 0.10, which addresses this exact > > issue, but letting the battle tested Dist::Zilla take care of these > > things.
> > Dist::Zilla is still producing both files, because both [MakeMaker] > and [ModuleBuild] are present in the config. Please don't do that. > > https://neilb.org/2015/05/18/two-build-files-considered-harmful.html
Hi Karen, Thanks for information, I was not aware of this. I actually thought that supporting both were the way to go. I will adjust my Dist::Zilla powered distributions accordingly. Take care and stay safe, jonasbn