Bug#892597: depends-on-build-essential-package-without-using-version not emited when alternative deps are defined

2018-03-11 Thread Chris Lamb
tags 892597 + pending
thanks

Hi Sven and Luarent,

Thanks for your input. I've gone ahead and renamed the tag and updated the
description to match:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=fa9ce0ecba353dde40f40c282dce1daf209b236b

:)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#892597: depends-on-build-essential-package-without-using-version not emited when alternative deps are defined

2018-03-11 Thread Sven Joachim
On 2018-03-11 10:36 +0100, Laurent Bigonville wrote:

> Package: lintian
> Version: 2.5.79
> Severity: normal
>
> Hi,
>
> Looking at
> https://lintian.debian.org/tags/depends-on-build-essential-package-without-using-version.html
> it seems that the page is missing some packages like libicu-dev.
>
> libicu-dev has "Depends: libicu60 (= 60.2-3), icu-devtools (>= 60.2-3),
> libicu-le-hb-dev, libc6-dev | libc-dev, libstdc++-6-dev | libstdc++-dev"
>
> Is lintian confused by the alternative dependency or am I missing
> something.

IIUC that tag is for build-dependencies, not for normal dependencies.
It is perfectly legitimate for -dev packages to depend on
libc6-dev | libc-dev for instance, since they are also for users who do
not necessarily have build-essential installed.

It has to be conceded that neither the tag name nor the description are
particularly clear about that.

Cheers,
   Sven



Bug#892597: depends-on-build-essential-package-without-using-version not emited when alternative deps are defined

2018-03-11 Thread Laurent Bigonville
Package: lintian
Version: 2.5.79
Severity: normal

Hi,

Looking at
https://lintian.debian.org/tags/depends-on-build-essential-package-without-using-version.html
it seems that the page is missing some packages like libicu-dev.

libicu-dev has "Depends: libicu60 (= 60.2-3), icu-devtools (>= 60.2-3),
libicu-le-hb-dev, libc6-dev | libc-dev, libstdc++-6-dev | libstdc++-dev"

Is lintian confused by the alternative dependency or am I missing
something.

Kind regards,

Laurent Bigonville

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages lintian depends on:
ii  binutils  2.30-7
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.19.0.5
ii  file  1:5.32-2
ii  gettext   0.19.8.1-4
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.60-1
ii  libclass-accessor-perl0.51-1
ii  libclone-perl 0.39-1
ii  libdpkg-perl  1.19.0.5
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1+b3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.1-5
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.73-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.69+repack-1
ii  man-db2.8.2-1
ii  patchutils0.3.4-2
ii  perl  5.26.1-5
ii  t1utils   1.41-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b4

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.19.0.5
ii  libhtml-parser-perl3.72-3+b2
ii  libtext-template-perl  1.47-1

-- no debconf information