[Pbuilder-maint] pdebuild cleaning before build-depend installed

Junichi Uekawa dancer at netfort.gr.jp
Sat Nov 4 06:24:36 CET 2006


Hi,

> A few days ago I switched over to using cowbuilder as my main
> chroot-build-engine for pbuilder since my machine is not really fast. 
> This also meant that I had to switch from my usual 'pdebuild
> --use-pdebuild-internal' to plain 'pdebuild', since the first one didn't
> seem to work well with cowbuilder (?).

That sounds like a bug, which lool seems to have fixed.
 
> Anyway, I have noticed that calling plain pdebuild does something
> differently:
> Somehow it calls the 'clean' target before the chroot is built and the
> build-depends are installed.  

This is required before *.dsc, *.diff.gz is generated.

> If the clean target somehow really needs the build-depends which I
> haven't installed on my system, pdebuild bails out and I never get
> to the actual chroot-building part, in which it would've installed
> them.  Is this meant to be this way?  

yes. That's why pdebuild-internal was implemented.

The logic behind pdebuild-internal isn't the default yet is that since
it's a new implementation, and does not implement everything that used
to be implemented by pdebuild, it's an option.

The intention is to reimplmenet pdebuild-internal and re-document so
thta pdebuild-internal is the default.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project



More information about the Pbuilder-maint mailing list