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

Bug#974677: bin-sbin-mismatch: false positive when using variables



Package: lintian
Version: 2.102.0
Severity: normal

Dear Maintainer,

I run lintian on lbdb package, which results in following two wrong
lintian warnings:

X: lbdb: bin-sbin-mismatch usr/bin/lbdb-fetchaddr bin/lbdb_dotlock -> usr/bin/lbdb_dotlock
X: lbdb: bin-sbin-mismatch usr/lib/lbdb/lbdb-munge bin/lbdb_dotlock -> usr/bin/lbdb_dotlock

These two warnings are incorrect, in two ways:
- they have nothing to do with sbin, as you can see in the output above
- I use variables in these scripts, which isn't noticed by lintian

In lbdb-fetchaddr the code (generated by autoconf) is:

prefix=/usr
exec_prefix=${prefix}
dotlock=${exec_prefix}/bin/lbdb_dotlock

lintian seems to think that this is /bin/lbdb_dotlock, but as you can
see, /usr/bin/lbdb_dotlock is called.


Same in in lbdb-munge:

prefix=/usr
exec_prefix=${prefix}
dotlock=${exec_prefix}/bin/lbdb_dotlock


Greetings
Roland


-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-12-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=de_DE:de:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils                        2.31.1-16
ii  bzip2                           1.0.6-9.2~deb10u1
ii  diffstat                        1.62-1
ii  dpkg                            1.19.7
ii  dpkg-dev                        1.19.7
ii  file                            1:5.35-4+deb10u1
ii  gettext                         0.19.8.1-9
ii  gpg                             2.2.12-1+deb10u1
ii  intltool-debian                 0.35.0+20060710.5
ii  libapt-pkg-perl                 0.1.34+b1
ii  libarchive-zip-perl             1.64-1
ii  libcapture-tiny-perl            0.48-1
ii  libclass-xsaccessor-perl        1.19-3+b2
ii  libclone-perl                   0.41-1+b1
ii  libconfig-tiny-perl             2.23-1
ii  libcpanel-json-xs-perl          4.09-1
ii  libdata-dpath-perl              0.57-2
ii  libdata-validate-domain-perl    0.10-1
ii  libdevel-size-perl              0.82-1+b1
ii  libdpkg-perl                    1.19.7
ii  libemail-address-xs-perl        1.04-1+b1
ii  libfile-basedir-perl            0.08-1
ii  libfile-find-rule-perl          0.34-1
ii  libfont-ttf-perl                1.06-1
ii  libhtml-html5-entities-perl     0.004-1
ii  libipc-run3-perl                0.048-1
ii  libjson-maybexs-perl            1.004000-1
ii  liblist-compare-perl            0.53-1
ii  liblist-moreutils-perl          0.416-1+b4
ii  liblist-utilsby-perl            0.11-1
ii  libmoo-perl                     2.003004-2
ii  libmoox-aliases-perl            0.001006-1
ii  libnamespace-clean-perl         0.27-1
ii  libpath-tiny-perl               0.108-1
ii  libperlio-gzip-perl             0.19-1+b5
ii  libproc-processtable-perl       0.56-1
ii  libsereal-decoder-perl          4.005+ds-1+b1
ii  libsereal-encoder-perl          4.005+ds-1+b1
ii  libtext-glob-perl               0.10-1
ii  libtext-levenshteinxs-perl      0.03-4+b6
ii  libtext-markdown-discount-perl  0.11-3+b1
ii  libtext-xslate-perl             3.5.6-1+b1
ii  libtime-duration-perl           1.20-1
ii  libtime-moment-perl             0.44-1+b1
ii  libtimedate-perl                2.3000-2+deb10u1
ii  libtry-tiny-perl                0.30-1
ii  libtype-tiny-perl               1.004004-1
ii  libunicode-utf8-perl            0.62-1
ii  liburi-perl                     1.76-1
ii  libxml-libxml-perl              2.0134+dfsg-1
ii  libyaml-libyaml-perl            0.76+repack-1
ii  lzip                            1.21-3
ii  lzop                            1.03-4+b1
ii  man-db                          2.8.5-2
ii  patchutils                      0.3.4-2
ii  perl [libdigest-sha-perl]       5.28.1-6+deb10u1
ii  t1utils                         1.41-3
ii  unzip                           6.0-23+deb10u1
ii  xz-utils                        5.2.4-1

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     2.31.1-16
ii  libtext-template-perl  1.55-1

-- no debconf information

Attachment: signature.asc
Description: PGP signature


Reply to: