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

Bug#376920: marked as done (lintian: missing-build-dependency cdbs even though depends on dh-make-php)



Your message dated Thu, 6 Jul 2006 15:06:55 -0400
with message-id <20060706190655.GB19468@true>
and subject line Bug#376920: lintian: missing-build-dependency cdbs even though depends on dh-make-php
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.22
Severity: normal

Hi,

I receive an error from lintian, complaining that my package is missing
a build-dependency on cdbs, even though it depends on dh-make-php which
depends on cdbs.

Charles

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages lintian depends on:
ii  binutils             2.16.1cvs20060413-1 The GNU assembler, linker and bina
ii  diffstat             1.41-1              produces graph of changes introduc
ii  dpkg-dev             1.13.21             package building tools for Debian
ii  file                 4.17-2              Determines file type using "magic"
ii  gettext              0.14.6-1            GNU Internationalization utilities
ii  intltool-debian      0.34.2+20060512     Help i18n of RFC822 compliant conf
ii  libparse-debianchang 1.0-1               parse Debian changelogs and output
ii  man-db               2.4.3-3             The on-line manual pager
ii  perl [libdigest-md5- 5.8.8-4             Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
> I can see various philosophies about this, and I'm happy to be persuaded
> if what I'm saying doesn't make sense, but the general rule of thumb I've
> been using is that packages shouldn't rely on transitive dependencies to
> pick up packages that they use directly.  In other words, if a package
> calls patch directly in debian/rules, it should Build-Depend on patch,
> even if it also Build-Depends on a patch management system like quilt that
> in turn depends on patch.  If a package links directly with some library,
> it should depend on the appropriate -dev package, even if another library
> it also uses pulls in that -dev package.
> 
> There are some (maybe even many) cases where such reliance on transitive
> dependencies would be safe, but I think it's an area that benefits from a
> rule of thumb, and it makes it a lot easier to write things like lintian
> without a surfeit of special cases.

Sounds like a reasonable rule of thumb.

I'll modify dh-make-php such that it's next release makes templates
which depend on cdbs by default.

Charles

-- 
His crop of
Whiskers
Needed reaping
That's what kept
His Lena leaping
Burma-Shave
http://burma-shave.org/jingles/1955/his_crop_of

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: