Bug#807757: licensecheck: encoding guessing should give more helpful error messages

David Bremner bremner at debian.org
Sat Dec 12 13:34:27 UTC 2015


Package: devscripts
Version: 2.15.9
Severity: minor

When the encoding guessing using file fails, licensecheck reports something like

     /usr/bin/licensecheck warning: cannot parse file 'aggressive-indent.el' with mime type 'application/octet-stream; charset=binary'

I had to read the source to figure out that this warning was only
about character encodings, and not about the file being skipped
completely.


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBSIGN_KEYID="A4A79E2C!"
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i"
DEBUILD_SET_ENVVAR_DH_ALWAYS_EXCLUDE="CVS:.svn"
DEBCHANGE_RELEASE_HEURISTIC=changelog

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

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.3
ii  libc6        2.19-22
ii  perl         5.20.2-6
ii  python3      3.4.3-7
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.16-1
ii  curl                        7.45.0-1+b1
ii  dctrl-tools                 2.24-1
ii  debian-keyring              2015.11.30
ii  dput-ng [dput]              1.10
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.20.2-1
ii  file                        1:5.25-2
ii  gnupg                       1.4.19-6
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  libjson-perl                2.90-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.19-1
ii  liburi-perl                 1.69-1
ii  libwww-perl                 6.15-1
ii  lintian                     2.5.38.1
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.10-3
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1+b1
ii  wget                        1.17-1
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20150408cvs-1
ii  build-essential              11.7
pn  cvs-buildpackage             <none>
pn  debbindiff                   <none>
ii  devscripts-el                35.12
pn  gnuplot                      <none>
ii  gpgv                         1.4.19-6
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.21-1
ii  libnet-smtp-ssl-perl         1.03-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
pn  libyaml-syck-perl            <none>
ii  mutt                         1.5.24-1
ii  openssh-client [ssh-client]  1:6.9p1-3
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-26

-- no debconf information



More information about the devscripts-devel mailing list