Bug#694311: pbuilder: fails to --create with EXTRAPACKAGES=ccache

Thorsten Glaser tg at mirbsd.de
Wed Nov 28 16:06:36 UTC 2012


Helmut Grohne dixit:

>On Sun, Nov 25, 2012 at 02:25:33PM +0000, Thorsten Glaser wrote:
>> I really recommend to not use ccache, but if you must,
>
>Can you explain why you discourage ccache usage? I mainly use it to
>speed up triaging FTBFS.

In that case, it’s probably valid. However, you need to take care:
* check permissions on $CCACHEDIR often enough, it must be owned
  (or writable) by BUILDUSERID, including all subdirectories/-files,
  so reusing it outside of pbuilder/cowbuilder is not(!) possible
* don’t run more than one CCACHEDIR-enabled instance at the same time
* after every update of the chroot, clear out CCACHEDIR, because
  otherwise, bugfixes to the toolchain will not propagate

With these caveats, I *think* it should be safe.

>> the normal way is to set CCACHEDIR in /etc/pbuilderrc,
>> which will lead to it being installed as extra package
>> on --update automatically.

>If CCACHEDIR is the correct solution, then this bug applies to the
>documentation at http://pbuilder.alioth.debian.org/#ccache.

I guess so.

bye,
//mirabilos
-- 
Darwinism never[…]applied to wizardkind. There's a more than fair amount of[…]
stupidity in its gene-pool[…]never eradicated[…]magic evens the odds that way.
It's[…]harder to die for us than[…]muggles[…]wonder if, as technology[…]better
[…]same will[…]happen there too. Dursleys' continued existence indicates so.



More information about the Pbuilder-maint mailing list