From nobody Sat Dec 10 16:17:27 2022 X-Original-To: bugs@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 4NTtMW6fHDz4jZX0 for ; Sat, 10 Dec 2022 16:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19: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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTtMW5G8Nz4bXc for ; Sat, 10 Dec 2022 16:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670689047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S9E/YrAhIyxIMhqm9BoWupxDbK/nbmWy62xoWAp1QTc=; b=RNQOohrNY73Mm1ZpTMNiqoN5LIbSftlDE9JUoDs9EKFrYUZZH5hoBCDVwEr6XKtzDc0Ond T7B1cugkl4AqbeHRXjPNbIihI2QkjbZ9BGKIrtCjyhUQ3AYSuX0p24KLotgvDFQvugSwsd hSr3hdYYEWd1s/h8N8mq1aEpdvBg5v03enFzUMX8dPqF0jO+lG4kVG4XAi/nIf3Q90tdRs 5DYlm3NoEnkDcp+HbIJjODE0f9qA/sCtwvHH9RSurem5PrZC2rdhTLbNYUehSjpxklTFd4 xL4hJ8bXZAc94h1JUxddGFbtqFGgVhPA0flasQ81QcEJTc5LQM+qHf9Qm8kovg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670689047; a=rsa-sha256; cv=none; b=GpKzx3RIr+qrhWoZFyU+63YYofT8QXUSMNc+EVi5DTK+nHpxvUozsvODWtD5D2280FO7eS fRNx0wezxEIYUyStPKsshzOAnJyLsUGEN1h8292IVj0SBLKTJHywJejzTqfxn9jvf5ba/P hto48lQgBzlnGrQV/3Atg5KcBxssEXMrM07EbGfEhXy/dTwM+fvWFI49aLkLJPATAiS0nB Fx9N+6zY/02qbxFBCHPWOAGJxYuqFg+Pylhs/hm6qtikS0pVEX+aRUwKzqCuamQ+yNx9Dm pJQytuFXm/xgwx8pLFEBM6n84NbZKsjXK/VWID50UwHgx9dTTobO4PU+BEJ+7w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NTtMW4FDWzMsB for ; Sat, 10 Dec 2022 16:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BAGHRC9022610 for ; Sat, 10 Dec 2022 16:17:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BAGHRJC022609 for bugs@FreeBSD.org; Sat, 10 Dec 2022 16:17:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 268299] PORTSDIR variable not being read from /etc/make.conf when building kernel. Date: Sat, 10 Dec 2022 16:17:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@aetern.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268299 --- Comment #1 from Yuri --- Created attachment 238693 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238693&action= =3Dedit kern.post.mk change to properly expand PORTSDIR There was similar discussion on current@ recently with a suggestion of putt= ing PORTSDIR to /etc/src{,-env}.conf which did not work for me. Looks like the expansion does not happen properly (for me, at least) in kern.post.mk and the attached patch (note, it's against main) seems to help with PORTSDIR specified in one of /etc/{make,src,src-env}.conf files or in environment. --=20 You are receiving this mail because: You are the assignee for the bug.=