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

Re: dpkg-checkbuilddeps wrapper for dpkg-cross, round 2

On 12/3/06, Riku Voipio <riku.voipio@iki.fi> wrote:

Howabout having this information in the build-depending package itself?
ie. in the bison control file there would by:
> XBS-Host-Build-Dependable: yes

That would complicate the logic a bit. You would then have to parse
apt databases or whatever to find this information, on
dpkg-checkbuilddeps stage, when you only have the unpacked source
package lying around.

Having "X-Host-Build-Depends: bison" in every package that uses
bison is duplication of effort.

Another problem is urging maintainer of the respective package to
include this line in his/her control file :)

This is a bug in our system, there should be one canonical place all
tools could query for build dependencies.

Well, the world is cruel, and I seriously doubt we can change whole Debian.

Fields starting the "X-" are available for custom fields for this very
purpose. See http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.7

Ouch. It looks like it's been a long time since I've read the policy
:) Thanks :)

Regards, Wartan.

Reply to: