Bug#993613: lintian: Complex regular subexpression recursion limit exceeded in cruft check
Hi,
This still affects v2.115.2.
$ lintian r-cran-swagger_3.33.1-1.dsc
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
Warning in processable r-cran-swagger_3.33.1-1.dsc: Complex regular subexpression recursion limit (65534) exceeded at /usr/share/lintian/lib/Lintian/Check/Cruft.pm line 449.
E: r-cran-swagger source: source-is-missing [inst/dist3/swagger-ui-bundle.js]
E: r-cran-swagger source: source-is-missing [inst/dist3/swagger-ui-standalone-preset.js]
E: r-cran-swagger source: source-is-missing [inst/dist3/swagger-ui.js]
Lucas
On 03/09/21 at 09:56 -0700, Felix Lechner wrote:
> Package: lintian
>
> Hi,
>
> A bunch of packages run for a very long time and show output similar to that:
>
> Complex regular subexpression recursion limit (65534) exceeded at
> /tmp/Lintian-OK2cEF3W/Lintian/lib/Lintian/Check/Cruft.pm line 760.
>
> This is a known consequence of changes made to the cruft check in this
> commit [1] although the source has not been identified. Most likely,
> the license parsing will have to be rewritten with modern probability
> techniques for text matching or by using a specialized tool. [2]
>
> Kind regards
> Felix Lechner
>
> [1] https://salsa.debian.org/lintian/lintian/-/commit/3410cb55a647aa3844d5f1b189a6f73975059a74
> [2] https://wiki.debian.org/CopyrightReviewTools
Reply to: