Bug#1013873: lintian: "Cannot open" warnings on symlinks to files in other packages from same source

Andreas Metzler ametzler at bebt.de
Sun Jun 26 13:02:16 BST 2022

Package: lintian
Version: 2.115.1
Severity: normal
X-Debbugs-Cc: exim4 at packages.debian.org


lintian has recently started throwing errors like this for when run on
exim4_..._amd64.changes (source + binary upload):

Warning in processable ../exim4-daemon-heavy_4.96-1_amd64.deb: Cannot open /dev/shm/lintian-pool-b_2HrMSwnf/exim4/exim4-daemon-heavy_4.96-1_amd64_binary/unpacked/usr/share/doc/exim4-daemon-heavy/README.Debian.gz at /usr/share/lintian/lib/Lintian/Check/Debian/Readme.pm line 109.
warning: cannot run debian/readme check on package binary:exim4-daemon-heavy_4.96-1_amd64

The respective file is a symlink to the file in exim4-base/:
(sid)ametzler at argenau:/tmp/EXIM4/exim-4.96$ ls -l debian/exim4-daemon-heavy/usr/share/doc/exim4-daemon-heavy/README.Debian.gz
lrwxrwxrwx 1 ametzler ametzler 30 Jun 26 11:53 debian/exim4-daemon-heavy/usr/share/doc/exim4-daemon-heavy/README.Debian.gz -> ../exim4-base/README.Debian.gz

cu Andreas

More information about the Pkg-exim4-maintainers mailing list