tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bulk builds incompatible with changes



> Date: Fri, 11 Apr 2025 17:33:06 +0000 (UTC)
> From: John Klos <john%klos.com@localhost>
> 
> Does anyone have any suggestions about what to do about updates to the 
> pkgsrc tree when running bulk builds? Stopping a bulk build and rescanning 
> from scratch is really not ideal, particularly on slower systems.
> 
> Ideally, I'd like if there was a straightforward way to do a new scan on a 
> fast system, then merge the updated things in to the build for the slower 
> system. I've done this manually, but it's definitely not straightforward.

If the scan phase has completed, you can:

1. interrupt whatever's running
2. mv bulklog bulklog.old
3. update tree
4. run bulkbuild-restart

It will reuse scan results from bulklog.old if possible -- only
rescans the packages affected by files that have changed.

(Of course, if bsd.pkg.mk changed then it rescans everything, but
that's part of why, e.g., we don't do infrastructure pullups on
release branches.)


Home | Main Index | Thread Index | Old Index