• Bug#1101050: upstream-metadata-file fixer fails due to FAQ field

    From Eric Dorland@21:1/5 to All on Sat Mar 22 16:30:01 2025
    Package: lintian-brush
    Version: 0.160+b2
    Severity: normal

    When running lintian-brush against opensc I see the follwoing error:

    Some fixer scripts failed to run:
    upstream-metadata-file: Script failed: /usr/share/lintian-brush/fixers/upstream-metadata-file.py (exit code 1) (stderr: Traceback (most recent call last):
    File "/usr/share/lintian-brush/fixers/upstream-metadata-file.py", line 104, in <module>
    upstream_metadata = UpstreamMetadata.from_dict(code, "certain") RuntimeError: Unknown field: FAQ
    )

    But according to DEP12 FAQ is a known field.

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.11.5-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages lintian-brush depends on:
    ii devscripts 2.25.5
    ii libc6 2.41-6
    ii libgcc-s1 14.2.0-19
    ii liblzma5 5.6.4-1
    ii libpython3.13 3.13.2-2
    ii libssl3t64 3.4.1-1
    ii python3 3.13.2-2
    ii python3-breezy 3.3.10-1
    ii python3-debian 1.0.1
    ii python3-debmutate 0.72
    ii python3-distro-info 1.13
    ii python3-dulwich 0.22.7-1
    ii python3-iniparse 0.5.1-1
    ii python3-iso8601 2.1.0-2
    ii python3-psycopg2 2.9.10-1+b1
    ii python3-ruamel.yaml 0.18.10+ds-1
    ii python3-semver 3.0.2-1
    ii python3-tomlkit 0.13.2-1
    ii python3-upstream-ontologist 0.2.2-2+b1

    Versions of packages lintian-brush recommends:
    ii debhelper 13.24.1
    ii decopy 0.2.4.8-0.1
    ii dos2unix 7.5.2-1
    ii gpg 2.2.46-5
    ii lintian 2.121.2
    ii ognibuild 0.0.32-2+b2
    ii python3-bs4 4.13.3-2
    ii python3-levenshtein 0.27.0-1+b1

    Versions of packages lintian-brush suggests:
    ii brz-debian 2.8.79
    ii git-buildpackage 0.9.37
    pn gnome-pkg-tools <none>
    ii po-debconf 1.0.21+nmu1
    pn postgresql-common <none>

    -- no debconf information

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