Hi Drew,
On Sat, Aug 10, 2019 at 5:29 AM Drew Parsons <
dparsons@debian.org> wrote:
>
> dijitso is one simple example.
I can reproduce your error simply by removing the orig tarball after building:
$ dget
http://deb.debian.org/debian/pool/main/d/dijitso/dijitso_2019.1.0-2.dsc$ git clone
https://salsa.debian.org/science-team/fenics/dijitso.git$ cd dijitso
$ debuild
$ cd ..
$ rm dijitso_2019.1.0.orig.tar.gz
$ lintian dijitso_2019.1.0-2_amd64.changes
Non-zero status 1 from dpkg-source:
cp: cannot stat '/tmp/temp-lintian-lab-gj8K2GuINF/pool/d/dijitso/dijitso_2019.1.0-2_source/dijitso_2019.1.0.orig.tar.gz': No such file or directory
dpkg-source: error: cp /tmp/temp-lintian-lab-gj8K2GuINF/pool/d/dijitso/dijitso_2019.1.0-2_source/dijitso_2019.1.0.orig.tar.gz to /tmp/temp-lintian-lab-gj8K2GuINF/pool/d/dijitso/dijitso_2019.1.0-2_source/dijitso_2019.1.0.orig.tar.gz subprocess returned exit status 1
warning: collect info unpacked about package dijitso failed (512)
warning: skipping check of source package dijitso
P: python3-dijitso: experimental-to-unstable-without-comment
I: python3-dijitso: conflicts-with-version python-dijitso (<< 2018.1~)
I: python3-dijitso: unused-override application-in-library-section python usr/bin/dijitso-3
I: python3-dijitso: unused-override library-package-name-for-application usr/bin/dijitso-3
N: 0 tags overridden; 2 unused overrides
I will try to improve the error message, which is not great.
As for finding the orig tarball in your setup, it seems neither the *.changes file nor the *.dsc file allow for component paths outside the file location. Traversing upwards the way you suggest strikes me as too unpredictable for a quality control tool like Lintian. (On our archives, which contain a lot of files, the search could also take a long time.) Would a command line option for Lintian like '--also-look-for-files-in=PATH' work for you instead?
Kind regards,
Felix Lechner