Op za, 23-09-2006 te 15:33 +0200, schreef Steinar H. Gunderson:
> On Sat, Sep 23, 2006 at 12:10:35AM +0200, Arjan Oosting wrote:
> > I have prepared a simple patch for the FTFBS which is attached. As I am
> > no DD yet, I can not do the actual NMU. Marga would you like to do the
> > actual upload?
> 
> This patch looks wrong, sorry:
> 
> > -build: build-arch build-indep
> > +build: build-arch

Might look wrong, but it is right. 

The failure is in the NOT in the build-arch target but in the
build-indep-stamp target as the log shows:

> dh_testdir
> cd cbmsrc && ./build.sh
> eval: 1: xa: not found
> make: *** [build-indep-stamp] Error 127


The order in which the targets are "called" is
build -> build-indep -> build-indep-stamp.

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.

So my patch is correct and can be tested with ppbuilder; just apply the
patch and call pdebuild --binary-arch --debbuildopts -B

Greetings Arjan

[1] http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to