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

Bug#304866: marked as done (Add warning for build-depends on lib<something not ending with -dev>)



Your message dated Sun, 03 Feb 2008 16:11:59 -0800
with message-id <87wspleg1c.fsf@windlord.stanford.edu>
and subject line Add warning for build-depends on lib<something not ending with -dev>
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.8
Severity: wishlist

It might be a good idea to add a warning for build-depends on
lib<something>, that's not lib<something>-dev.

Of course, a bit of analysis on the current archive would be in order
before adding this test.

--Jeroen

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)

Versions of packages lintian depends on:
ii  binutils                   2.15-5        The GNU assembler, linker and bina
ii  diffstat                   1.38-1        produces graph of changes introduc
ii  file                       4.12-1        Determines file type using "magic"
ii  gettext                    0.14.1-10     GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db                     2.4.2-21      The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.4-8       Larry Wall's Practical Extraction 

-- no debconf information

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl


--- End Message ---
--- Begin Message ---
Jeroen van Wolffelaar <jeroen@wolffelaar.nl> writes:

> Package: lintian
> Version: 1.23.8
> Severity: wishlist
>
> It might be a good idea to add a warning for build-depends on
> lib<something>, that's not lib<something>-dev.
>
> Of course, a bit of analysis on the current archive would be in order
> before adding this test.

I took a close look at this while applying Chris's patch, and
unfortunately I think we're going to get too many false positives on this
test.  There are several cases where the presence or absence of the shared
library enables optional behavior and it's hence a legitimate
Build-Depend.  For example, libncurses5 recommends libgpmg1 but doesn't
depend on it, so programs (such as Python) that want to test that
integration as part of their test suites need to Build-Depend on libgpmg1.
grep-dctrl turned up several other oddities like this.

Given that the utility of this check is somewhat limited (if the -dev
package was really needed, the package will generally FTBFS in a chroot
anyway), I don't think the false positives are worth it.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


--- End Message ---

Reply to: