Skip Menu |
 

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

Report information
The Basics
Id: 21939
Status: rejected
Priority: 0/
Queue: Module-Build

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

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



Subject: Module::Build::Compat does not support --default
Download (untitled) / with headers
text/plain 363b
In some situations, CPAN.pm will send a --default argument when calling Makefile.PL. Currently, Module::Build::Compat-based Makefile.PL freak out. You should add support that converts it to whatever Module::Build uses. Set to "Important" because it does NOT require the user to explicitly add --default, CPAN.pm will suggest it sometimes and add it on it's own.
From: KWILLIAMS [...] cpan.org
Download (untitled) / with headers
text/plain 422b
On Fri Oct 06 19:46:59 2006, ADAMK wrote: Show quoted text
> In some situations, CPAN.pm will send a --default argument when calling > Makefile.PL. Currently, Module::Build::Compat-based Makefile.PL freak out. > > You should add support that converts it to whatever Module::Build uses.
My copy of MakeMaker doesn't have any docs for a --default flag, nor does the SVN head version have any mention of it in its code. What is it? -Ken
Download (untitled) / with headers
text/plain 380b
On Fri Oct 06 19:46:59 2006, ADAMK wrote: Show quoted text
> In some situations, CPAN.pm will send a --default argument when calling > Makefile.PL. Currently, Module::Build::Compat-based Makefile.PL freak out.
MakeMaker has no support for --default nor do I see where CPAN.pm might be passing in --default. Could you give some details on how you got CPAN.pm to pass --default to a Makefile.PL?
RT-Send-CC: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Download (untitled) / with headers
text/plain 150b
Sent out-of-band e-mail to Adam (in the case that his e-mail and rt are not playing nice.) It seems that none of us knows what --default is or does.
Download (untitled) / with headers
text/plain 855b
On Sun Oct 07 14:26:45 2007, EWILHELM wrote: Show quoted text
> It seems that none of us knows what --default is or does.
Not even Andreas: <@ewilhelm> we're all confused about this --default thing. Can you enlighten me? <@andreas> No idea what he means. The only explanation I can imagine is that if somebody in the past has set makepl_arg to "whatever" then the configuration dialog will happily suggest "whatever" again Yes, a passthrough `perl Makefile.PL --default` will freak-out, but EU::MM will just ignore it because EU::MM doesn't check arguments. Given that we don't know what to do with --default, I'm filing this under 'not a bug' pending further information. (If what you really want is for the passthrough Makefile.PL to *not* check arguments, it would probably be best to open a new ticket for that or discuss it on the mailing list.)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.