lkml.org 
[lkml]   [2013]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] checkpatch: enforce sane perl version
On Mon, 29 Jul 2013 13:10:13 -0700 Joe Perches <joe@perches.com> wrote:

> On Mon, 2013-07-29 at 13:06 -0700, Dave Hansen wrote:
> > From: Dave Hansen <dave.hansen@linux.intel.com>
> >
> > I got a bug report from a couple of users who said
> > checkpatch.pl was broken for them. It was erroring out on
> > fairly random lines most commonly with messages like:
> >
> > Nested quantifiers in regex; marked by <--HERE in m/(\((?:[^\(\)]++ <-- HERE |(?-1))*\))/ at ./checkpatch.pl line 340.
> >
> > The bug reporter was running a version of perl 5.8 which was
> > end-of-lifed in 2008: http://www.cpan.org/src/. Versions of perl
> > this old are at _best_ quite untested. At worst, they are crusty
> > and known to be completely broken.
> >
> > If folks have a system _that_ old, then we should have mercy on
> > them and give them a half-decent error message rather than fail
> > with nutty error messages.
> >
> > This patch enforces that checkpatch.pl is run with perl 5.10,
> > which was end-of-lifed in 2009. The new --ignore-perl-version
> > command-line switch will let folks override this if they want.
> >
> > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
>
> Other than Andrew Morton's (continuing?) use of perl 5.8
> I'm fine with this.
>
> Andrew? Time to update your perl version?

I run an FC6 test box just to irritate you guys.




\
 
 \ /
  Last update: 2013-07-30 01:01    [W:0.043 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site