Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 85008
Status: open
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

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



Subject: Subroutine...redefined messages during build
Date: Thu, 02 May 2013 21:34:22 -0400
To: bug-Class-Method-Modifiers [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Building Class-Method-Modifiers-2.04 on OS X using apple's perl-5.12.3... ARCHFLAGS="" /usr/bin/arch -x86_64 perl5.12 Makefile.PL PERL="/usr/bin/arch -x86_64 perl5.12" PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.12.3 INSTALLARCHLIB=/sw/lib/perl5/5.12.3/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.12.3 INSTALLSITEARCH=/sw/lib/perl5/5.12.3/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin Subroutine author_requires redefined at inc/Module/Install/AuthorRequires.pm line 14. Subroutine readme_from redefined at inc/Module/Install/ReadmeFromPod.pm line 11. Subroutine _readme_txt redefined at inc/Module/Install/ReadmeFromPod.pm line 64. Subroutine _readme_htm redefined at inc/Module/Install/ReadmeFromPod.pm line 77. Subroutine _readme_man redefined at inc/Module/Install/ReadmeFromPod.pm line 96. Subroutine _readme_pdf redefined at inc/Module/Install/ReadmeFromPod.pm line 106. Subroutine _all_from redefined at inc/Module/Install/ReadmeFromPod.pm line 122. Subroutine githubmeta redefined at inc/Module/Install/GithubMeta.pm line 11. Subroutine _under_git redefined at inc/Module/Install/GithubMeta.pm line 28. Subroutine auto_license redefined at inc/Module/Install/AutoLicense.pm line 25. Subroutine _get_authors redefined at inc/Module/Install/AutoLicense.pm line 53. Checking if your kit is complete... Looks good and then the build and self-test run without any further warnings or errors. If I comment out the 'use Module::Install::*' parts at the beginning of Makefile.PL, leaving just inc::Module::Install: # Load the Module::Install bundled in ./inc/ use inc::Module::Install; #use Module::Install::AuthorRequires; #use Module::Install::ReadmeFromPod; #use Module::Install::GithubMeta; #use Module::Install::AutoLicense; The generated Makefile is identical either way. Does inc::M::I bring in all the M::I submodules auomatically? dan -- Daniel Macks dmacks@netspace.org
On 2013-05-02 18:34:54, dmacks@netspace.org wrote: Show quoted text
> > If I comment out the 'use Module::Install::*' parts at the beginning > of Makefile.PL, leaving just inc::Module::Install: > > # Load the Module::Install bundled in ./inc/ > use inc::Module::Install; > #use Module::Install::AuthorRequires; > #use Module::Install::ReadmeFromPod; > #use Module::Install::GithubMeta; > #use Module::Install::AutoLicense; > > The generated Makefile is identical either way. Does inc::M::I bring > in all the M::I submodules auomatically?
The extra 'use' lines are supposed to be harmless, and are there just as sugar for a developer who otherwise might not know what MI plugins are required by Makefile.PL, as recommended by Module::Install::FAQ: If you feel sorry about the inconvenience for your fellow contributors, you may want to add explicitly "use Module::Install::<ExtensionYouWantToUse>;" after "use inc::Module::Install;" in your Makefile.PL. It doesn't do any harm, and it makes clear which extensions they need to install. As such, this problem sounds like a M::I problem, so I'm bumping this ticket over to its queue.