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

Re: Why are the buildds able to find a Build-Dep on their own?



> And isn't it a good idea to declare a build-dep even in this case?
> 
> proftpd would FTBS if libacl1-dev would drop its dependency on libattr1-dev.
> 
> Is there a commonly accepted rule on these particular cases?

There is. If the package directly depends on libattr1-dev (this usually
means it includes headers from libattr1-dev or links the library) then
the build dependency should be specified in proftpd. 
If the package depends only indirectly on libattr1-dev, i.e. only
because libacl1-dev depends on libattr1-dev, the dependency should not
be specified.

The rule of thumb you gave is the way to go: 
If proftpd FTBS after libacl1-dev drops the dependency on libattr1-dev,
then it should build-depend on libattr1-dev, otherwise it shouldn't.

Regards Ben

-- 
Please do not send any email to ben-ml@gmx.net -- all email not
originating from the mailing list will be deleted. Use the reply to
address instead.



Reply to: