- cdtest takes one lock around release, iso and the VM test; the nested
make calls reuse it through BUILD_LOCK_HELD (re-entrant). MAKE_CMD keeps
make -n cdtest from executing the recipe: GNU make runs a recipe with
$(MAKE) even under -n, and the rest of the line starts a VM.
- mcde-linux and mcde-host take the lock too; they read ext/src/mcde and
the distfiles a release reads.
- build-lock.sh: --held for the tools, --check for read-only callers, pid
plus process start time for stale locks, the child is killed on INT/TERM,
and nested calls reuse the outer lock.
- build-stamp, cd2, cd3, cd-source, images, srctree-stage, userland,
mcde-linux and mcde-host refuse to run outside the lock (the file and the
message name the way in: make or tools/build-lock.sh).
consmirror.c: the BSD notice is replaced (Makronix's own file). Files with
changes of other sessions pending are left for their commit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
dtwm: FixFrameValues keeps every frame below the bar (McdeBarHeight in
WmMultiHead.c): a move stops at its lower border, a resize from the top
loses the height. Placement, maximize and snap already used
McdeExcludeBar; dragging could still cover the bar.
mcde-host.sh gave every substituted file the time of its source, so make
kept objects built before the substitution: dtsearchpath still had
/etc/dt and /usr/dt, DTDATABASESEARCHPATH lacked /usr/mdt/appconfig/types
and dtwm found no dtwm.fp -- no front panel. Only configure.ac,
Makefile.am and *.m4 keep the source time now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The desktop on the Linux build host runs MCDE from /usr/mdt, built by hand
on 2026-11-11 (build/logs/mcde-host-install2-2026-11-11.log) without the
path step of the pkgsrc recipe (ext/src/mcde/pkgsrc/Makefile, pre-configure:
/usr/dt, /etc/dt, /usr/bin/X11 replaced in every file). Without it
dtsearchpath (libCliSrv/Environ.C:59-61) gave the session
DTDATABASESEARCHPATH=$HOME/.dt/types,/etc/dt/appconfig/types/%L: no data
types, and dtwm no front panel ("panel fehlt", Konrad, 2026-11-13).
tools/mcde-host.sh copies the tree to build/mcde-host with that step (a
substituted file rewritten only when its text changes, with the source's
time, so motif/ does not run its aclocal-1.15), configures for /usr/mdt
and /etc/mdt, builds, and with MCDE_DIRS=install copies the second-level
directories of the stage (usr/mdt, etc/cde, etc/pam.d, var/spool) below /
as root:root without group or other write. The first version copied
"stage/ /" with rsync -a and gave /, /etc, /usr and /var the user as owner
and mode 775; that was put back by hand at once (root:root 755, measured
with stat) and is what the second-level copy prevents.
Measured: make mcde-host MCDE_DIRS=install exit 0
(build/logs/mcde-host-install-2026-11-13b.log); afterwards / /etc /usr
/var /etc/pam.d root:root 755, no file below /usr/mdt or /etc/cde not
root's or writable by group or others.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>