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

Bug#831449: lintian on Sid amd64 reports volatile false spelling errors in binaries



Subject: lintian on Sid amd64 reports volatile false spelling errors in binaries
Package: lintian
Version: 2.5.45
Severity: normal
Tags: upstream

Hi,

I encountered the problem with lintian checks while and after packaging
libisoburn 1.4.4-1.

After apt-get dist-upgrade on my Sid VM on juli 4 2016 and debuild from
libisoburn-1.4.4.tar.gz i got from lintian a warning about a typo "lengH"
in the resulting shared library file. This is a false positive.
So i overrode it.

But after upload by my sponsor i see on
  https://lintian.debian.org/full/pkg-libburnia-devel@lists.alioth.debian.org.html#libisoburn
the complaint
  unused-override
    spelling-error-in-binary *libisoburn.so* lengH length


Reason for the "lengH" complaint on my Sid is probably the output of
strings which reflects a strange habit of gcc to chop texts into pieces
which are separated by non-printable bytes.
Source line:

  xorriso/iso_manip.c:             "Suitable are strings of length 4 or length 1");

yields with "strings" from libisoburn.so

  SuitableL
  th 1I
  are strA
  ings of E1
  length 41
  or lengH

Binary snippet from libisoburn.so:

  00094e50 :    61  62  6c  65  4c  8d  05  71  5b  01  00  41  c7  84  24  bc
                 a   b   l   e   L           q   [           A           $

  00094e60 :    b1  02  00  74  68  20  31  49  89  84  24  94  b1  02  00  48
                             t   h       1   I           $                   H

  00094e70 :    b8  20  61  72  65  20  73  74  72  41  c6  84  24  c0  b1  02
                         a   r   e       s   t   r   A           $

  00094e80 :    00  00  49  89  84  24  9c  b1  02  00  48  b8  69  6e  67  73
                         I           $                   H       i   n   g   s

  00094e90 :    20  6f  66  20  45  31  c9  49  89  84  24  a4  b1  02  00  48
                     o   f       E   1       I           $                   H

  00094ea0 :    b8  6c  65  6e  67  74  68  20  34  31  c9  49  89  84  24  ac
                     l   e   n   g   t   h       4   1       I           $

  00094eb0 :    b1  02  00  48  b8  20  6f  72  20  6c  65  6e  67  48  89  da
                             H           o   r       l   e   n   g   H

A similar binary representation can be found in libisoburn.so when i
build it on my Debian 8 workstation. So this problem is not just about
newest gcc versions.


Another similar override in debian/libisoburn1.lintian-overrides is not
reported as unused by lintian.debian.org:

  # Here: "ment off" from "Displacement offset leads outside 32 bit range"
  libisoburn1 binary: spelling-error-in-binary *libisoburn.so* ment meant

So i assume that lintian.debian.org still spellchecks binaries and
still finds false positives in them.


Have a nice day :)

Thomas


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (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-2
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.57-1
ii  libclass-accessor-perl            0.34-1
ii  libclone-perl                     0.38-1+b1
ii  libdata-alias-perl                1.20-1+b1
ii  libdpkg-perl                      1.18.7
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.413-1+b1
ii  libparse-debianchangelog-perl     1.2.0-9
ii  libperl5.22 [libdigest-sha-perl]  5.22.2-1
ii  libtext-levenshtein-perl          0.13-1
ii  libtimedate-perl                  2.3000-2
ii  liburi-perl                       1.71-1
ii  libyaml-libyaml-perl              0.41-6+b1
ii  man-db                            2.7.5-1
ii  patchutils                        0.3.4-1
ii  perl                              5.22.2-1
ii  t1utils                           1.39-2
ii  xz-utils                          5.1.1alpha+20120614-2.1

Versions of packages lintian recommends:
ii  dpkg                                 1.18.7
ii  libperlio-gzip-perl                  0.19-1+b1
ii  perl                                 5.22.2-1
ii  perl-modules-5.22 [libautodie-perl]  5.22.2-1

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.18.7
ii  libhtml-parser-perl    3.72-1
ii  libtext-template-perl  1.46-1

-- Configuration Files:
/etc/lintianrc changed:
color = never


-- no debconf information


Reply to: