Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-12 Thread Filippo Rusconi
On Mon, May 11, 2009 at 08:34:54PM +0200, Petr Pudlak wrote: > > On Mon, May 11, 2009 at 03:11:22PM +0200, Filippo Rusconi wrote: > > > > It is a pity to have a Debian Policy so well documented, to point > > package-making learners to that Policy and then have non-conformant > > builders. > > >

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Petr Pudlak
On Mon, May 11, 2009 at 03:11:22PM +0200, Filippo Rusconi wrote: > On Mon, May 11, 2009 at 02:11:18PM +0200, Julien Cristau wrote: > > > > On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: > > > > > No, policy is very clear on that: if you call the "build" target, you > > > _must_

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Adam C Powell IV
On Mon, 2009-05-11 at 15:11 +0200, Filippo Rusconi wrote: > On Mon, May 11, 2009 at 02:11:18PM +0200, Julien Cristau wrote: > > > > On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: > > > > > No, policy is very clear on that: if you call the "build" target, you > > > _must_ satisf

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Filippo Rusconi
On Mon, May 11, 2009 at 03:52:07PM +0200, Giacomo A. Catenazzi wrote: > > Filippo Rusconi wrote: >> On Mon, May 11, 2009 at 02:11:18PM +0200, Julien Cristau wrote: >>> On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: >>> No, policy is very clear on that: if you call the "build

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Giacomo A. Catenazzi
Filippo Rusconi wrote: On Mon, May 11, 2009 at 02:11:18PM +0200, Julien Cristau wrote: On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: No, policy is very clear on that: if you call the "build" target, you _must_ satisfy Build-Depends-Indep and Build-Conflicts-Indep: And pol

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Filippo Rusconi
On Mon, May 11, 2009 at 02:11:18PM +0200, Julien Cristau wrote: > > On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: > > > No, policy is very clear on that: if you call the "build" target, you > > _must_ satisfy Build-Depends-Indep and Build-Conflicts-Indep: > > > And policy is

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Julien Cristau
On Mon, May 11, 2009 at 13:46:30 +0200, Lionel Elie Mamane wrote: > No, policy is very clear on that: if you call the "build" target, you > _must_ satisfy Build-Depends-Indep and Build-Conflicts-Indep: > And policy is clearly not followed by any actual practice on this point. So that's as much a

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-11 Thread Lionel Elie Mamane
On Tue, May 05, 2009 at 07:13:23PM +0200, Julien Cristau wrote: > arch-specific builds run 'debian/rules build && $rootcmd > debian/rules binary-arch' (where rootcmd is fakeroot or sudo). They > can't do anything else, because the build-arch target is (still) not > required. Sure they can: deb

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-06 Thread Aaron M. Ucko
Petr Pudlak writes: > Now I'm just concerned about (violating) Debian Policy (Sect. 4.9). It states > that the 'build:' target is mandatory. Should I leave 'build:' commented out, > possibly violating the policy, or perhaps include it just empty, removing its > dependencies on 'build-arch' and 'b

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-06 Thread Petr Pudlak
Hi, thanks for valuable comments, now it makes more sense to me. The problem was that my 'build:' target is dependent on build-arch and build-indep targets (as generated by dh_make when I started with the project). When pbuilder invokes 'debian/rules build', both these targets are called. I l

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-05 Thread Kapil Hari Paranjape
Hello, On Tue, 05 May 2009, Petr Pudlak wrote: > The problem is that if pbuilder is invoked with --binary-arch, it still tries > to build the whole project, including the documentation (indep). It looks to > me as if the problem > is with pbuilder (or with the tools it's invoking), but of course

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-05 Thread Julien Cristau
On Tue, May 5, 2009 at 19:01:41 +0200, Petr Pudlak wrote: > Hi, I was trying to attend a reported bug (#521918) of a recently uploaded > package 'eprover', but unfortunately I didn't know what to do about it. I've > already asked on debian-mentors, but nobody replied. > > The problem is that if

Bug#521918: pbuilder --build --binary-arch invokes 'build' target

2009-05-05 Thread Petr Pudlak
Hi, I was trying to attend a reported bug (#521918) of a recently uploaded package 'eprover', but unfortunately I didn't know what to do about it. I've already asked on debian-mentors, but nobody replied. The problem is that if pbuilder is invoked with --binary-arch, it still tries to build the wh