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

Bug#733733: wrong complaint about missing python b-d when python*:any is given.



Package: lintian
Version: 2.5.21
Followup-For: Bug #733733

lintian is confused by additional ":any" added to the package name of
dependency check logic.  Please allow additional ":any" to be added.

Here is my case:

After realizing python3-all is one of the few new M-A:allowed packages,
I put python3-all:any as build dependency for my arch:all package which
does not have any fancy architecture specific bits, lintian started to
complaining as:

E: debmake source: missing-build-dependency-for-dh-addon python3 => python3 | python3-all | python3-dev | python3-all-dev
N: 
N:    The source package appears to be using a dh addon but doesn't build
N:    depend on the package that actually provides it. If it uses it, it must
N:    build depend on it.
N:    
N:    Severity: important, Certainty: possible
N:    
N:    Check: debhelper, Type: source
N: 
E: debmake source: missing-python-build-dependency
N: 
N:    The package appears to use Python as part of its build process in
N:    debian/rules but doesn't depend on Python.
N:    
N:    Normally, packages that use Python as part of the build process should
N:    build-depend on one of python, python-all, python-dev, or python-all-dev
N:    depending on whether they support multiple versions of Python and
N:    whether they're building modules or only using Python as part of the
N:    package build process. Packages that depend on a specific version of
N:    Python may build-depend on the appropriate pythonX.Y or pythonX.Y-dev
N:    package instead.
N:    
N:    Refer to Debian Policy Manual section 4.2 (Package relationships) for
N:    details.
N:    
N:    Severity: important, Certainty: certain
N:    
N:    Check: rules, Type: source
N: 

by changing "python3-all:any" to "python3-all" stops above false positive messages.

Regards,

Osamu

PS: Only python* and cpp packages are the MA:allowed packages.  
    You may also check "cpp" related check logic.  
    There is only one package having "cpp:any" at this moment.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.24-2
ii  bzip2                          1.0.6-5
ii  diffstat                       1.58-1
ii  file                           1:5.14-2
ii  gettext                        0.18.3.1-2
ii  hardening-includes             2.5
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.29+b1
ii  libarchive-zip-perl            1.30-7
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.36-1
ii  libdpkg-perl                   1.17.5
ii  libemail-valid-perl            1.192-1
ii  libfile-basedir-perl           0.03-1
ii  libipc-run-perl                0.92-1
ii  liblist-moreutils-perl         0.33-1+b2
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtext-levenshtein-perl       0.06~01-2
ii  libtimedate-perl               2.3000-1
ii  liburi-perl                    1.60-1
ii  man-db                         2.6.5-3
ii  patchutils                     0.3.2-3
ii  perl [libdigest-sha-perl]      5.18.2-2
ii  t1utils                        1.37-2

Versions of packages lintian recommends:
ii  libautodie-perl                 2.22-1
ii  libperlio-gzip-perl             0.18-1+b3
ii  perl-modules [libautodie-perl]  5.18.2-2

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.17.5
ii  libhtml-parser-perl    3.71-1+b1
ii  libtext-template-perl  1.46-1
ii  libyaml-perl           0.84-1
ii  xz-utils               5.1.1alpha+20120614-2

-- no debconf information


Reply to: