• Bug#1109014: licensecheck: license patterns: false positive RPSL-1.0

    From Felix Busch@21:1/5 to All on Wed Jul 9 17:30:01 2025
    Package: licensecheck
    Version: 3.3.9-1
    Severity: minor

    Dear Maintainer,
    While running TRACE=1 licensecheck --lines 0 Documentation/50-pot/subsurface-user-manual.pot through the following file:
    https://github.com/subsurface/subsurface/blob/master/Documentation/50-pot/subsurface-user-manual.pot
    and searching for the query <License> false positives get shown. Some of the text gets recognised
    as talking about Licenses and it attributes it to the wrong License (RealNetworks Public Source License 1.0) (you may find the output below).

    scan for license fulltext
    scan stepwise for license grant
    located trait: licensed_under: 86-104 "distributed under "
    located trait: licensed_under: 157584-157597 "according to "
    located trait: licensed_under: 221007-221020 "according to "
    located trait: licensed_under: 221391-221404 "according to "
    located trait: licensed_under: 223879-223892 "according to "
    located trait: licensed_under: 307336-307349 "according to "
    located trait: name(rpsl): 223892-223900 "the real"
    located trait: grant(rpsl): 223879-223900 "according to the real"
    scan for oddities
    scan for FSFUL fulltext
    scan for FSFULLR fulltext
    scan atomic for singleversion usage license grant
    scan atomic for singleversion license grant
    scan atomic for versioned license grant
    collected some licensing: RPSL
    scan atomic for misc fulltext/grant
    resolved license expression: RPSL

    Thank you for looking into this bug.


    -- System Information:
    Debian Release: 13.0
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.33+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH:de
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages licensecheck depends on:
    ii libfeature-compat-class-perl 0.05-1
    ii libfeature-compat-try-perl 0.05-1
    ii libio-interactive-perl 1.027-1
    ii liblog-any-adapter-screen-perl 0.141-1
    ii liblog-any-perl 1.717-1
    ii libnamespace-clean-perl 0.27-2
    ii libpath-iterator-rule-perl 1.015-2
    ii libpath-tiny-perl 0.148-1
    ii libpod-constants-perl 0.19-2
    ii libstring-copyright-perl 0.003014-1
    ii libstring-escape-perl 2010.002-3
    ii libstring-license-perl 0.0.2-1
    ii perl 5.36.0-7+deb12u2

    Versions of packages licensecheck recommends:
    ii libregexp-pattern-license-perl 3.11.2-1

    Versions of packages licensecheck suggests:
    ii bash-completion 1:2.16.0-7

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)