From owner-freebsd-current@freebsd.org Fri Apr 16 04:55:46 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 B1A185E429E for ; Fri, 16 Apr 2021 04:55:46 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FM3nF5bBrz3GXC for ; Fri, 16 Apr 2021 04:55:45 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x332.google.com with SMTP id a2-20020a0568300082b029028d8118b91fso6209353oto.2 for ; Thu, 15 Apr 2021 21:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3+ijURoZAXsM00R6Y/1afiekwygDBBXGTSRL4lc0PAc=; b=VkN2MZTG5zTkOPodiJwXvnwVjRjzvoJh8Xa1LcDUAtF+QalbRi9IJin0MvxxZS45P5 OgQn7MWaExq8Vz+mnlqAUBpNwUVeakZKwD5AqC/PL+kxNfr/BXpLmxyR28vgOwucQJQS erC3j1R2xf6zogPzNTnnRRix06bZJW7t5YIXqumklTptrLiGfdUlELeSC4ql+HU+r8Tn 3end+AGbe3wQ1rMNpGLMjiGE1Hcy4lBfcP4n+uGTfpmfgoyzLK7dPAQYrZAXK1y6hd/M hfHAm/0x9MB3IEenMH7OP6rGb1cyJ7M9qi5BoqsObI92lliQTXtU5Qog6yLww8XMXjB9 ZC1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3+ijURoZAXsM00R6Y/1afiekwygDBBXGTSRL4lc0PAc=; b=A4M9EgLnvtt+kS47AvHAW2GsVF9d6Vfiz7KhJG8N2Xf5LafFC2ghAHG5xitWt6ohQc CLfWexrpbPiT3OZAHDrBYQqRg77ukSWioewJ/n+P0f/+71Z3rODUmVpLst13O1kUoa9o cRkaSdxVM6Ky+afCw8NKIc5Px0MBBReOVk5XNAwnk8tofwDGQDCjmM/NcH7+kCTtnHZ4 tKAYzO2N39ON0Qp4+x3Y9PNcZwAVwiMfunNc0Q8xFvyJVvXM9P346MfL8xWQ5GDxnoPq Eo6sHz+XMC9V/sxopqTb9ZEBCAAxDrgwDU4IwIl1tfW1Y9CYumKZRpmTG22EgVtfGKPn 5FwQ== X-Gm-Message-State: AOAM532ZbwWSmpzp1XEMbf8n67wfp2ax0ecoVGJHv+1BLA7R1U3VEgyO aldy4kLwPU/14O0pFtXJxCqBCU0Zkhz0R09vIqzouXkLetBSPg== X-Google-Smtp-Source: ABdhPJxXH7C+GR2/GMcKuPRB7pzfBdpfSBPnI9TshTkHATAexo0B/X+1HFretmukG/l59TQVy3tH4/ryaJ3ftsTfhU8= X-Received: by 2002:a05:6830:3497:: with SMTP id c23mr2246532otu.344.1618548944057; Thu, 15 Apr 2021 21:55:44 -0700 (PDT) MIME-Version: 1.0 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> <3d098c53-c241-e0f3-2ade-bfe5334a4ad2@digiware.nl> In-Reply-To: <3d098c53-c241-e0f3-2ade-bfe5334a4ad2@digiware.nl> From: Kevin Oberman Date: Thu, 15 Apr 2021 21:55:28 -0700 Message-ID: Subject: Re: Trying to build Current To: Willem Jan Withagen Cc: Yuri Pankov , Gary Jennejohn , Willem Jan Withagen via freebsd-current X-Rspamd-Queue-Id: 4FM3nF5bBrz3GXC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VkN2MZTG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::332 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-0.39 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::332:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.31)[0.309]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::332:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::332:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; FREEMAIL_CC(0.00)[ftml.net,gmail.com,freebsd.org] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Fri, 16 Apr 2021 04:55:46 -0000 On Thu, Apr 15, 2021 at 4:19 AM Willem Jan Withagen via freebsd-current < freebsd-current@freebsd.org> wrote: > 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 > You can greatly reduce buildworld time by adding "WITHOUT_LLVM_TARGET_ALL=YES" to /etc/src.conf. This will not build all of the back-ends for other platforms. Of course, it means that you can't cross-compile for them, but I would assume that installing the full llvm11 port would take care of this, so I don't understand why building them is default. This may be shortened to "I don't understand", of course. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683