licensecheck occasional errors

Bug #1164261 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devscripts (Debian)
Fix Released
Unknown
devscripts (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

With some input files (raring lxc source package, linux kernel git tree) licensecheck reports an error:

sarnold@hunt:~/trees/linux$ licensecheck -r * > /dev/null
POSIX syntax [= =] belongs inside character classes in regex; marked by <-- HERE in m/\s* [==] <-- HERE {1} \s*/ at /usr/bin/licensecheck line 367.
POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/\s* [==] <-- HERE {1} \s*/ at /usr/bin/licensecheck line 367.
sarnold@hunt:~/trees/linux$

or:

sarnold@hunt:~/ubuntu/sbuild/audits/lxc/raring/lxc-0.9.0~rc1$ licensecheck -r *
autogen.sh: *No copyright* UNKNOWN
debian/local/lxc.sh: *No copyright* UNKNOWN
runapitests.sh: *No copyright* UNKNOWN
POSIX syntax [= =] belongs inside character classes in regex; marked by <-- HERE in m/\s* [==] <-- HERE {1} \s*/ at /usr/bin/licensecheck line 367.
POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/\s* [==] <-- HERE {1} \s*/ at /usr/bin/licensecheck line 367.

I couldn't reproduce in /etc, /bin, /sbin, /usr/bin, /usr/sbin, /usr/share/doc, so clearly it's input-dependent, but I'm having trouble figuring out what input exactly.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: devscripts 2.13.1
ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
Uname: Linux 3.8.0-16-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Wed Apr 3 20:02:04 2013
InstallationDate: Installed on 2012-10-18 (167 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
ProcEnviron:
 TERM=rxvt-unicode
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: devscripts
UpgradeStatus: Upgraded to raring on 2013-03-18 (16 days ago)

Revision history for this message
Seth Arnold (seth-arnold) wrote :
Benjamin Drung (bdrung)
Changed in devscripts (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Changed in devscripts (Debian):
status: Unknown → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package devscripts - 2.13.2

---------------
devscripts (2.13.2) unstable; urgency=low

  [ Julian Gilbey ]
  * Correct git location in debian/copyright file (Closes: #703853)

  [ James McCoy ]
  * licensecheck: Regex-escape file contents that are used as part of a
    pattern. (Closes: #704434, LP: #1164261)
  * bts:
    + Accept the "jessie" and "jessie-ignore" tags. (Closes: #705817)
    + Email $<email address hidden> when reassigning a bug to src:$pkg.
      (Closes: #707636)
  * uscan: Define local replacements for die/warn instead of setting
    $SIG{__DIE__}/$SIG{__WARN__} to prevent breaking die/warn in other
    modules. (Closes: #669942)
  * licensecheck: Fix invalid regular expression syntax. (Closes: #706232)
  * debchange:
    + Set Wheezy as the default --bpo target. (Closes: #703633)
    + Recognize oldstable backports while oldstable is supported. (Closes:
      #707616)
  * rc-alert: Change description of I flag to reference wheezy instead of
    lenny. (Closes: #683491)
  * who-permits-upload:
    + Use consistent formatting in the "SEE ALSO" section of the POD.
    + Fix spelling mistakes.
    + Fix handling of encoding.
  * Move debian/bug/* so dh_bugfiles handles installing them.
  * Upload to unstable.

  [ Christoph Berg ]
  * dget: "--all pkg" will download all binaries for source package pkg.

  [ Raphael Geissert ]
  * checkbashisms: Fix false positives in $_ checks. (Closes: #691389)

  [ Arno Töll ]
  * New script who-permits-upload, which retrieves information about Debian
    Maintainer access control lists. (Closes: #688830)

  [ David Prévot ]
  * Formating manpages review. (Closes: #707299)

  [ Translation updates ]
  * French, David Prévot.
  * German, Chris Leick.

 -- James McCoy <email address hidden> Sun, 12 May 2013 23:05:26 -0400

Changed in devscripts (Ubuntu):
status: Fix Committed → Fix Released
Changed in devscripts (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.