[Debian-bootstrap] could Build-Depends-Indep be discarded?
wookey at wookware.org
Sat Jul 21 22:25:23 MSK 2012
+++ Johannes Schauer [2012-07-21 16:28 +0200]:
> when representing the dependencies of a source package, dose3
> concatenates its Build-Depends and Build-Depends-Indep dependency
> So right now, a source package can only be compiled, if it manages to
> compile all of its binary packages including arch:all packages.
> But when bootstrapping a new architecture, it should be sufficient to
> only build the architecture dependent packages and therefor to only
> build the build-arch target in debian/rules and NOT the build-indep
> target, right?
> I think we will be able to reduce the size of the dependency graph by
> just dismissing those build dependencies of source packages that only
> build arch:all packages.
> This would require that the Deb.Sources.sources2packages method in dose3
> takes another argument which would then generate packages that do not
> have pkg.build_depends_indep in their depends field.
> Does this make sense?
It does, yes, although in practice Buil-depends-indep is not well
tested as it's only very recently actually started being used by
buildds, so such info may be misleading. However that's a bug in the
package, so it would indeed be very interesting, to see what happens
if we assume we're not doing those builds, which effectively is often
equivalent to 'nodocs'.
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
More information about the Debian-bootstrap