Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help

--iMxmw5Km1OhR+d3q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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-=3Dbooted 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=3D/S1

seem to work OK, but then

mergemaster -F -U -u 0022 -i -D /S1

fails:

=2E..
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=3D${DESTDIR} distrib-dirs >/dev/null
${MM_MAKE} DESTDIR=3D${TEMPROOT} distrib-dirs >/dev/null &&
${MM_MAKE} _obj SUBDIR_OVERRIDE=3Detc >/dev/null &&

and then at
${MM_MAKE} everything SUBDIR_OVERRIDE=3Detc >/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/3=
63556: Sun Jul 26 04:29:59 PDT 2020     root@freebeast.catwhisker.org:/comm=
on/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 r3637=
68M/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
--=20
David H. Wolfskill				david@catwhisker.org
Spare Trump from four more years of whining "Nobody likes me" -- support Bi=
den.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--iMxmw5Km1OhR+d3q
Content-Type: application/pgp-signature; name="signature.asc"

-----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-----

--iMxmw5Km1OhR+d3q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200802192024.GI29908>