mergemaster whines "... can't install files to the temproot environment"
David Wolfskill
david at catwhisker.org
Sun Aug 2 19:20:33 UTC 2020
I have been updating my home "production" machines weekly for the past 5
years, tracking stable (/12, at present). I mount /usr/src and /usr/obj
via NFS from a dedicated build machine, "make install..." on each
"client" machine (to a fresh copy of the currently-=booted slice), then
reboot from the just-updated slice.
This has been working very well -- until today.
This morning, on one machine (but not the others), the steps up to (and
including):
make installworld DESTDIR=/S1
seem to work OK, but then
mergemaster -F -U -u 0022 -i -D /S1
fails:
...
install -s -o root -g wheel -m 555 ldd32 /S1/usr/bin/ldd32
--------------------------------------------------------------
>>> Installing everything completed on Sun Aug 2 18:56:41 UTC 2020
--------------------------------------------------------------
*** Creating the temporary root environment in /var/tmp/temproot
*** /var/tmp/temproot ready for use
*** Creating and populating directory structure in /var/tmp/temproot
*** FATAL ERROR: Cannot 'cd' to /usr/src and install files to
the temproot environment
I tried running mergemaster via "sh -x" and found that it is at line 663
that it's failing, so it got through:
${MM_MAKE} DESTDIR=${DESTDIR} distrib-dirs >/dev/null
${MM_MAKE} DESTDIR=${TEMPROOT} distrib-dirs >/dev/null &&
${MM_MAKE} _obj SUBDIR_OVERRIDE=etc >/dev/null &&
and then at
${MM_MAKE} everything SUBDIR_OVERRIDE=etc >/dev/null &&
progress comes to a screeching halt.
/usr/src and /usr/obj are (still) mounted (read-only)), and I keep
clocks in sync.
mergemaster's Id string is:
# $FreeBSD: stable/12/usr.sbin/mergemaster/mergemaster.sh 357082 2020-01-24 15:29:33Z kevans $
The client macxhine in question is running:
bats(12.1-S)[4] uname -aUK
FreeBSD bats.catwhisker.org 12.1-STABLE FreeBSD 12.1-STABLE #619 r363556M/363556: Sun Jul 26 04:29:59 PDT 2020 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/BATS amd64 1201520 1201520
The build machine is running:
freebeast(12.1-S)[1] uname -aUK
FreeBSD freebeast.catwhisker.org 12.1-STABLE FreeBSD 12.1-STABLE #976 r363768M/363769: Sun Aug 2 03:48:48 PDT 2020 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1201520 1201520
(and thus, the client machine is trying to update from r363556 to r363768).
I see no (other) messages logged at the point of failure (checking for
reported disk errors, for example).
Any hints, clues, or suggestions?
Thanks!
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Spare Trump from four more years of whining "Nobody likes me" -- support Biden.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20200802/523937f9/attachment.sig>
More information about the freebsd-stable
mailing list