From nobody Tue Sep 19 02:00:36 2023
X-Original-To: ports-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 4RqPyD3MJGz4t7Fp
	for <ports-bugs@mlmmj.nyi.freebsd.org>; Tue, 19 Sep 2023 02:00:36 +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 4RqPyD1fMqz4DxT
	for <ports-bugs@FreeBSD.org>; Tue, 19 Sep 2023 02:00:36 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695088836; a=rsa-sha256; cv=none;
	b=yavfsKnAKCK4HrkLCdRbqmHCb88tz4OuZilPMyQPOGNGiFYi6uE/WhmOBXi8ucK2/TtTvy
	3YknHFHySrYNVa/9syR55+b6qbaG1s+EWVgDi4ldkYs+OCKiHayg2A/3Sn4oCdvIWxdGLj
	4Xt8zqI96T2opqpljYwKWtvkIf8j+G4M1hjM8e/0AAn98+2KNWO15z2MSxGAHFUQ47+9/K
	6k8+R7RFMJsK+WcdrDfj/Kz+MlGjHTX+vbJmPzZGQ9V87pzBjjk68R2hKbG7b00fW/33TH
	A1E9ySCzU1Kc7sR9zUFqn/6GoXe3lnH9AvH2DCbj4FNglCLqPIGEGznY+t2YAQ==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1695088836;
	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;
	bh=lRmjXMBPsVhM/DW5uEWO4lzqBF4KTiHLnOIGx6I7t5I=;
	b=WDNWEqKR9mFur4M0ZeOYhCw4rz+gSPeV7D2U/To00CC82cqG7pC38yv79m0ZKxpbXT5xf+
	2k+wSiFIGDof3IOtgepEiv3H2ICo025Sx3s+6OIkyKyIqAHBIVzwF9+tCfFTQfaI0rNdoi
	TP5j8X4uO8WVMA9hINMaN1v+nMWzDN7g2+oe8gQNFtrMT3aIwmtx7DNUStzwOuYjjCD4Ue
	MlBQJDUyOaFij5u2Y0f1dB+LyUZmkegFf0KKFNHxFKJ/bCxfw6fTO/+i06lIu/4z0zCeax
	SIwWAchIjHL2fEUXc4hArBvUcmXECh2tczbMO1g8XLzve6w8e4spAHov9sfxKA==
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 4RqPyD0lrZzvTK
	for <ports-bugs@FreeBSD.org>; Tue, 19 Sep 2023 02:00:36 +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 38J20aiC049491
	for <ports-bugs@FreeBSD.org>; Tue, 19 Sep 2023 02:00:36 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38J20aub049490
	for ports-bugs@FreeBSD.org; Tue, 19 Sep 2023 02:00:36 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: ports-bugs@FreeBSD.org
Subject: [Bug 273938] Environment leakage causes build failures in some ports
Date: Tue, 19 Sep 2023 02:00:36 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Ports Framework
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: grog@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: portmgr@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter cc
Message-ID: <bug-273938-7788@https.bugs.freebsd.org/bugzilla/>
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: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs
List-Help: <mailto:ports-bugs+help@freebsd.org>
List-Post: <mailto:ports-bugs@freebsd.org>
List-Subscribe: <mailto:ports-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:ports-bugs+unsubscribe@freebsd.org>
Sender: owner-freebsd-ports-bugs@freebsd.org
X-BeenThere: freebsd-ports-bugs@freebsd.org
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273938

            Bug ID: 273938
           Summary: Environment leakage causes build failures in some
                    ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: grog@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

This bug report is a follow-up on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273490.  In that case,
tex-wb2c failed to build due to something (presumably a variable) inherited
from the environment.  The workaround was to remove all environment and sta=
rt a
new shell:

  $ env -i HOME=3D"$HOME" bash --norc

This is clearly not an isolated case, and finding the variable in question =
is
difficult (I still haven't found mine).  But it should be possible to remove
the environment at the start of the build.  This would affect the deliberate
passing of variables to the build, so it needs some consideration.  This re=
port
is intended as a place holder during discussion.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=