From owner-freebsd-stable@freebsd.org Sun Aug 2 19:20:33 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC6D13A5579 for ; Sun, 2 Aug 2020 19:20:33 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BKW7j2M02z3Zp6 for ; Sun, 2 Aug 2020 19:20:33 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4F1313A56E0; Sun, 2 Aug 2020 19:20:33 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4ED823A53ED for ; Sun, 2 Aug 2020 19:20:33 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKW7h3TBRz3ZcH for ; Sun, 2 Aug 2020 19:20:32 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 072JKP7R051744 for ; Sun, 2 Aug 2020 19:20:25 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 072JKOSv051743 for stable@freebsd.org; Sun, 2 Aug 2020 12:20:24 -0700 (PDT) (envelope-from david) Date: Sun, 2 Aug 2020 12:20:24 -0700 From: David Wolfskill To: stable@freebsd.org Subject: mergemaster whines "... can't install files to the temproot environment" Message-ID: <20200802192024.GI29908@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iMxmw5Km1OhR+d3q" Content-Disposition: inline X-Rspamd-Queue-Id: 4BKW7h3TBRz3ZcH X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-5.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.015]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.968]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_SHORT(-0.71)[-0.710]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 19:20:33 -0000 --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--