Article View: muc.lists.freebsd.hackers
Article #62Re: src-env meta-mode & cleanworld for buildworld & friends
From: Bakul Shah
Date: Mon, 26 Oct 2026 22:21
Date: Mon, 26 Oct 2026 22:21
42 lines
7035 bytes
7035 bytes
On Oct 26, 2026, at 8:34 AM, void <void@f-m.fm> wrote:
>
> Hi,
>
> Is WITH_META_MODE= considered harmful when following -current?
>
> I'm asking because (and I might be wrong here) but have its effects
> changed? Doing a buildworld & kernel coupled with not running cleanworld beforehand gave me grief building and
> installing a new world. The fix was to clear out /usr/obj, /var/cache/ccache*
> and run make cleanworld && make cleandir && make clean then run
> buildworld again. There was nothing in /usr/src/UPDATING stating
> this was needed at the time.
>
> If I'm wrong and with_meta_mode & without cleanworld is fine,
> then is there a way of telling when (cleaning etc) would be required?
>
> Or is it better to just try, fail, clean everything out, disable meta_mode, then try again? It being par for the course for following -current?
>
> Is a PR of any use if it fails when meta-mode etc is used
> but works after everything is cleared out?
I have used
WITHOUT_CLEAN=yes
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/usr/obj/ccache
WITH_META_MODE=yes
without any issues for a long time. I use these (& more) to
build stable/{14,15} and current, the latter for amd64 & arm64.
I periodically run "CCACHE_DIR=/usr/obj/ccache ccache -c" to
keep it under configed space limit.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<D8E2C437-8EB0-4773-B817-A7EEE83BD892@iitbombay.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<at9zES_wJy4e_LtM@int21h>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Bakul Shah <bakul@iitbombay.org>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: src-env meta-mode & cleanworld for buildworld & friends
Date: Mon, 26 Oct 2026 15:21:08 -0700
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <D8E2C437-8EB0-4773-B817-A7EEE83BD892@iitbombay.org>
References: <at9zES_wJy4e_LtM@int21h>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.100.1.1.12\))
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
logging-data="4582"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1793053289; h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:list-id:list-help:
list-owner:list-unsubscribe:list-subscribe:list-post;
bh=vxD5M1S48eDgwV6yl6Cb+XcjZz02BHM0yTS0/miTa50=;
b=BJrEsNE9ecAlFcChKwQooEbVZtO/dk6lekx5S0Qpm2PSyOp5obM4DZjgUdmLtCqGVdixGl
p25JT4yvi3tgg50LnVYRw5139HEWbMOCOTts6tYrXxvgWS4G8/T7QpCrQQlKG7JzCBEa+d
jcoFpNajWmyO1ylnzI+p1NaztamffXsDAJVp+2xFmqSwA5+rKde3ac6MBBGBjjC4sQoD2n
L+f2vU+oi+alkqwt8KjX8VC/hPzpd6SDmWZJEP5j76fPt3W5BaP+X+CF26iq9QGopiKG4n
SAIU51U4mP/Cj9c7PDM5Vea02RYajywJWtUBXZ+vGJRQdNhLAbmSdLZpxMos7Q==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
dkim=pass header.d=iitbombay.org header.s=google header.b=G45rTR93;
spf=pass (mx1.freebsd.org: domain of bakul@iitbombay.org designates 2607:f8b0:4864:20::112d as permitted sender) smtp.mailfrom=bakul@iitbombay.org;
dmarc=pass (policy=quarantine) header.from=iitbombay.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=iitbombay.org; s=google; t=1793053280; x=1793658080; darn=freebsd.org;
h=to:references:message-id:content-transfer-encoding:cc:date
:in-reply-to:from:subject:mime-version:content-type:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=vxD5M1S48eDgwV6yl6Cb+XcjZz02BHM0yTS0/miTa50=;
b=G45rTR93ftjiQlu3251vAX03y7jxe7cL46NeETONfrcPiWwBomHOjpt/KEbB6O5Gea
YHyIpSv/ctrYWswVzZ8TSZgIQDxjD9OvrdQW9x1sh146KPxsG/RmHikpoFonbQklfbd9
RL0oFBcF7htLN3EmCWVFtQVG9ZHAkCeVEIV68=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793053280; x=1793658080;
h=to:references:message-id:content-transfer-encoding:cc:date
:in-reply-to:from:subject:mime-version:content-type:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=vxD5M1S48eDgwV6yl6Cb+XcjZz02BHM0yTS0/miTa50=;
b=bEBhwBZtSJ0BQhGmLXdPqT6rEWQnS0Tu8dZhDMSWlwgPyJKgMhW/xewQbUlCcicdFm
wCb/1aqQJrX0pHJBEKgY0Z1b3t0N8yXOSJV934Ny57arqyDXvQ+hhcHdrEel5YWsh4k1
O8jWhZ/qfRO2fq8C3/l5cxsDv0jQ+juH32iMShV7OGxTnzkRBFks4klaK7zX3UE6i/sL
Rw6H0a9eLM1qVRangRAnmnilBs3yH9dCZ0qLRxeYCkxYCtPDoHc8pvxiVHUQGMQK+wo3
lDIbNPLHMVz7jtALOExbWCHEsDMO6zTCgvoSh7SwDZpkU5pF0vAY3b0JraHqlyuMfzFy
mSjw==
X-Gm-Message-State: AFq9FYIXxlWCbnz/rvRarcgfiNIMMUfxO7LrTneQ4APSmWaDnZej1kUX
x09jzuYNyNkWefOOQk+28Gf/7c70I3F4yqlNEzBBQ28vusUExhpYzNn52xCieKJb4T7KHIDP7GO
m5wo=
X-Gm-Gg: AYBFou1L28w0YAp8GuwmtTR0WqE3yRFkHtBGMa/JuzrR4oh2nmQ63JFmv0Pw6xRMd83
L17HWGGUtXCG6UIUi/9SIDP+rzRPULSkTXpQezuPc/iHOsP6MGKTM++t0V5nIM96XEDWynMKprN
kbXo6hsBbbUMXRiRGq6Jdm1Tuzn1Hrrnf6qObEp5rarAXg73Dw2sGGd7B/KQLXxXWrPtDMy+KXk
3kUKYzwwVkRLPTDUecUSYMQlgrZZ/RqhY4o4je8LqEjqK7zt/zsk7zN+1hWaVrKmjMY7RUv9SFI
TWPrYlVeA89E16r46F+M0PveI5hymDCuAXPlfuPmxC7ryAzFkPjqkibad0PDi0r4IEnvx/AdELf
qnmmwaqwew246MSdAEMSdKTtsFfUXS0cYufKJEuTHtNd3RiqcMKPy4OdH/WhrApg4oTKwxTAGXM
zHrEZR3GuXdHQORFSPv8ThTD5DAeYk2VBY7JW1gaxhx0u59vFygTn1eNTImelXT/Ws34CNJgBfj
YHQU6XkoYabaa6yr4bt1IltqCXEPgFDNHP0CkVaoU4iav56Alhn92KRmiuz2c4A6ie6mUVhHQtO
syAaslo286YFH15jSvMmtmcgLfJ0T9LbD3Uvrex1ZDP02ysju6vK
Precedence: list
In-Reply-To: <at9zES_wJy4e_LtM@int21h>
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.50 / 15.00];
DMARC_POLICY_ALLOW(-0.50)[iitbombay.org,quarantine];
MV_CASE(0.50)[];
R_DKIM_ALLOW(-0.20)[iitbombay.org:s=google];
R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56];
MIME_GOOD(-0.10)[text/plain];
FREEMAIL_TO(0.00)[f-m.fm];
RCVD_VIA_SMTP_AUTH(0.00)[];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
TO_DN_SOME(0.00)[];
ARC_NA(0.00)[];
MIME_TRACE(0.00)[0:+];
FREEFALL_USER(0.00)[bakul];
MID_RHS_MATCH_FROM(0.00)[];
RCPT_COUNT_TWO(0.00)[2];
MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
FROM_EQ_ENVFROM(0.00)[];
FROM_HAS_DN(0.00)[];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112d:from];
RCVD_COUNT_TWO(0.00)[2];
PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
TO_MATCH_ENVRCPT_SOME(0.00)[];
RCVD_TLS_LAST(0.00)[];
DKIM_TRACE(0.00)[iitbombay.org:+]
X-Rspamd-Queue-Id: 4jD7Py3Jbyz4XgC
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes