Re: Transitive Build-Depends [Was: Re: Bug#92090: failed autobuild of smpeg_0.4.2-3 (m68k): libXxf86dga (and perhaps libXxf86vm) not found, missing xlibs-dev build-depends]
On 29-Mar-01, 12:26 (CST), Joe Drew <hoserhead@woot.net> wrote:
> On Thu, Mar 29, 2001 at 05:13:23PM +0100, Colin Watson wrote:
> > Build-depends aren't applied transitively like that; only libsdl1.1's
> > dependencies matter while building your package, not its
> > build-dependencies.
>
> Okay, I accept that - but why is it this way? This is counter-intuitive.
> dpkg-shlibdeps has just finished being modified to detect the least number
> of dependencies, and depending on apt to fulfill the chain of deps which
> results. Why should Build-Depends be any different?
Because Build-Depends *aren't* transitive. Example: if A needs
libfoo-dev to build, and libfoo need bison, does that imply that A needs
bison?
Steve
--
Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)
Reply to: