Bug#857964: devscripts: debsign can't find buildinfo if changes file is not in $(pwd)

Simon McVittie smcv at debian.org
Thu Mar 16 18:32:07 UTC 2017


Package: devscripts
Version: 2.17.3
Severity: normal

I'm using a build tool (vectis, #843486) that outputs all built files into a
newly created directory. I used to be able to use a command like:

    debsign whatever_directory/*_source.changes

but this no longer works:

    $ debsign ostree_2017.3-1_20170316t070324/ostree_2017.3-1_source.changes
    debsign: Can't find or can't read buildinfo file ostree_2017.3-1_20170316t070324/!
    $ debsign $(pwd)/ostree_2017.3-1_20170316t070324/ostree_2017.3-1_source.changes
    debsign: Can't find or can't read buildinfo file /home/smcv/tmp/build-area/ostree_2017.3-1_20170316t070324/!

If I cd into the directory and pass a basename to debsign, it works again.

Presumably this is a regression in the recently-added support for
signing buildinfo files.

Thanks,
    S

-- Package-specific info:

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

--- ~/.devscripts ---
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBSIGN_KEYID="0x63c7cc90"
DEBUILD_PREPEND_PATH=/usr/lib/ccache
DEBUILD_PRESERVE_ENVVARS=CCACHE_DIR
DEBUILD_LINTIAN=yes
DEBUILD_LINTIAN_OPTS=-I
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -I.*.sw? -I.sw? -I.git"
BTS_SENDMAIL_COMMAND="/home/smcv/bin/sendmail-illusion -t -f smcv at debian.org"
DEBDIFF_SHOW_MOVED=yes
DEBDIFF_SHOW_DIFFSTAT=yes
USCAN_DESTDIR="$HOME/tmp/build-area"

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.23
ii  libc6        2.24-9
ii  perl         5.24.1-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.4~rc2
ii  at                          3.1.20-3
ii  curl                        7.52.1-3
ii  dctrl-tools                 2.24-2+b1
ii  debian-keyring              2017.02.12
ii  dput                        0.12.0
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.21-3.1
ii  file                        1:5.29-3
ii  gnupg                       2.1.18-6
ii  gnupg2                      2.1.18-6
ii  libdistro-info-perl         0.14
ii  libdpkg-perl                1.18.23
ii  libencode-locale-perl       1.05-1
ii  libgit-wrapper-perl         0.047-1
ii  liblist-compare-perl        0.53-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.20-1
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  licensecheck                3.0.29-1
ii  lintian                     2.5.50.1
ii  man-db                      2.7.6.1-2
ii  patch                       2.7.5-1+b2
ii  patchutils                  0.3.4-2
ii  pseudo [fakeroot]           1.8.1+git20161012-2
ii  python3-debian              0.1.30
ii  python3-magic               1:5.29-3
ii  sensible-utils              0.0.9
ii  strace                      4.15-2
ii  unzip                       6.0-21
ii  wdiff                       1.2.2-2
ii  wget                        1.19.1-1
ii  xz-utils                    5.2.2-1.2+b1

Versions of packages devscripts suggests:
ii  adequate                     0.15.1
ii  autopkgtest                  4.3
pn  bls-standalone               <none>
ii  bsd-mailx [mailx]            8.1.2-0.20160123cvs-3
ii  build-essential              12.3
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
ii  diffoscope                   78
pn  disorderfs                   <none>
pn  dose-extra                   <none>
pn  duck                         <none>
ii  faketime                     0.9.6-7+b1
ii  gnuplot                      5.0.5+dfsg1-5
ii  gpgv                         2.1.18-6
ii  how-can-i-help               15
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
pn  libnet-smtps-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.29-1+b2
pn  mozilla-devscripts           <none>
ii  mutt                         1.8.0-1
ii  openssh-client [ssh-client]  1:7.4p1-8
ii  piuparts                     0.76
pn  ratt                         <none>
ii  reprotest                    0.6
ii  svn-buildpackage             0.8.6
ii  w3m                          0.5.3-34

-- no debconf information



More information about the devscripts-devel mailing list