From owner-freebsd-current@freebsd.org Sun Nov 22 12:00:32 2020 Return-Path: Delivered-To: freebsd-current@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 224672EE5C5 for ; Sun, 22 Nov 2020 12:00:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cf84J0S62z4tkK; Sun, 22 Nov 2020 12:00:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id DCD77447C; Sun, 22 Nov 2020 12:00:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::3004:f601:e73a:11ee] (unknown [IPv6:2001:470:7a58:0:3004:f601:e73a:11ee]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D32465B63C; Sun, 22 Nov 2020 13:00:29 +0100 (CET) From: Dimitry Andric Message-Id: <40C5DB30-4B7C-4A51-8069-B4E67298C558@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_9EB2C2C6-D171-4411-AA34-F3E171D63D51"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: buildworld: lib/libc: install: short write to libc.so.7.debug: [_libinstall] Error code 71 Date: Sun, 22 Nov 2020 13:00:22 +0100 In-Reply-To: <1e9e8649-0fe7-4b83-078d-f67908e2f430@gmail.com> Cc: FreeBSD-CURRENT To: Graham Perrin References: <746a3af4-3daf-9029-bf48-23efa3f5da8e@gmail.com> <37d2a873-8cb9-b858-fa06-4bbfcf006835@gmail.com> <1e9e8649-0fe7-4b83-078d-f67908e2f430@gmail.com> X-Mailer: Apple Mail (2.3445.104.17) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2020 12:00:32 -0000 --Apple-Mail=_9EB2C2C6-D171-4411-AA34-F3E171D63D51 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 22 Nov 2020, at 08:06, Graham Perrin wrote: >=20 > On 20/11/2020 09:57, Graham Perrin wrote: >> On 16/11/2020 09:27, Graham Perrin wrote: >>> Attempting to build r367615 on Friday 13th: >>>=20 >>> =E2=80=A6 >>>=20 >>> =3D=3D=3D> lib/libprocstat/zfs (install) >>> install -U -C -o root -g wheel -m 444 = /usr/src/lib/libprocstat/libprocstat.h = /usr/obj/usr/src/amd64.amd64/tmp/usr/include/ >>> =3D=3D=3D> lib/libc (obj,all,install) >>> install -U -C -o root -g wheel -m 444 libc.a = /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/ >>> install -U -s -o root -g wheel -m 444 -S libc.so.7 = /usr/obj/usr/src/amd64.amd64/tmp/lib/ >>> install -U -o root -g wheel -m 444 libc.so.7.debug = /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/ >>> install: short write to = /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug: = 393216 bytes written, 7462472 bytes asked to write >>> *** [_libinstall] Error code 71 >>>=20 >>> make[4]: stopped in /usr/src/lib/libc >>> 1 error >>>=20 >>> make[4]: stopped in /usr/src/lib/libc >>> root@mowa219-gjp4-8570p:/usr/src # >>=20 >> The same problem =E2=80=93 short write to = /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/debug/lib/libc.so.7.debug =E2=80=93= when attempting buildworld of r367847. >>=20 >> If it's relevant: I'm using r367081 for these attempts. >=20 > The same problem when attempting buildworld of r367923. Prior to this = I performed a fresh checkout of /usr/src >=20 > What might cause these failures? >=20 > If it's relevant: I have compression set to gzip-9 for the ZFS dataset = that mounts at /usr I'd guess it's an unintended side-effect of https://svnweb.freebsd.org/base?view=3Drevision&revision=3D366697 ("install(1): Avoid unncessary fstatfs() calls and use mmap() based on size"). If you only revert usr.bin/xinstall to r366696, and then rebuild it, does it still occur? -Dimitry --Apple-Mail=_9EB2C2C6-D171-4411-AA34-F3E171D63D51 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX7pS1gAKCRCwXqMKLiCW ozcCAKC7GdRuJS1KkKTnYS0KbpXYPSvn/wCg+PjMaL4W1avI4hZPo8kEa0rswZk= =ZTiZ -----END PGP SIGNATURE----- --Apple-Mail=_9EB2C2C6-D171-4411-AA34-F3E171D63D51--