Bill Allombert wrote: > On Sat, Jun 30, 2007 at 09:40:29AM +0200, Andreas Metzler wrote: >> I think that is just wrong. sbuild should not need to know anything >> about dpkg-buildpackage's internals and there is no need for change >> here. The currently used and proven interface is:
>> 1. install Build-Depends for running dpkg-buildpackage -B > The issue we are trying to fix is that the current combination of > Debian policy and dpkg-buildpackage actually require > Build-Depends-Indep to be installed when running dpkg-buildpackage -B. Hello, Policy does not reflect current reality in that respect. The buildds do run dpkg-buildpackage -B and they do not install Build-Depends-Indep. Packages requiring Build-Depends-Indep for dpkg-buildpackage -B will FTBFS. Since that makes the package unreleasable there are not many packages around that work like that. (Except for source packages that do not build any arch-any packages and therefore are not autobuilt.) [snip] >> 2. install Build-Depends *and* Build-Indep-Indep for running >> dpkg-buildpackage differently (e.g without any modifier or with -b) > If you insist to go that road, you need to: > 1) Change policy to require build-arch is implemented anytime the field > Build-Depends-Indep is provided. > and > 2) Change dpkg-buildpackage -B to call build-arch if the field > Build-Depends-Indep is present. [...] No, that is not necessary. What needs to happen is just: --------------- Somehow make dpkg-buildpackage -B make use of the build-arch target if present. Either by detecting it automatically or by something like #229357. --------------- Once that happens the current wording in policy matches reality for packages proving a build-arch target. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]