From nobody Tue Oct 03 17:03:59 2023 X-Original-To: questions@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 4S0PLL0pRZz4vkpP for ; Tue, 3 Oct 2023 17:04:10 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Received: from mail.worldserver.net (mail.worldserver.net [217.13.200.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits)) (Client CN "*.worldserver.net", Issuer "EuropeanSSL Server CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0PLG5Zhdz4HJC for ; Tue, 3 Oct 2023 17:04:06 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nebelschwaden.de header.s=1687803001 header.b=NZA9opkT; spf=pass (mx1.freebsd.org: domain of listac@nebelschwaden.de designates 217.13.200.36 as permitted sender) smtp.mailfrom=listac@nebelschwaden.de; dmarc=none Received: from postpony.nebelschwaden.de (v22018114346177759.hotsrv.de [194.55.14.20]) (Authenticated sender: sendmail@nebelschwaden.de) by mail.worldserver.net (Postfix) with ESMTPSA id EBC741E0B27 for ; Tue, 3 Oct 2023 19:04:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nebelschwaden.de; s=1687803001; t=1696352640; bh=shoVZKexijpb8I+4UU8zBFSL1tvxs8dWClrKbKgOtBc=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To:From; b=NZA9opkTU4bFsD2+IbzwTSb2b0+S5bFj12cGzOvHYb765xzKkOtXHE9AcvG/VNRe0 jCdW+eit9FuPairoQ2OzWozMgKgagdKMarz+juwhLMxYwyk9XHbbaISO47jQFd/hGu lxyuJoOwZL+8uJof9znGuixScLlrFU4E2i+Jf9S8OvBWQsZh7FUULUcMr5SKp3Eboj fz2Fl43PhT856bxvA6zxhaQPxeWUvml0xkdbowTmbwzSRFxbNgZX+Y88WF2GBqis4X c03QxHc50T3CZnf4ZlH1WGgw3UfdBTVrxe/CeL7DqQPYyNjoqvmORcMr7vaRrCWgDq dMZitAbCsWEwg== Received: from [172.16.37.5] (kaperfahrt.nebelschwaden.de [172.16.37.5]) by postpony.nebelschwaden.de (Postfix) with ESMTP id 8A3E0113E13 for ; Tue, 3 Oct 2023 19:03:59 +0200 (CEST) Message-ID: <1779eacd-eebc-4e1e-85a7-8d4a0ad2e64e@nebelschwaden.de> Date: Tue, 3 Oct 2023 19:03:59 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: listac@nebelschwaden.de Subject: Re: buildworld: specifying an alternate make.conf To: questions@freebsd.org References: <4249ee95-5081-4d4d-943c-3a6948ba4af7@nebelschwaden.de> <536f22fe-7a84-43a2-8628-0223336c4092@nebelschwaden.de> <8634yriu9m.fsf@ltc.des.no> <4071a3d7-e8e1-4a22-b1b5-3f1107ff918e@nebelschwaden.de> Content-Language: en-US From: Ede Wolf In-Reply-To: <4071a3d7-e8e1-4a22-b1b5-3f1107ff918e@nebelschwaden.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.949]; R_SPF_ALLOW(-0.20)[+ip4:217.13.200.0/24]; R_DKIM_ALLOW(-0.20)[nebelschwaden.de:s=1687803001]; RCVD_IN_DNSWL_LOW(-0.10)[217.13.200.36:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[nebelschwaden.de]; HAS_REPLYTO(0.00)[listac@nebelschwaden.de]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15657, ipnet:217.13.192.0/20, country:DE]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[nebelschwaden.de:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4S0PLG5Zhdz4HJC Am 03.10.23 um 18:42 schrieb Ede Wolf: > Am 03.10.23 um 17:46 schrieb Dag-Erling Smørgrav: >> Ede Wolf writes: >>> $ make -D __MAKE_CONF=/data/admin/build/vbox/make.conf -j 4 buildworld >> >> This defines a variable with the unwieldy name >> `__MAKE_CONF=/data/admin/build/vbox/make.conf` and no value.  You need >> to drop the -D. >> >> DES > > Hello DES, > > Leaving away the "-D" does not really work either: > > $ cd /clutter/src > $ ls -la /usr/ | grep obj > $ make __MAKE_CONF=/data/admin/build/vbox/make.conf -j4 buildworld >  -- other teminal: > $ ls -l /usr/ | grep obj > drwxrwxr-x   3 root wheel   3 Oct  3 18:35 obj > > So MAKEOBJDIRPREFIX (or src-env.conf) is still not being honored, > despite being set in make.conf. As a side note, this seems to work, at least as far as obj dir creation goes: make\ __MAKE_CONF=/data/admin/build/vbox/make.conf\ SRCCONF=/data/admin/build/vbox/src.conf\ SRC_ENV_CONF=/data/admin/build/vbox/src-env.conf\ -j4 buildworld So either make.conf is still not being read, or it simply ignores the SRCCONF and SRC_ENV_CONF settings, contrary to my understanding of the src.conf man page - not unlikely: --- The default location of src.conf is /etc/src.conf, though an alternative location can be specified in the make(1) variable SRCCONF. --- The environment of make(1) for the build can be controlled via the SRC_ENV_CONF variable,