Bug#710842: perl: perlbug doesn't include locally-applied patch info

Niko Tyni ntyni at debian.org
Mon Jun 3 11:36:30 UTC 2013


On Mon, Jun 03, 2013 at 12:03:02PM +0300, Niko Tyni wrote:
> On Sun, Jun 02, 2013 at 11:12:37PM +0100, Dominic Hargreaves wrote:
> > Package: perl
> > Version: 5.18.0-1
> > Severity: minor
> > 
> > Even though perl -V displays them correctly:
> 
> > perlbug doesn't seem to. See eg
> > https://rt.perl.org/rt3/Public/Bug/Display.html?id=118271:
> 
> > The same behaviour exists in 5.14.2-21 at least.
> 
> Urgh. This is unfortunate. I assume it broke after squeeze
> when I switched patchlevel.h to use
> 
>  #ifdef DEBIAN
>  #include "patchlevel-debian.h"
>  #endif
> 
> as perlbug just skips those preprocessor directives.
> 
> I think we'll have to either make utils/perlbug.PL follow #include
> directives, or just hardcode patchlevel-debian.h.

Or maybe just run cpp on the file, like this?
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-perlbug.PL-run-patchlevel.h-through-cpp-where-p.patch
Type: text/x-diff
Size: 1994 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130603/ba7f8df6/attachment.patch>


More information about the Perl-maintainers mailing list