• Bug#1063783: libconfig-model-dpkg-perl: does not recognise Architecture

    From Victor Westerhuis@21:1/5 to All on Mon Feb 12 18:40:02 2024
    Package: libconfig-model-dpkg-perl
    Version: 3.003
    Severity: normal
    File: /usr/share/perl5/Config/Model/models/Dpkg/Tests/Control.pl

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    libconfig-model-dpkg-perl does not recognise the Architecture field
    which can appear in debian/tests/control according to the autopkgtest documentation at https://salsa.debian.org/ci-team/autopkgtest/raw/master/doc/README.package-tests.rst.

    - --
    Vriendelijke groet, Kind regards,

    Victor Westerhuis

    - -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64)
    Foreign Architectures: arm64

    Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_NL.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en_US:en:nl_NL:nl
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages libconfig-model-dpkg-perl depends on:
    ii debhelper 13.13
    ii libapt-pkg-perl 0.1.40+b3
    ii libarray-intspan-perl 2.004-2
    ii libconfig-model-backend-yaml-perl 2.134-2
    ii libconfig-model-perl 2.153-3
    ii libexporter-lite-perl 0.09-2
    ii liblog-log4perl-perl 1.57-1
    ii libmouse-perl 2.5.10-1+b4
    ii libparse-debcontrol-perl 2.005-6
    ii libparse-recdescent-perl 1.967015+dfsg-4
    ii libsoftware-copyright-perl 0.012-2
    ii libsoftware-licensemoreutils-perl 1.009-1
    ii libsort-versions-perl 1.62-3
    ii libtext-autoformat-perl 1.750000-2
    ii libtext-levenshtein-damerau-perl 0.41-3
    ii libtoml-tiny-perl 0.16-1
    ii liburi-perl 5.25-1
    ii libwww-perl 6.76-1
    ii libyaml-pp-perl 0.38.0-1
    ii licensecheck 3.3.9-1
    ii lintian 2.116.3
    ii perl [libmodule-corelist-perl] 5.38.2-3

    Versions of packages libconfig-model-dpkg-perl recommends:
    ii libconfig-model-tkui-perl 1.379-1

    libconfig-model-dpkg-perl suggests no packages.

    - -- no debconf information

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

    iQJHBAEBCAAxFiEE6OxII3T+o0Ujs6ECQz2Rq5dHQPsFAmXKT0wTHHZpY3RvckB3 ZXN0ZXJodS5pcwAKCRBDPZGrl0dA+wiwD/wOVKYNSHE2kRjxAZYzGJ5F11cXDsg+ 8DLz+4m0Vrx5rnu9YFgvGlREANLZ5FhpyhQW+J4MXb1j3psparNgGcIfYwOVr/y8 f4+dvdBBSEM/wD0fHCi1pYSYnomo//TQYx7kp2fpIyxMMMk1/osFCusqENNCZOR4 +dn8GSVlOaet/4JjGNJhskl88FKqjcGMfpu9zVwZs3VERQP0AZ950laAhkBB89TL U+A+wzZEtNccyqGKzqx0xgasAFaKco6Co5PVs59VVAy2OJ3eitaVgVMDuQFuWcZR r8Xd7/Zl8Il0cvsuobjvaUYO+b9QuebIuT16Q3DMcG515dKv6uEDH/P9vEgym3EQ 5JdFl33wdcZvRr35i4dYQIqoiGBO1A4XpXLj44b+B+U72IDW6YcVWH7r+V6YBOpP U0DjMkFnMDcnloEUXZLJr5M6xX2QMevdN19We7ygTWSWDpbwbILWF7LgzA8n5fLa 5VO+s92EOrqXerArq8LRzW0oNUOdlN5/UrqUNqGnGbpEpAxBcviAjWGwOyaRJxk7 X1Xa8VSUpMI0fX2SwtMm93CUTN7QbBNsEJUKrZF6Q6HW2Pfef7728p93liAf3ug8 HKKDzewPwFwjCEMuI7K0VEc3AHyl4jHoVI84ukJHVeZ0MBHWoeOPAIgG6pYFdTX5 InYc/KMipn2Y8w==
    =JxCT
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Victor Westerhuis@21:1/5 to All on Mon Feb 12 21:50:02 2024
    This is a multi-part MIME message sent by reportbug.


    Package: libconfig-model-dpkg-perl
    Followup-For: Bug #1063783
    Control: tags -1 patch

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    I've opened a MR[1] on Salsa with a fix. I've also included the patch
    with this message.

    - --
    Vriendelijke groet, Kind regards,

    Victor Westerhuis

    - -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64)
    Foreign Architectures: arm64

    Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_NL.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en_US:en:nl_NL:nl
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages libconfig-model-dpkg-perl depends on:
    ii debhelper 13.13
    ii libapt-pkg-perl 0.1.40+b3
    ii libarray-intspan-perl 2.004-2
    ii libconfig-model-backend-yaml-perl 2.134-2
    ii libconfig-model-perl 2.153-3
    ii libexporter-lite-perl 0.09-2
    ii liblog-log4perl-perl 1.57-1
    ii libmouse-perl 2.5.10-1+b4
    ii libparse-debcontrol-perl 2.005-6
    ii libparse-recdescent-perl 1.967015+dfsg-4
    ii libsoftware-copyright-perl 0.012-2
    ii libsoftware-licensemoreutils-perl 1.009-1
    ii libsort-versions-perl 1.62-3
    ii libtext-autoformat-perl 1.750000-2
    ii libtext-levenshtein-damerau-perl 0.41-3
    ii libtoml-tiny-perl 0.16-1
    ii liburi-perl 5.25-1
    ii libwww-perl 6.76-1
    ii libyaml-pp-perl 0.38.0-1
    ii licensecheck 3.3.9-1
    ii lintian 2.116.3
    ii perl [libmodule-corelist-perl] 5.38.2-3

    Versions of packages libconfig-model-dpkg-perl recommends:
    ii libconfig-model-tkui-perl 1.379-1

    libconfig-model-dpkg-perl suggests no packages.

    - -- no debconf information

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

    iQJHBAEBCAAxFiEE6OxII3T+o0Ujs6ECQz2Rq5dHQPsFAmXKerwTHHZpY3RvckB3 ZXN0ZXJodS5pcwAKCRBDPZGrl0dA+7X0D/9MJ/oQ6IrkQy3H9l4vdh6YvNmxp8Bv ebTteB/Orhm8NAa3PMcgUKV1FQRBwncxjpc38r2qaFvVSMOCbZvCH94VtxixGCsK /RvKyMOxDf5qZixLuTz1iaYp+Va+dbijiMG7YKAcwSOFx+FWJ85l/OAW9hFboj/c Z8Ue7P/UMJqoKQOQoWV9hyKN5zbAma9gftSHxo/o6Jyad6hVWxznByC08DHdYW+K EVvE0/mAQKsZkna8OSf0h+cIghXkEK6z8ueEShP7MaWsfQkuL0RnOf76Qh0Jxxom lP79rf8TN6N9xJFntMqtIxp7RIqCGF7nIzQALqe32W7y+qeKtwilGmLTH/OmNOmd zcC1N1/q1NIOuYxzIGBcIGvNf3fT7aS1Tmhc8nRzy+yqccUri1UUej/+cM87eqc1 4azmfm67J0JZgWmzUJ6638vYacHqz59kurzK7d/MWdXRqSpH8YiwhVpzpcvykxIM fwmAj9h97KDNILKX4Wq1B0v8PUXn2r4hxS/ugq4sHDMJRcy8KuvLHUGjH8aXDkJF m1+zqrq/n9BucehJTZRVB3cfAsqDvzfVks11XdbrPlHnABZmbeeaXIwkHGC56rYy E3rXOon9yTpKsZ+bn75K+13kaMgZekVKRA0RfaSOmmwWWbZxX9OkCIxQcdQWJ1KV BSmHdqBnbabfkQ==
    =Fvjq
    -----END PGP SIGNATURE-----

    From 9ccdbc88bf300e25a3dbcd043a4b492dba7cf9b7 Mon Sep 17 00:00:00 2001
    From: Victor Westerhuis <victor@westerhu.is>
    Date: Mon, 12 Feb 2024 20:49:15 +0100
    Subject: Add Architecture as allowed field in debian/tests/control

    ---
    lib/Config/Model/models/Dpkg/Tests/Control.pl | 6 ++++++
    1 file changed, 6 insertions(+)

    diff --git a/lib/Config/Model/models/Dpkg/Tests/Control.pl b/lib/Config/Model/models/Dpkg/Tests/Control.pl
    index f0f0f13e..12b9d053 100644
    --- a/lib/Config/Model/models/Dpkg/Tests/Control.pl
    +++ b/lib/Config/Model/models/Dpkg/Tests/Control.pl
    @@ -120,6 +120,12 @@ This field can specify a list of abstract class names such as "desktop" or "grap
    This is purely an informational field for autopkgtest itself and will be ignored.',
    'type' => 'leaf',
    'value_type' => 'uniline'
    + },
    + 'Architecture',
    + {
    + 'description' => 'When package tests are only supported on a limited set of architectures, or are known to not work on a particular (set of) architecture(s), this field can be used to define the supported architectures. The autopkgtest will be
    skipped when the architecture of the testbed doesn\'t match the content of this field. The format is the same as in (Build-)