On Sat, Sep 23, 2006 at 08:20:30PM +0200, Arjan Oosting wrote:
> The failure is in the NOT in the build-arch target but in the
> build-indep-stamp target as the log shows:

That doesn't really matter. 

> build *IS* called by the dpkg-buildpackage and as such by the build
> daemons which *IS* in the Debian policy [1]. dpkg-buildpackage -B first
> calls the build target and after that the binary-arch target.

What dpkg-buildpackage does, doesn't really matter -- what matters is policy.
build _must_ build the _entire_ package:

   The `build' target should perform all the configuration and compilation of
   the package. 

IOW, you can't take build-indep out of build.

However, sbuild is buggy, it seems; policy demands:

   The `Build-Depends-Indep' and `Build-Conflicts-Indep' fields must be
   satisfied when any of the following targets is invoked: `build' [...]

The simple workaround is just to move the dependency, as I've done in my
patch.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to