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

Re: Buildd & binary-indep

On Sat, Sep 25, 2010 at 11:22:26PM +0400, Dmitry E. Oboukhov wrote:
> JB> The problem is that build-indep and build-arch
> JB> are not required targets, and there is no easy way of checking whether
> JB> they exist.
> http://www.us.debian.org/doc/debian-policy/ch-source.html#s-debianrules
> =quote
> Since an interactive debian/rules script makes it impossible to
> auto-compile that package and also makes it hard for other people to
> reproduce the same binary package, all required targets must be
> non-interactive. At a minimum, required targets are the ones called by
> dpkg-buildpackage, namely, clean, binary, binary-arch, binary-indep,
> and build. It also follows that any target that these targets depend
> on must also be non-interactive. 
> =quote
> So if buildd calls binary-arch then it can build only architecture
> packages.

No, it builds all the content for arch:all and non-arch:all, but only
creates the non-arch:all binaries.  The issue is that there's currently
no way for the buildds to say "Only build the non-arch:all content"
since the only required build target is "build".

You can work around it, as has been pointed out in this thread, by
moving arch:all stuff outside of the build target to something which the
binary-indep target has a pre-requisite on, but then you're building as

GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply to: