Bug#1016364: lintian: spelling-error-in-binary should be more precise

2022-07-30 Thread Mattia Rizzolo
On Sat, Jul 30, 2022 at 08:30:13AM +0300, Martin-Éric Racine wrote:
> When building dhcpcd5 version 9.4.1-4 against Stable, Lintian 2.104.0 reports 
> the following:
> 
> I: dhcpcd-base: spelling-error-in-binary usr/sbin/dhcpcd addres address
> 
> $ grep -rw addres
> $
> 
> i.e. not found.
> 
> Lintian really needs to quote the whole stanza where typos are spotted, 
> otherwise, it's like looking for a needle in a hay stack.

Those "spelling error in binary" checks use `strings` on the final
binary, so there isn't really much to see often.

% strings dhcpcd|grep -E 'addres\b'
Duplicate addres

In your case at most you could get this much.

Note that strings can also "leak" from statically linked/inlined functions.


I tried a quick codesearch.d.n lookup, but I couldn't spot a string like
that.


-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#1016364: lintian: spelling-error-in-binary should be more precise

2022-07-29 Thread Martin-Éric Racine
Package: lintian
Version: 2.104.0
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When building dhcpcd5 version 9.4.1-4 against Stable, Lintian 2.104.0 reports 
the following:

I: dhcpcd-base: spelling-error-in-binary usr/sbin/dhcpcd addres address

$ grep -rw addres
$

i.e. not found.

Lintian really needs to quote the whole stanza where typos are spotted, 
otherwise, it's like looking for a needle in a hay stack.

Martin-Éric

- -- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils2.35.2-2
ii  bzip2   1.0.8-4
pn  diffstat
ii  dpkg1.20.11
pn  dpkg-dev
ii  file1:5.39-3
pn  gettext 
ii  gpg 2.2.27-2+deb11u2
pn  intltool-debian 
ii  libapt-pkg-perl 0.1.39
ii  libarchive-zip-perl 1.68-1
pn  libcapture-tiny-perl
pn  libclass-xsaccessor-perl
ii  libclone-perl   0.45-1+b1
pn  libconfig-tiny-perl 
pn  libcpanel-json-xs-perl  
pn  libdata-dpath-perl  
pn  libdata-validate-domain-perl
pn  libdevel-size-perl  
ii  libdpkg-perl1.20.11
pn  libemail-address-xs-perl
ii  libfile-basedir-perl0.08-1
pn  libfile-find-rule-perl  
pn  libfont-ttf-perl
pn  libhtml-html5-entities-perl 
pn  libipc-run3-perl
pn  libjson-maybexs-perl
pn  liblist-compare-perl
ii  liblist-moreutils-perl  0.430-2
pn  liblist-utilsby-perl
pn  libmoo-perl 
pn  libmoox-aliases-perl
pn  libnamespace-clean-perl 
pn  libpath-tiny-perl   
pn  libperlio-gzip-perl 
ii  libproc-processtable-perl   0.59-2+b1
pn  libsereal-decoder-perl  
pn  libsereal-encoder-perl  
pn  libtext-glob-perl   
pn  libtext-levenshteinxs-perl  
pn  libtext-markdown-discount-perl  
pn  libtext-xslate-perl 
ii  libtime-duration-perl   1.21-1
pn  libtime-moment-perl 
ii  libtimedate-perl2.3300-2
ii  libtry-tiny-perl0.30-1
pn  libtype-tiny-perl   
pn  libunicode-utf8-perl
ii  liburi-perl 5.08-1
ii  libxml-libxml-perl  2.0134+dfsg-2+b1
pn  libyaml-libyaml-perl
ii  lzip1.22-3
ii  lzop1.04-2
ii  man-db  2.9.4-2
pn  patchutils  
ii  perl [libdigest-sha-perl]   5.32.1-4+deb11u2
pn  t1utils 
ii  unzip   6.0-26
ii  xz-utils5.2.5-2.1~deb11u1

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch 
pn  libtext-template-perl  

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmLkweUACgkQrh+Cd8S0
17aYuw//VS9r4PlVgnMLAaJa8nRBruXaR5mCKj/Dll0Rv1wJthdUdRUbmCeP4nf5
teL/YVgId++L0r/5sDLba4RKQLEH1QmBg2K7w8yqGyqZ6hn/gsiS4bKp0njaKM9b
WNOsX9C5vSDcCN54lqsh8LvCq+6J0ChuVHjbE1BnYGP+aBAttwrbu5cyErzmBAy4
uALhcr/rLy3r1IF5/Ygt1lr2DW+zdAdLU0q+mQJjrqen7UiCsjua7VbcR0WNGSMF
yEi3xuqgLax25P4R8b6u0XlXIHVVMWoY4SIibnwy6D9jswKzbO4T/AV4mLrIoabH
DuRc3DJ0VAc6qMJsgs2S0SBvhzJddzxMNMZ3rh2XAtak951QH14YB6WmtjWpjWrr
tr/aRNTUVBH8iBtG5nk9zw67eUOxYczpnHXYMiuQd6c5/VclMbJ5vCYMVF21DBtp
ddX/juqTqWbEhnBbwPNezCP4qCI8dT5KiKwp7H5514zx+J82VPaNpT8LY4PhW4Zp
8xU8aQ6mDs0Q8SCwzojX/3ei8B2d+lfTjJ7XB/9+CQzYLs5xpC2VCFaU2WHt1MLJ
4KPoZrYVdkhsfGKRwkYHxprA/nOeoyqturVs3DVXdNbLgYL48ikR7x1I1PMOAOIa
A7/P0K3Aa9FfPzphxbZvYpq3eKTXtsxxEJTWUG+VmI5WbOVOfz0=
=iOe3
-END PGP SIGNATURE-