Commit Graph
5 Commits
Author SHA1 Message Date
lotherk b74473cb8e ext-resync: a file the work directory already has is no reason to clean
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).
2026-11-17 16:48:20 +00:00
lotherk fd81bfefcc userland: an error or a recipe change no longer means MCDE from nothing
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.
2026-11-17 16:33:54 +00:00
lotherkandClaude Sonnet 5.5 601204bf01 userland.sh removes a fork from the sysroot before installing it (pkg_add kept the old files); ext-resync.sh lets documentation changes pass
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:10:34 +00:00
lotherkandClaude Sonnet 5.5 5f32deef85 The set of the 0.99.10 image: all registered packages with their directories, the closure from everything installed; xine-ui for video DVDs (t0083); ext-resync.sh executable
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>
2026-11-14 22:53:22 +00:00
lotherkandClaude Sonnet 5.5 a04f15b46b makronix-set.sh: resolve set packages by PKGPATH (fuse-afpfs-ng), skip the line after @ignore, no bashism; the regenerated makronix set; tools/ext-resync.sh (not wired in yet)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 19:22:09 +00:00