userland-2026-11-17f.log:11 'pkgsrc changed ./include/Dt/WsmP.h, cleaning':
the .pristine was older than the extract (the run before was started with
the userland.sh that kept no snapshot after a failure), so a header changed
since then looked like pkgsrc's, and MCDE was compiled from nothing for a
file the work directory already held as the new archive has it. Such a
file is now skipped -- not cleaned and not copied, so its time stamp stays
and make does not recompile what includes it.
tools/test-ext-resync.sh (asked for by t0231, never written): six cases in
a scratch tree with a stand-in bmake; the committed ext-resync.sh fails
"stale pristine: no clean", this one passes 14 of 14. test-tools.sh runs
it (34 ok, 0 bad).
The lock of t0229 and the configure-only resync of t0231 were marked done
in tasksd but never committed; they are committed here with the fixes they
needed:
- .pristine was written only after a successful build, so after every
failure ext-resync found none and userland.sh ran `bmake clean': the next
run compiled MCDE from nothing (build/logs/userland-2026-11-17b..d.log).
The snapshot is now kept whenever the work directory was extracted.
- a changed recipe ran `bmake clean'; fork_reconfigure drops pkgsrc's
cookies from depends on and keeps sources and objects (the forks have no
patches/).
- ext-resync left .package_done: in a cross build `install' adds the
binary package, and pkgsrc did not make it again, so the old package was
installed over a fresh build (pkgsrc/mk/package/package.mk:35).
tools/AGENTS.md says so, and that a fork's work directory is never removed
by hand.
makronix-set.sh: set packages resolved by PKGPATH, normalised @cwd, no names
with spaces, directories in the list and METALOG; the regenerated makronix list.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>