Bug#628522: perl: ExtUtils::MakeMaker overriding CCFLAGS when passed to WriteMakefile
Niko Tyni
ntyni at debian.org
Mon Aug 1 19:04:46 UTC 2011
On Sun, Jul 31, 2011 at 06:07:37PM +0100, Dominic Hargreaves wrote:
> On Fri, Jun 03, 2011 at 07:41:44AM +0300, Niko Tyni wrote:
>
> > This seems to imply that blindly overriding CCFLAGS isn't quite the right
> > thing to do after all. A better approach might be to update the EU::MM
> > documentation, optionally add a new CCEXTRAFLAGS that automatically
> > includes $Config{ccflags}, and fix the modules that currently don't use
> > $Config{ccflags} at all.
> No comments from upstream, so I suggest it's now an appropriate moment
> to get on and fix the individual packages (if we want to get the perl
> 5.14 up and running).
Yes. Thanks for pushing this.
> Given the lack of action upstream so far I don't think we should yet
> implement EXTRACCFLAGS yet, but I do think we should patch our perl with
> the documentation patch.
Agreed on both counts.
> Possible template bug report text for the broken modules:
>
> --------
> As discussed on Debian bug #628522, this package fails to build with
> perl 5.14.1 because $Config{ccflags} is being overridden by local
> CCFLAGS options:
>
> <insert build log snippet>
>
> This bug is also discussed upstream at
> <https://rt.cpan.org/Public/Bug/Display.html?id=68613>.
>
> Please modify the build system of this package to include $Config{ccflags}
> into CFLAGS. In most cases this will be by editing Makefile.PL.
> --------
This looks fine to me.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list