On Sat, Nov 04, 2017 at 05:46:26PM +0100, Andreas Kusalananda Kähäri wrote:
> Hi,
> 
> I tried using dpb(1) with ccache today by adding USE_CCACHE=Yes and
> pointing CCACHE_DIR to a sensible location owned by _pbuild:
> 
> USE_CCACHE=    Yes
> CCACHE_DIR=    /extra/ccache
> 
> However, it seems as if this causes dpb to just quickly run though all
> the ports in my list without buiding anything, or even checking the port
> signatures.
> 
> I'm running dpb like this:
> 
>     doas /usr/ports/infrastructure/bin/dpb -p4 -suUR -J0 -P 
> "$HOME/packages.txt"
> 
> Is it possible to enable ccache at all for dpb?  I'm using dpb since it
> makes it easy to keep ports up to date on -current, and I'd really want
> to have the ability to run with ccache to speed up the rebuilding of some
> of the larger ports.

I'm not going  to go debug that from scratch.

It's likely dpb produced at least some output, like some logs.
So there might be an indication of why it doesn't work.

Reply via email to