From nobody Tue Feb 8 14:45:44 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5672E19B12AC for ; Tue, 8 Feb 2022 14:46:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JtQmh138wz3wWp for ; Tue, 8 Feb 2022 14:45:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua1-x934.google.com with SMTP id e17so25103449uad.9 for ; Tue, 08 Feb 2022 06:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xjAO+NGHD6Zd8ImCXQBe4Vr2QBSEQqNXIzYQLT+1VQA=; b=zaqatSksZayENkyWHnMQqxpPYSH5kEvK1mz1kfEIHqJx3EwPypyNI4ac0o5q1zRnit pZ0uW/t3gSFx6HqSI+TwjgkFs38TXqlXiqmxQc6vvHaKxjnaVLM3/S7Rs9pItifqp8Bd jIn9yhjdTKZpH4z9N3GBI/Yhky+ArExJbYgip0D7/h3ZY7q3CyjhK5wnWVyDFZYviA/G vpeieoBcyOGMvZaNcBx1OTh+Htuc6zitGpD3gA0lJI+wz5VkimTWUwW11ldSGmWD5AkI swODJhrzgwqoRE9/V8OZ28gRb49iReq/mt4lQTGMi8Rm4UKal3fwjwVepqQHBh6lew5Z 5jaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xjAO+NGHD6Zd8ImCXQBe4Vr2QBSEQqNXIzYQLT+1VQA=; b=oGVYDKi04RpWsC+26WP/K/KjAD7ABneKylsh4gridXgOJxFssvPIP7oqqdK+Wklu7D hA8XKZIF8jQCwmDu8aBSEpHhhdi1/4tVuSK4U0/Q/h1pl2P4OrRbwUb8fncQe+Cuc3HP IQrq/Wp5QcPglkW4G+pXrXbrV7wd6C060GKVPFa3LC4VmlwiWzIFir2nWPG+ti80bKi/ YHe6v4tA+DfgZoGsGMIMeHW2rhztfnQxRCj9/Bo9kwTe2CapmJFCmbZc6tIs8pIGVofj MqQU86NuwKD6AMtvYIBZzWEKQG+gd6ksojRxNd2A7Z/2VkQ/uuo8Ef+sOZf13wM93irZ vPTA== X-Gm-Message-State: AOAM530FiuNjzzzEV2ahiiOwRD6CMbAy2vGmXdNM+eSNMGu4A5HVpoAD pG7aC9liQFpHMXaVZTtn1rix7ENZiB677OIVw44bpXjlsWo= X-Google-Smtp-Source: ABdhPJwzRv5Fn17cZ598DOpXcoadWCEZhrO2/opK0YZCWxI8jktkPHPawbkPkNwM86nsGKOUixdallw8RGtIx4lsi6Y= X-Received: by 2002:ab0:ae:: with SMTP id 43mr1476636uaj.85.1644331554785; Tue, 08 Feb 2022 06:45:54 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <0UZyB4mlM9jAgpWD6iLfODtbpKIM4xVsFg11wqD5CvHnEQNQrXX4Dx6ywa0fW2ZNmzk0XC5Os_gCkYm-knr8JmCokn5xI_onhf5A4mUn2mI=@protonmail.com> In-Reply-To: From: Warner Losh Date: Tue, 8 Feb 2022 07:45:44 -0700 Message-ID: Subject: Re: buildworld failed To: George Abdelmalik Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000003760a005d782c61b" X-Rspamd-Queue-Id: 4JtQmh138wz3wWp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=zaqatSks; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::934) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::934:from]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::934:server fail]; MLMMJ_DEST(0.00)[freebsd-current]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] X-ThisMailContainsUnwantedMimeParts: N --0000000000003760a005d782c61b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 8, 2022 at 3:43 AM George Abdelmalik wrote: > > On 7/2/22 03:50, qroxana wrote: > > > > I know running make install for /usr/src/tools/build/test-includes can fi= x > this, > but this still fails on a newly installed 14.0-CURRENT. > > --- test-includes --- > cd /usr/src/tools/build/test-includes; MACHINE_ARCH=3Daarch64 > MACHINE=3Darm64 CPUTYPE=3D CC=3D"cc -target aarch64-unknown-freebsd14.0 > --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -target > aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tm= p > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin" CXX=3D"c++ -target > aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tm= p > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -target > aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tm= p > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin" CPP=3D"cpp -target > aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tm= p > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -target > aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tm= p > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin" AS=3D"as" AR=3D"ar" > ELFCTL=3D"elfctl" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" > RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" STRIPBIN=3D"strip" INSTALL=3D"= install -U" > PATH=3D/usr/obj/usr/src/arm64.aarch64/tmp/bin:/usr/obj/usr/src/arm64.aarc= h64/tmp/usr/sbin:/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin:/usr/obj/usr/sr= c/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/usr/src/arm64.aarch64/tmp/lega= cy/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/bin:/usr/obj/usr/src/a= rm64.aarch64/tmp/legacy/usr/libexec::/usr/obj/usr/src/arm64.aarch64/tmp/bin= :/usr/obj/usr/src/arm64.aarch64/tmp/usr/sbin:/usr/obj/usr/src/arm64.aarch64= /tmp/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/us= r/src/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/l= egacy/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/libexec::/sbin:/bin= :/usr/sbin:/usr/bin > SYSROOT=3D/usr/obj/usr/src/arm64.aarch64/tmp make > DESTDIR=3D/usr/obj/usr/src/arm64.aarch64/tmp test-includes > --- sys/abi_compat.c --- > --- sys/acct.c --- > --- sys/acl.c --- > --- sys/aio.c --- > --- sys/abi_compat.c --- > echo "#include " > sys/abi_compat.c > sh: cannot create sys/abi_compat.c: No such file or directory > *** [sys/abi_compat.c] Error code 2 > > make[4]: stopped in /usr/src/tools/build/test-includes > --- sys/acct.c --- > echo "#include " > sys/acct.c > sh: cannot create sys/acct.c: No such file or directory > *** [sys/acct.c] Error code 2 > > make[4]: stopped in /usr/src/tools/build/test-includes > --- sys/aio.c --- > echo "#include " > sys/aio.c > sh: cannot create sys/aio.c: No such file or directory > *** [sys/aio.c] Error code 2 > > make[4]: stopped in /usr/src/tools/build/test-includes > --- sys/acl.c --- > echo "#include " > sys/acl.c > sh: cannot create sys/acl.c: No such file or directory > *** [sys/acl.c] Error code 2 > > > Same here for me for the past couple of weeks. Haven't been able to > identify why it fails. My hunch was that a particular objdir wasn't being > created. As a workaround I edited the Makefile.inc1 to remove the > test-includes command (line 1128 I think). > > I'd really like to understand why this error comes about. If someone has > any insights, please share them :) > What build options are you using? this is the test to make sure that files can be included on their own. Warner --0000000000003760a005d782c61b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Feb 8, 2022 at 3:43 AM George= Abdelmalik <george@fork.id.au&= gt; wrote:
=20 =20 =20


On 7/2/22 03:50, qroxana wrote:
=20


I know running make install for /usr/src/tools/build/test-includes can fix this,
but this still fails on a newly installed 14.0-CURRENT.

--- test-includes ---
cd /usr/src/tools/build/test-includes;=C2=A0 MACHINE_ARCH=3Daarch64=C2=A0 MACHINE=3Darm64=C2=A0 CPUTYPE=3D CC=3D"cc -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin" CXX=3D&q= uot;c++=C2=A0 -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin=C2=A0 -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin"=C2=A0 CP= P=3D"cpp -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -target aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin"=C2=A0 AS= =3D"as" AR=3D"ar" ELFCTL=3D"elfctl" LD=3D"ld"=C2=A0 LLVM_= LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy"=C2=A0 RANLIB=3Dranlib STRINGS=3D=C2=A0 SIZE=3D"size" ST= RIPBIN=3D"strip"=C2=A0 INSTALL=3D"install -U"=C2=A0 PATH=3D/usr/obj/usr/src/arm64.aarch64/tmp/bin:/usr/obj/usr/src/arm64.aarch6= 4/tmp/usr/sbin:/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin:/usr/obj/usr/src/= arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy= /usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/bin:/usr/obj/usr/src/arm= 64.aarch64/tmp/legacy/usr/libexec::/usr/obj/usr/src/arm64.aarch64/tmp/bin:/= usr/obj/usr/src/arm64.aarch64/tmp/usr/sbin:/usr/obj/usr/src/arm64.aarch64/t= mp/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/usr/= src/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/usr/src/arm64.aarch64/tmp/leg= acy/bin:/usr/obj/usr/src/arm64.aarch64/tmp/legacy/usr/libexec::/sbin:/bin:/= usr/sbin:/usr/bin=C2=A0 SYSROOT=3D/usr/obj/usr/src/arm64.aarch64/tmp make=C2=A0 DESTDIR=3D/usr/obj/usr/src/arm64.aarch64/tmp test-includes<= br>
--- sys/abi_compat.c ---
--- sys/acct.c ---
--- sys/acl.c ---
--- sys/aio.c ---
--- sys/abi_compat.c ---
echo "#include <sys/abi_compat.h>" > sys/abi_co= mpat.c
sh: cannot create sys/abi_compat.c: No such file or directory
*** [sys/abi_compat.c] Error code 2

make[4]: stopped in /usr/src/tools/build/test-includes
--- sys/acct.c ---
echo "#include <sys/acct.h>" > sys/acct.c
sh: cannot create sys/acct.c: No such file or directory
*** [sys/acct.c] Error code 2

make[4]: stopped in /usr/src/tools/build/test-includes
--- sys/aio.c ---
echo "#include <sys/aio.h>" > sys/aio.c
sh: cannot create sys/aio.c: No such file or directory
*** [sys/aio.c] Error code 2

make[4]: stopped in /usr/src/tools/build/test-includes
--- sys/acl.c ---
echo "#include <sys/acl.h>" > sys/acl.c
sh: cannot create sys/acl.c: No such file or directory
*** [sys/acl.c] Error code 2


Same here for me for the past couple of weeks. Haven't been able to identify why it fails. My hunch was that a particular objdir wasn't being created. As a workaround I edited the Makefile.inc1 to remove the test-includes command (line 1128 I think).

I'd really like to understand why this error comes about. If someone has any insights, please share them :)

=
What build options are you using?=C2=A0 this is the test to make sure = that files can be included on their own.

Warner
--0000000000003760a005d782c61b--