Package: devscripts
Version: 2.23.6
Severity: important
Tags: ftbfs
X-Debbugs-Cc: r...@debian.org


Dear Maintainer,


The devscripts package FTBFS in Debian, in the reproducible builds
project, as well as in the derivative Apertis distribution.

The problem comes from `debchange`, which now doesn't like
buster-backports as a distro.

For the failing test, I bumpded the test distro from Buster to Bookworm.

Does it look correct ?


-- Package-specific info:

--- /etc/devscripts.conf ---
Empty.

--- ~/.devscripts ---
DEBEMAIL="r...@debian.org"
DEBFULLNAME="Ritesh Raj Sarraf"
BTS_SMTP_HOST="localhost"
BTS_INTERACTIVE=yes
DEBSIGN_KEYID="43DE F582 F9E6 7111 CE00  8917 F2F1 1C23 F00A 2BE6"
DEB_SIGN_KEYID="43DE F582 F9E6 7111 CE00  8917 F2F1 1C23 F00A 2BE6"

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-security'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), 
(500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), 
(100, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages devscripts depends on:
ii  dpkg-dev              1.22.0
ii  fakeroot              1.32.1-1
ii  file                  1:5.45-2
ii  gnupg                 2.2.40-1.1
ii  gnupg2                2.2.40-1.1
ii  gpgv                  2.2.40-1.1
ii  libfile-dirlist-perl  0.05-3
ii  libfile-homedir-perl  1.006-2
ii  libfile-touch-perl    0.12-2
ii  libfile-which-perl    1.27-2
ii  libipc-run-perl       20220807.0-1
ii  libmoo-perl           2.005005-1
ii  libwww-perl           6.72-1
ii  patchutils            0.4.2-1
ii  perl                  5.36.0-9
ii  python3               3.11.4-5+b1
ii  sensible-utils        0.0.20
ii  wdiff                 1.2.2-5

Versions of packages devscripts recommends:
ii  apt                         2.7.3
ii  curl                        8.2.1-2
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2023.05.26
ii  dput-ng [dput]              1.37
ii  equivs                      2.3.1
ii  libdistro-info-perl         1.5
ii  libdpkg-perl                1.22.0
ii  libencode-locale-perl       1.05-3
ii  libgit-wrapper-perl         0.048-2
ii  libgitlab-api-v4-perl       0.27-1
ii  libjson-perl                4.10000-1
ii  liblist-compare-perl        0.55-2
ii  liblwp-protocol-https-perl  6.11-1
pn  libsoap-lite-perl           <none>
ii  libstring-shellquote-perl   1.04-3
ii  libtry-tiny-perl            0.31-2
ii  liburi-perl                 5.21-1
ii  licensecheck                3.3.9-1
ii  lintian                     2.116.3
ii  man-db                      2.11.2-3
ii  patch                       2.7.6-7
ii  pristine-tar                1.50
ii  python3-apt                 2.6.0
ii  python3-debian              0.1.49
ii  python3-magic               2:0.4.27-2
ii  python3-requests            2.31.0+dfsg-1
ii  python3-unidiff             0.7.3-1
ii  python3-xdg                 0.28-2
ii  strace                      6.4-0.1
ii  unzip                       6.0-28
ii  wget                        1.21.3-1+b2
ii  xz-utils                    5.4.4-0.1

Versions of packages devscripts suggests:
ii  adequate                     0.15.8
ii  at                           3.2.5-2
ii  autopkgtest                  5.30
pn  bls-standalone               <none>
ii  build-essential              12.10
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
ii  debhelper                    13.11.6
pn  diffoscope                   <none>
pn  disorderfs                   <none>
ii  dose-extra                   7.0.0-4
pn  duck                         <none>
pn  elpa-devscripts              <none>
pn  faketime                     <none>
pn  gnuplot                      <none>
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1600-3
pn  libdbd-pg-perl               <none>
ii  libfile-desktopentry-perl    0.22-3
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3300-2
pn  libyaml-syck-perl            <none>
ii  mailutils [mailx]            1:3.16-1+b1
pn  mmdebstrap                   <none>
pn  mozilla-devscripts           <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:9.4p1-1
pn  piuparts                     <none>
pn  postgresql-client            <none>
ii  pristine-lfs                 20210404.1-2
ii  quilt                        0.67+really0.66-1
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
pn  w3m                          <none>

-- no debconf information
>From 5509881fbc5e80c101b6bba900cbc3ad8eaa44aa Mon Sep 17 00:00:00 2001
From: Ritesh Raj Sarraf <ritesh.sar...@collabora.com>
Date: Wed, 13 Sep 2023 20:55:31 +0530
Subject: [PATCH] User bookworm-backports suite for guessed distro

While Buster Backport should still be active, it currently falls under
old-old-stable.

With debchange from the devscripts package in Bookworm, it reports an
error for Buster, which is not reported with the release code name

```
$ debchange --no-conf -c "/tmp/changelog" --vendor Debian --create -D 
buster-backports --package test-package -v 1.0-1 'First upload'debchange 
warning: Recognised distributions are:
experimental, unstable, testing, stable, oldstable, oldoldstable,
{trixie,bookworm,bullseye,buster}-proposed-updates,
{testing,stable,oldstable,oldoldstable}-proposed-updates,
{trixie,bookworm,bullseye,buster}-security,
{testing,stable,oldstable,oldoldstable}}-security, bullseye-backports, 
bookworm-backports and UNRELEASED.
Using your request anyway.
```

Signed-off-by: Ritesh Raj Sarraf <ritesh.sar...@collabora.com>
---
 test/test_debchange | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_debchange b/test/test_debchange
index e20c62f..98593d1 100755
--- a/test/test_debchange
+++ b/test/test_debchange
@@ -236,7 +236,7 @@ verifyGuessedDistribution() {
 testGuessedDistribution() {
     verifyGuessedDistribution unstable -i unstable
     verifyGuessedDistribution experimental -i experimental
-    verifyGuessedDistribution buster-backports -i buster-backports
+    verifyGuessedDistribution bookworm-backports -i bookworm-backports
     verifyGuessedDistribution stretch -i stretch
     verifyGuessedDistribution unstable --bpo bullseye-backports
     verifyGuessedDistribution unstable --stable bullseye
-- 
2.40.1

Reply via email to