Bug#849752: lintian: dpkg-source failed with status 2 / no such file or directory
Package: lintian
Version: 2.5.49
Severity: normal
Hi,
with both versions of lintian on jessie/jessie-backports (I think since a stable update of
jessie itself) I get an error on checking most of my packages:
# export LINTIAN_DEBUG=1; lintian -IE --pedantic /var/cache/pbuilder/result/ckport*.changes
warning: the authors of lintian do not recommend running it with root privileges!
N: Using dpkg-source to unpack ckport
cp: cannot stat '/tmp/temp-lintian-lab-icMThgdBt5/pool/c/ckport/ckport_0.1~rc1-6_source/ckport_0.1~rc1.orig.tar.gz': No such file or directory
dpkg-source: error: cp /tmp/temp-lintian-lab-icMThgdBt5/pool/c/ckport/ckport_0.1~rc1-6_source/ckport_0.1~rc1.orig.tar.gz to /tmp/temp-lintian-lab-icMThgdBt5/pool/c/ckport/ckport_0.1~rc1-6_source/ckport_0.1~rc1.orig.tar.gz gave error exit status 1
internal error: dpkg-source -x failed with status 2 at /usr/share/lintian/collection/unpacked line 71.
warning: collect info unpacked about package ckport failed
warning: skipping check of source package ckport
So to reproduce it, here it is eg enough to:
dget http://httpredir.debian.org/debian/pool/main/c/ckport/ckport_0.1~rc1-6.dsc
pbuilder --build ckport_0.1~rc1-6.dsc
lintian ckport_0.1~rc1-6_amd64.changes
My /tmp is also correct:
root@srv1:/tmp# ls -ld /tmp
drwxrwxrwt 9 root root 4096 Dez 30 15:50 /tmp
root@srv1:/tmp# ls -ld `mktemp -d`
drwx------ 2 root root 4096 Dez 30 15:51 /tmp/tmp.XfY9dkVIVz
-- System Information:
Debian Release: 8.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.25-5
ii bzip2 1.0.6-7+b3
ii diffstat 1.58-1
ii file 1:5.22+15-2+deb8u2
ii gettext 0.19.3-2
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.29+b2
ii libarchive-zip-perl 1.39-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.37-1+b1
ii libdpkg-perl 1.17.27
ii libemail-valid-perl 1.195-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-2+b1
ii libparse-debianchangelog-perl 1.2.0-1.1
ii libtext-levenshtein-perl 0.11-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.64-1
ii libyaml-libyaml-perl 0.41-6
ii man-db 2.7.0.2-5
ii patchutils 0.3.3-1
ii perl [libdigest-sha-perl] 5.20.2-3+deb8u6
ii t1utils 1.38-4
ii xz-utils 5.1.1alpha+20120614-2+b3
Versions of packages lintian recommends:
ii dpkg 1.17.27
ii libperlio-gzip-perl 0.18-3+b1
ii perl 5.20.2-3+deb8u6
ii perl-modules [libautodie-perl] 5.20.2-3+deb8u6
Versions of packages lintian suggests:
ii binutils-multiarch 2.25-5
ii dpkg-dev 1.17.27
ii libhtml-parser-perl 3.71-1+b3
ii libtext-template-perl 1.46-1
-- no debconf information
Reply to: