From owner-freebsd-current@freebsd.org Thu Apr 15 11:19:05 2021 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 9F9885EB375 for ; Thu, 15 Apr 2021 11:19:05 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (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 4FLcL02s3nz3lJt for ; Thu, 15 Apr 2021 11:19:04 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router10g.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 56564500A1; Thu, 15 Apr 2021 13:18:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router10g.digiware.nl (router10g.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Jyt_VrzrhEn; Thu, 15 Apr 2021 13:18:53 +0200 (CEST) Received: from [192.168.11.244] (WJW-LAPTOP.digiware.nl [192.168.11.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id B264550188; Thu, 15 Apr 2021 13:18:53 +0200 (CEST) Subject: Re: Trying to build Current To: Yuri Pankov , gljennjohn@gmail.com, Willem Jan Withagen via freebsd-current References: <18228aca-e835-d3d1-245d-dca1068d5023@digiware.nl> <20210415094744.2bd9dd62@ernst.home> <50812822-0395-5656-5d6e-736a40925729@digiware.nl> <70a6f9b7-5dd3-2831-738c-321a1cc05815@ftml.net> From: Willem Jan Withagen Message-ID: <3d098c53-c241-e0f3-2ade-bfe5334a4ad2@digiware.nl> Date: Thu, 15 Apr 2021 13:18:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <70a6f9b7-5dd3-2831-738c-321a1cc05815@ftml.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4FLcL02s3nz3lJt X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(0.00)[digiware.nl:s=medusa-2017]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_MIXED(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[digiware.nl:+,digiware.nl:-]; DMARC_POLICY_ALLOW(0.00)[digiware.nl,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; FREEMAIL_TO(0.00)[ftml.net,gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:4cb8:90:ffff::3:from]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[digiware.nl:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[digiware.nl:s=medusa-2017]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2001:4cb8:90:ffff::3:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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: Thu, 15 Apr 2021 11:19:05 -0000 On 15-4-2021 12:44, Yuri Pankov wrote: > Willem Jan Withagen via freebsd-current wrote: >> On 15-4-2021 11:47, Gary Jennejohn wrote: >>> On Thu, 15 Apr 2021 10:51:39 +0200 >>> Willem Jan Withagen via freebsd-current >>> wrote: >>> >>>> Hi, >>>> >>>> I actually went completely back to the basic setup with directories >>>> /usr/src and /usr/obj >>>> But even then I do not manage to buildworld. >>>> The process keeps bumping into missing bsm/audit. >>>> >>>> First case was when it tried to build the 64bit libc. >>>> I copied the bsm directory into >>>>   ______ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/ >>>> >>>> Which allowed it to continue. >>>> But then a bit further on it halts again in 32bit libc. >>>> Whcih I could fix the same way. >>>> >>>> --- fts.o --- >>>> In file included from /usr/src/lib/libc/gen/fts.c:40: >>>> In file included from >>>> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38: >>>> /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10: >>>> >>>> fatal error: 'bsm/audit.h' file not found >>>> #include >>>>   ________________ ^~~~~~~~~~~~~ >>>> >>>> Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing >>>> 'make world' >>>> >>>> So why is this include file missing? >>>> >>> Try running make includes first. This step is missing because you are NOT >>> doing a buildworld. >>> >> Well actual the commands were: >> >> rm -rf /usr/src /usr/obj >> mkdir -p /usr/src /usr/obj >> cd /usr/src >> git clone https://git.freebsd.org/src.git . >> make -j16 buildworld >> >> But I'll give it a shot anyways. > Anything in /etc/make.conf and /etc/src.conf? I had the same idea, .... but only after I asked the question There was quite a lot of old cruft there.... Removed it all, and I'm trying fresh again. But Clang building, even with ccache takes quite some time. --WjW --WjW