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

Bug#521308: marked as done ([new check] Check for debian/control containing build-depends-indep but debian/rules missing build-indep)



Your message dated Wed, 12 Oct 2011 13:15:54 +0200
with message-id <4E9576EA.6040901@thykier.net>
and subject line Re: lintian: new warning: build-depends-indep, but no build-indep
has caused the Debian Bug report #521308,
regarding [new check] Check for debian/control containing build-depends-indep but debian/rules missing build-indep
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
521308: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521308
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.2.8
Severity: wishlist

I just ran into the case of a package that had a Build-Depends-Indep
line, but where binary-indep depended on "build" and not build-indep
(because there was no build-indep), and so did binary-arch. This looks
like it usually won't work: the building for indep does not do any
more (or different) work than the building for arch, so there is no
dependency that would be necessary for indep, but not for arch. Yes,
one can imagine these things being used in binary-indep itself (and
not in binary-arch), but that looks improbable.


I thus propose the following new lintian checks:

 - ERROR if binary-indep and binary-arch depend (directly or
         indirectly) on only the same work-doing (containing
	 commands) targets AND Build-Depends-Indep not empty.

   For example:

   binary-arch: install
      (some commands here)
   binary-indep: install
      (some commands here)

   or

   binary-arch: build-arch
      (some commands here)
   binary-indep: build-indep
      (some commands here)
   build-arch: build
   build-indep: build
   build:
      (some commands here)

 - ERROR if build-arch and build-indep exist, but build-indep doesn't
         do any work itself and just depends on the same targets as
	 build-arch (or on build-arch) AND Build-Depends-Indep not
	 empty

 - WARNING if binary-indep depends (directly or indirectly) on
           install, install-stamp, build, build-stamp


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils               2.19.1-1          The GNU assembler, linker and bina
ii  diffstat               1.46-1            produces graph of changes introduc
ii  dpkg-dev               1.14.25           Debian package development tools
ii  file                   4.26-2            Determines file type using "magic"
ii  gettext                0.17-6            GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libipc-run-perl        0.82-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2           parse Debian changelogs and output
ii  libtimedate-perl       1.1600-9          Time and date functions for Perl
ii  liburi-perl            1.37+dfsg-1       Manipulates and accesses URI strin
ii  man-db                 2.5.2-4           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.0-19         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.2-4    on-line manual pager

-- no debconf information



--- End Message ---
--- Begin Message ---
Hey,

I am closing this bug because lintian unconditionally recommends adding
the build-indep target.  I admit there is some difference between that
and this bug, but I think it is good enough.

~Niels



--- End Message ---

Reply to: