Bug#396054: [Pbuilder-maint] Bug#396054: pdebuild -- --preserve-buildplace always fail

Yann Dirson ydirson at altern.org
Sun Oct 29 23:40:50 CET 2006


On Mon, Oct 30, 2006 at 06:56:16AM +0900, Junichi Uekawa wrote:
>  
> > Adding a "set -x" in /usr/lib/pbuilder/pbuilder-buildpackage I could get
> > the log below.
> > It looks like under some circumstances the PID is left out from the path
> > used to construct the builddir name.
> 
> That is a documented behavior:
> 
>        --preserve-buildplace
>               Do not clean the --buildplace if it has the same contents as the
>               .tar.gz file, and no modifications are done.
> 
>               For  preserving  the  build place for create and update targets,
>               see --debug option.
> 
>               As with --no-targz, suppresses appending pbuilder's  process  ID
>               to the --buildplace.
> 
>               This is useful if you want to attempt to build a large number of
>               packages successively, but you expect that many of  them  cannot
>               have their build dependencies satisfied.
> 
>               It will clean up the build place on failure, or after a success-
>               ful build.
> 
> 
> 
> What is the problem and what are you trying to solve?

The problem is, when I specify --preserve-buildplace to pdebuild, it
fails with a pbuilder-related error.  If I understand well, I should
first specify a --buildplace option too, right ?  In that case, maybe
pbuilder or pdebuild should complain that I'm requesting something
meaningless.

However, it looks like I should specify an already-existing directory ?

$ pdebuild --debbuildopts -i.git --logfile ../build.log --
--preserve-buildplace --buildplace /export/work/pbuilder/build/bgl-2.8c
W: /home/debyann/.pbuilderrc does not exist
  -> Logging to ../build.log
$ tail -3 ../build.log 
dpkg-buildpackage: source only, diff-only upload (original source NOT included)
W: /home/debyann/.pbuilderrc does not exist
E: Directory /export/work/pbuilder/build/bgl-2.8c does not exist
$

I may be missing something obvious :)

Best regards,
-- 
Yann.




More information about the Pbuilder-maint mailing list