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 pbuilder is invoked with --binary-arch, it still tries > to build the whole project, including the documentation (indep). But the tools > required to build the documentation are missing, since they are specified in > Build-Depends-Indep:, not in Build-Depends:. 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. > > The only solution I thought of so far was to put the tools for building the > documentation into Build-Depends:, but this seems to me (at least) as > improper. > > Could anyone help me, either by advising how to properly solve the problem, or > by pointing out what I'm doing wrong? > 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. Whatever's needed for this needs to be in Build-Depends. Basically the only place you're allowed to use the Build-Depends-Indep stuff is the binary-indep target. There's a long-standing bug on debian-policy about this, IIRC.
Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org