[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014254: marked as done (lintian: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.)



Your message dated Sun, 28 Aug 2022 14:51:11 +0000
with message-id <E1oSJd1-00GPgd-Md@fasolo.debian.org>
and subject line Bug#993613: fixed in lintian 2.115.3
has caused the Debian Bug report #993613,
regarding lintian: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
993613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993613
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.115.2
Severity: important

Checking a current firefox source package emits thousands of these perl
warnings:

[…]
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable firefox_102.0-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
[…]

The code in question is:

    # from perl faq strip comments
    $lowercase =~ s{
                # Strip /* */ comments
                /\* [^*]*+ \*++ (?: [^/*][^*]*+\*++ ) */
                # Strip // comments (C++ style)
                |  // (?: [^\\] | [^\n][\n]? )*? (?=\n)
                |  (
                    # Keep "/* */" (etc) as is
                    "(?: \\. | [^"\\]++)*"
                    # Keep '/**/' (etc) as is
                    | '(?: \\. | [^'\\]++)*'
                    # Keep anything else
                    | .[^/"'\\]*+
                   )
               }{defined $1 ? $1 : ""}xgse;

This could be one reason (but very likely not the only one) to known
performance issues with lintian when checking postgresql (see #1014162)
or firefox. (Running lintian on a current firefox is said to take
several hours; which is the reason why I was trying to run lintian
against a current version of firefox.)

On a side note, lintian also needs more than approx. 10x the size of the
(compressed) source package for analysing, i.e. for the ca. 590 MB
source package, but it also first copies the tarball(s) which seems
rather unnecessary. Anyway:

Warning in processable firefox_102.0-1.dsc: No space left on device writing to temp file at /usr/share/perl5/IPC/Run3.pm line 150.

$ du -sh /tmp/lintian-pool-*
5.2G    /tmp/lintian-pool-OrasJ73xZK

Not really unexpected if it unpacks the whole source code, but still
caused troubles. Need to do these kind of tests on bigger RAM
disks. Which means in the end also to use boxes with more RAM. I've now
started such a run on rotating disks… Lets see how long that one takes.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils                        2.38.50.20220629-4
ii  bzip2                           1.0.8-5
ii  clzip [lzip-decompressor]       1.13-3
ii  diffstat                        1.64-1
ii  dpkg                            1.21.9
ii  dpkg-dev                        1.21.9
ii  file                            1:5.41-4
ii  gettext                         0.21-6
ii  gpg                             2.2.35-3
ii  intltool-debian                 0.35.0+20060710.5
ii  iso-codes                       4.10.0-1
ii  libapt-pkg-perl                 0.1.40+b1
ii  libarchive-zip-perl             1.68-1
ii  libberkeleydb-perl              0.64-1+b2
ii  libcapture-tiny-perl            0.48-1
ii  libclass-xsaccessor-perl        1.19-3+b8
ii  libclone-perl                   0.45-1+b2
ii  libconfig-tiny-perl             2.28-1
ii  libconst-fast-perl              0.014-2
ii  libcpanel-json-xs-perl          4.30-1
ii  libdata-dpath-perl              0.58-1
ii  libdata-validate-domain-perl    0.10-1.1
ii  libdata-validate-uri-perl       0.07-2
ii  libdevel-size-perl              0.83-1+b3
ii  libdigest-sha-perl              6.02-1+b4
ii  libdpkg-perl                    1.21.9
ii  libemail-address-xs-perl        1.04-1+b4
ii  libencode-perl                  3.18-1
ii  libfile-basedir-perl            0.09-1
ii  libfile-find-rule-perl          0.34-2
ii  libfont-ttf-perl                1.06-2
ii  libhtml-html5-entities-perl     0.004-2
ii  libhtml-tokeparser-simple-perl  3.16-4
ii  libio-interactive-perl          1.023-1
ii  libipc-run3-perl                0.048-2
ii  libjson-maybexs-perl            1.004003-1
ii  liblist-compare-perl            0.55-1
ii  liblist-someutils-perl          0.58-1
ii  liblist-utilsby-perl            0.12-1
ii  libmldbm-perl                   2.05-3
ii  libmoo-perl                     2.005004-3
ii  libmoox-aliases-perl            0.001006-2
ii  libnamespace-clean-perl         0.27-2
ii  libpath-tiny-perl               0.122-1
ii  libperlio-gzip-perl             0.20-1
ii  libperlio-utf8-strict-perl      0.009-1+b1
ii  libproc-processtable-perl       0.634-1+b1
ii  libregexp-wildcards-perl        1.05-2
ii  libsereal-decoder-perl          4.023+ds-1
ii  libsereal-encoder-perl          4.023+ds-1
ii  libsort-versions-perl           1.62-2
ii  libsyntax-keyword-try-perl      0.27-1
ii  libterm-readkey-perl            2.38-1+b3
ii  libtext-levenshteinxs-perl      0.03-5
ii  libtext-markdown-discount-perl  0.13-1+b1
ii  libtext-xslate-perl             3.5.9-1+b1
ii  libtime-duration-perl           1.21-1
ii  libtime-moment-perl             0.44-1+b4
ii  libtimedate-perl                2.3300-2
ii  libunicode-utf8-perl            0.62-1+b3
ii  liburi-perl                     5.10-1
ii  libwww-mechanize-perl           2.09-1
ii  libwww-perl                     6.67-1
ii  libxml-libxml-perl              2.0207+dfsg+really+2.0134-1
ii  libyaml-libyaml-perl            0.83+ds-1+b1
ii  lunzip [lzip-decompressor]      1.13-3
ii  lzip [lzip-decompressor]        1.23-3
ii  lzop                            1.04-2
ii  man-db                          2.10.2-1
ii  patchutils                      0.4.2-1
ii  perl [libencode-perl]           5.34.0-4
ii  plzip [lzip-decompressor]       1.10-3
ii  t1utils                         1.41-4
ii  unzip                           6.0-26
ii  xlunzip [lzip-decompressor]     0.7-5
ii  xz-utils                        5.2.5-2.1

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     2.38.50.20220629-4
ii  libtext-template-perl  1.61-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.115.3
Done: Bastien Roucariès <rouca@debian.org>

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 993613@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastien Roucariès <rouca@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 28 Aug 2022 08:31:41 +0000
Source: lintian
Architecture: source
Version: 2.115.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Bastien Roucariès <rouca@debian.org>
Closes: 101387 993613 995492 1014156
Changes:
 lintian (2.115.3) unstable; urgency=medium
 .
   The "RPB (Restore Previous Behavior)" Release.
 .
   [ Gioele Barabucci ]
   * experimental-to-unstable-without-comment: Fix regex (Closes: #101387)
 .
   [ Axel Beckert]
   * Recognise many more binary file type suffixes (Closes: #1014156)
 .
   [ Guillem Jover ]
   * Add pedantic hint for OpenPGP files named after
     specific implementations
   * Add more extensions for OpenPGP files
   * In the US "cancelation" is a valid spelling of "cancellation"
   * Rename debian-watch-does-not-check-gpg-signature
     tag to say openpgp
   * Fix --fail-on to revert to original default on error
     (Closes: #995492)
 .
   [ Bastien Roucariès ]
   * Restore sliding windows (Closes: #993613)
   * Add myself as uploaders
 .
   * Summary of tag changes:
     + Added:
       - debian-watch-does-not-check-openpgp-signature
       - openpgp-file-has-implementation-specific-extension
     + Removed:
       - debian-watch-does-not-check-gpg-signature
Checksums-Sha1:
 c0bb6e292570ce35644a9753ddaa93e10a7ec49e 2583 lintian_2.115.3.dsc
 74e755506be7840753ff976faace886b1dc281aa 2172628 lintian_2.115.3.tar.xz
 0d7175b07eba588877351e71cf8d90cf8d6c0aa4 7378 lintian_2.115.3_source.buildinfo
Checksums-Sha256:
 63697c3bde44ce96e51268e077e6879ccafd1c30f75604c5e27c30ab8a0050a5 2583 lintian_2.115.3.dsc
 787678607cc9a303908506ab0a475b3760ea6f28af381722d62db8fa89cf9c43 2172628 lintian_2.115.3.tar.xz
 210ee6915c72e5a44a5b0691d4cea03236b91a8436f80e61bf23b4be792b1d3e 7378 lintian_2.115.3_source.buildinfo
Files:
 4b9dadbf1768c3795b419e97fdbc1d10 2583 devel optional lintian_2.115.3.dsc
 7b2edaf87fa16b6226bd6eafb36a4b6f 2172628 devel optional lintian_2.115.3.tar.xz
 40c4c53d602f12b1de2513915d68215d 7378 devel optional lintian_2.115.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmMLd8gRHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF9fMQ//VY9ECX8LAse9PEEWu7/oSPD4AInywTEZ
55rD0zcEeELLth5VoLm/Z2BII4gd/ODX+U82yLOrf8Gr4LDA7lE8ihtwNW+uGDOK
X7o+1kYbh8sn5w7eKT6Ip6SHQ2A26lcf4Gm45NG4o9E4rw5Fpxm57t6hYURfaHSO
pZIY4QXCcMHZTsDosbJxAsAJKEcEL0ukPCLxKdHV+JprG20MQ3yL7o50FgtNGx+Z
mbdsJchljCwzDfw1TX48dpizwwXGRS9TkThrUJFNS2N0YYFvLVRhA8jzzfT48Q3d
LCMHlIX4RwBgoHmBkHeqsuYPwvncv3fe1b/wKCw8eXhGHP2beVk35krl0XeAZ+ta
Dx+pcyBigGkhQtAMy4NWAJEN7OlQW6q6TxYZehCxv/7IrMyc4hBhU9GIv19UB1U/
xqTBHIRBNUI0o9zSL9dpBl2eaDo8eeXLM68m4kISZm4ggRZmxMhxRasU+q+6t0Rx
VTvwnp0/NpIFJDn4ccQcsHImQHmXLZVWOv+XpwZ9FrpFiuR5ALTN6HvVX6ZxXhyn
122WW1bG2/wUDhUkYWhnYk5o5wJ6dI9Lo0leCbK8n0j6YbbVqVJifacOK3K+zmva
us+RZH71Sq7upcAQlCjlHUfeDFB2YfXLJF2Ygdw3tmyArZru6l2v//EJGLP2mNF4
INri9gjXsCc=
=dDwZ
-----END PGP SIGNATURE-----

Attachment: pgp4Q91UkxyPn.pgp
Description: PGP signature


--- End Message ---

Reply to: