Bug#521918: pbuilder --build --binary-arch invokes 'build' target
deb at pudlak.name
Wed May 6 08:05:38 UTC 2009
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 looked at text4ht's debian/rules and there you simply commented out the
'build:' target. I tried the same thing and it works nicely.
(My original debian/rules, without this modification, is here:
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 'build-indep', so that the policy is
With best regards,
On Wed, May 06, 2009 at 02:31:52AM +0530, Kapil Hari Paranjape wrote:
> 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 the problem
> > might as well be my ignorance.
> If you invoke "pbuilder --binary-arch" then it in turn invokes
> "debian/rules binary-arch". So it looks as if your binary-arch target
> is running the complete "build" target.
> In the case of the "tex4ht" package I have chosen to create two
> targets "build-arch" and "build-indep" which are invoked by the
> appropriate "binary-*" targets. You can browse the SVN repo of the
> debian directory of the tex4ht package on svn.debian.org
> to see this.
More information about the debian-science-maintainers