Bug#630932: pbuilder: --preserve-buildspace is ineffective
Mattia Rizzolo
mattia at debian.org
Mon Dec 21 01:47:20 UTC 2015
control: tag -1 - patch + wontfix moreinfo
control: close -1
On Sun, Jun 19, 2011 at 01:27:10AM +0200, Toni Mueller wrote:
> while trying to debug a problem with my pbuilder configuration, I found
> that the build space (/var/cache/pbuilder/build) was always deleted.
> After some debugging, I contrived the following patch that solves the
> problem for me:
ahem, sadly --preserve-buildplace has a quite different purpose.
I find that sadly, since also the description is quite hard to grasp
(improvments welcome, I don't think I'm able to explain that better),
and imho that use case is particularly uncommon between pbuilder users:
--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.
Though, if your problem is about the configuration for the update/create
phases, --debug will preserv the unpacked chroot in case of failures; in
the other cases, I'd like to suggest using a hook to inspect what's
going on.
I'm sorry for how long it took to get this reply, but as you might guess
pbuilder was unmaintained in the last few years.
If you want to share what's your use case more in details, I'd be glad
to work on a better solution.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151221/d80f2e03/attachment-0001.sig>
More information about the Pbuilder-maint
mailing list