[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934535: marked as done (Error out when input files do not exist)



Your message dated Thu, 4 Jun 2020 17:58:20 -0700
with message-id <CAFHYt54a2CmrwUk8WEArqwJMEUiuwMf1nNnjoa=FNskHGUVa-w@mail.gmail.com>
and subject line lintian: Error out when input files do not exist
has caused the Debian Bug report #934535,
regarding Error out when input files do not exist
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
934535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934535
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Hi Drew,

On Sun, Aug 11, 2019 at 6:36 PM Felix Lechner
<felix.lechner@lease-up.com> wrote:
>
> The [confusing] error message comes from dpkg-source.

I have not seen any activity from the Dpkg maintainers on your
original filing #849752.

> Perhaps Lintian should also error out
> when files destined for the pool do not exist.

Lintian did its part shortly after our last communication. The fix was
committed in:

    https://salsa.debian.org/lintian/lintian/-/commit/16e4b8e3e8613afd32d10d1878d7da67fa053451

The relevant changes are probably easier to see in the links below.
Thanks for using Lintian.

Closing this bug.

Kind regards
Felix Lechner

* * *

    https://salsa.debian.org/lintian/lintian/-/blob/16e4b8e3e8613afd32d10d1878d7da67fa053451/lib/Lintian/Processable/Changes.pm#L70-71
    https://salsa.debian.org/lintian/lintian/-/blob/16e4b8e3e8613afd32d10d1878d7da67fa053451/lib/Lintian/Processable/Source.pm#L70-71
    https://salsa.debian.org/lintian/lintian/-/blob/16e4b8e3e8613afd32d10d1878d7da67fa053451/lib/Lintian/Processable/Binary.pm#L70-71
    https://salsa.debian.org/lintian/lintian/-/blob/16e4b8e3e8613afd32d10d1878d7da67fa053451/lib/Lintian/Processable/Udeb.pm#L70-71
    https://salsa.debian.org/lintian/lintian/-/blob/16e4b8e3e8613afd32d10d1878d7da67fa053451/lib/Lintian/Processable/Buildinfo.pm#L70-71

--- End Message ---

Reply to: