Bug#836771: lintian: source-is-missing false positive: correctly named directory in debian/missing-sources
Package: lintian
Version: 2.5.46
Severity: normal
Dear Maintainer,
Lintian was displaying the following errors:
E: processing source: source-is-missing build/linux/deb-raw/processing-doc/usr/share/doc/processing-doc/reference/javascript/p5.min.js
E: processing source: source-is-missing build/linux/deb-raw/processing-doc/usr/share/doc/processing-doc/reference/javascript/p5.dom.min.js
p5.dom.min.js is a minified version of a single file, p5.dom.js, so I
copied that to debian/missing-sources as usual and its error was
resolved.
However, p5.min.js is created from a number of different files. I
created a directory within debian/missing-sources called p5.js — the
correct name from p5.min.js — and placed all the files in it, but
Lintian still shows its error. I believe this is wrong: populated
directories should be treated the same way as a single file, without the
need for a Lintian override.
Related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756632.
(Both caused by many .js files being compiled to one.)
Many thanks for your help,
George Bateman.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/2 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 lintian depends on:
ii binutils 2.26.1-1
ii bzip2 1.0.6-8
ii diffstat 1.61-1
ii file 1:5.28-4
ii gettext 0.19.8.1-1
ii hardening-includes 2.8+nmu2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b5
ii libarchive-zip-perl 1.59-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2
ii libdata-alias-perl 1.20-1+b1
ii libdpkg-perl 1.18.10
ii libemail-valid-perl 1.200-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.416-1
ii libparse-debianchangelog-perl 1.2.0-10
ii libperl5.22 [libdigest-sha-perl] 5.22.2-3
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.63-1
ii man-db 2.7.5-1
ii patchutils 0.3.4-1
ii perl 5.22.2-3
ii t1utils 1.39-2
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.10
ii libperlio-gzip-perl 0.19-1+b1
ii perl 5.22.2-3
ii perl-modules-5.22 [libautodie-perl] 5.22.2-3
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.10
ii libhtml-parser-perl 3.72-2
pn libtext-template-perl <none>
-- no debconf information
Reply to: