Package: devscripts
Version: 2.22.2
Severity: important

The use of dch may rename the current directory:

  If  the directory name of the source tree has the form package-version,
  then debchange will also attempt to rename it if the (upstream) version
  number  changes.  This can be prevented by using the --preserve command
  line or configuration file option as described below.

This is documented, but this is silly as it can make builds fail:

zira:/tmp> apt source console-setup
[...]
zira:/tmp> cd ./console-setup-1.210
zira:...nsole-setup-1.210> dch -l +local foo
dch warning: your current directory has been renamed to:
../console-setup-1.210+local1
zira:...nsole-setup-1.210> debuild -i -us -uc -b
[...]
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-Fixed15.psf] Error 2
make: *** Waiting for unfinished jobs....
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-Fixed16.psf] Error 2
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-VGA14.psf] Error 2
make: *** [Fonts/Makefile:342: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-VGA28x16.psf] Error 2
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-VGA16.psf] Error 2
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
make: *** [Fonts/Makefile:342: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-VGA32x16.psf] Error 2
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Armenian-Fixed13.psf] Error 2
/tmp/console-setup-1.210+local1/Fonts/bdf2psf: /tmp/console-setup-1.210: No 
such file or directory
make: *** [Fonts/Makefile:338: 
/tmp/console-setup-1.210+local1/Fonts/Arabic-VGA8.psf] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -b failed

-- Package-specific info:

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

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages devscripts depends on:
ii  dpkg-dev              1.21.9
ii  fakeroot              1.29-1
ii  file                  1:5.41-4+local3
ii  gnupg                 2.2.39-1
ii  gpgv                  2.2.39-1
ii  libc6                 2.34-8
ii  libfile-dirlist-perl  0.05-2
ii  libfile-homedir-perl  1.006-1
ii  libfile-touch-perl    0.12-1
ii  libfile-which-perl    1.27-1
ii  libipc-run-perl       20220807.0-1
ii  libmoo-perl           2.005004-3
ii  libwww-perl           6.67-1
ii  patchutils            0.4.2-1
ii  perl                  5.34.0-5
ii  python3               3.10.6-1
ii  sensible-utils        0.0.17
ii  wdiff                 1.2.2-2+b1

Versions of packages devscripts recommends:
ii  apt                         2.5.2
ii  curl                        7.85.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2022.08.11
ii  dput                        1.1.2
ii  equivs                      2.3.1
ii  libdistro-info-perl         1.1
ii  libdpkg-perl                1.21.9
ii  libencode-locale-perl       1.05-2
ii  libgit-wrapper-perl         0.048-1
ii  libgitlab-api-v4-perl       0.26-2
ii  liblist-compare-perl        0.55-1
ii  liblwp-protocol-https-perl  6.10-1
ii  libsoap-lite-perl           1.27-1
ii  libstring-shellquote-perl   1.04-2
ii  libtry-tiny-perl            0.31-1
ii  liburi-perl                 5.12-1
ii  licensecheck                3.3.0-1
ii  lintian                     2.115.3
ii  man-db                      2.10.2-3
ii  patch                       2.7.6-7
ii  pristine-tar                1.49
ii  python3-apt                 2.3.0+b2
ii  python3-debian              0.1.47
ii  python3-magic               2:0.4.26-2
ii  python3-requests            2.27.1+dfsg-1
ii  python3-unidiff             0.7.3-1
ii  python3-xdg                 0.27-2
ii  strace                      5.10-1
ii  unzip                       6.0-27
ii  wget                        1.21.3-1+b2
ii  xz-utils                    5.2.5-2.1

Versions of packages devscripts suggests:
pn  adequate                     <none>
ii  at                           3.2.5-1
pn  autopkgtest                  <none>
pn  bls-standalone               <none>
ii  bsd-mailx [mailx]            8.1.2-0.20220412cvs-1
ii  build-essential              12.9
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
ii  debhelper                    13.9.1
pn  diffoscope                   <none>
pn  disorderfs                   <none>
pn  dose-extra                   <none>
pn  duck                         <none>
pn  elpa-devscripts              <none>
pn  faketime                     <none>
ii  gnuplot-qt [gnuplot]         5.4.4+dfsg1-1
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1600-2
pn  libdbd-pg-perl               <none>
ii  libfile-desktopentry-perl    0.22-2
pn  libnet-smtps-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3300-2
pn  libyaml-syck-perl            <none>
ii  mailutils [mailx]            1:3.15-3
pn  mmdebstrap                   <none>
pn  mozilla-devscripts           <none>
ii  mutt                         2.2.7-1
ii  openssh-client [ssh-client]  1:9.0p1-1+b1
pn  piuparts                     <none>
pn  postgresql-client            <none>
pn  pristine-lfs                 <none>
ii  quilt                        0.66-2.1
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3+git20220429-1+b1

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to