Date: Sun, 2 Aug 2020 12:20:24 -0700 From: David Wolfskill <david@catwhisker.org> To: stable@freebsd.org Subject: mergemaster whines "... can't install files to the temproot environment" Message-ID: <20200802192024.GI29908@albert.catwhisker.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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@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@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@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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl8nEfhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PclRQAf+J52Rz3htrdmooruMyg50OqnQCz0UX/L75kHulVJH8/obYd9GG4tkmOE9
X4sHv+WPkh7EY73aPSuZ+csRXh/R8Tj/IsZCsZFZZPaWNNEodj9BPm23c53r/SIg
r/K8/7uYmdo0cbU3pdWRukLVsgJvfjkbtkNkkB4TCcTncyBX0mB4lFuLGoCelxC+
r+xo1bRK2TJjloivlZVGw90BUUjtYZI25eyz/azhCHGROzCMfr/qDM2aHu2fhckG
cIltvEqAMQjtZXu0M8D0rYmz+1F6twfTRPJmjmDWY9f6UiHjdyEhqU3umjIdcctL
RNnXv7EExTgRagz7SNOyHUSAW1rlmQ==
=Lts+
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200802192024.GI29908>
