From nobody Fri Aug 22 20:46:32 2025 X-Original-To: dev-commits-src-all@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 4c7sfw2fldz64wRs; Fri, 22 Aug 2025 20:46:32 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c7sfw23v6z3D41; Fri, 22 Aug 2025 20:46:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755895592; 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=IpcXFd3A7B837A9CDF9D3fbG39SN2w3YGLacmXp9lKM=; b=BIiCAJ4Ot6rxwo8UjTBEG+Z3gDabNMCQ/1V/2nWhphZJ2wNrH98RVh9f8mNVyVco2nte1N QTtRxub58cN5Qexl2+Vrq/1116P5A73Xwde5dxunZWSBq6CBTpAOSTT/7cWQrXja8iIfCF jxfJOvsRaSfpBvLTGyA0EMx9aBaxzdigMWTTs/W5ixGi2vwg4Q96TJQu3u4gJJHoiX2mwL eta47e59FU6MwY2r2neBb3NLqxzD9ysptzKXVsq4y7NGJGcNrOZMgCqD7AVDieFVklPYcE mdyspiG0ys9uRtWHT63yPP5evjodj/Q3KjvnnlYEFuE7pJLt7OfzjQriWiDMrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755895592; 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=IpcXFd3A7B837A9CDF9D3fbG39SN2w3YGLacmXp9lKM=; b=OnkwkP3AVLIReQsc2tylfaYDWHIJtq/YyFbIknJghFqkfZIZR+sbaNys4g1G6P9bRh2acB N9v7UQEnFd26anvOoj/v7IJBgPbwRJv4wH+/i7u6K0iAb5zR5reH408EfrZ+CjrypDePnE ldRhtqkHaYO1F59++0SDviINhUH+3UPrLmopxaNP1d6mKS9N/PX7c0tzv1y8IMci12Stok WYjWWuBDwVBfv6/G/ifXLZIZB/S3Q6MQtMV+V7k37+oqkp1VWrV86f1NEQWjagkZqhS7zA pYPefNh1+ypYawrVypPG7VX4yHiinsNjJjNn92jiQJGwdNYPNqk+UbDjf6Gvww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755895592; a=rsa-sha256; cv=none; b=x1FchbZvYe8D5xy6IbAml/S4wtdX0Bso5BZF90mh8k2t7KmSkuuyDrS/JM5KvzYnLm8kF/ dEGMjnsRiTlEjo1V46O56jpJGoRxbgRFMb/vb+wD2266ftEAWSWcHuptiqIQUcl+DrIaVK i4zv5CFHfpgdAywt+x376SgyH6Cch2XMN5V9Gp2cIsOsXe0x6uFLCUynbqOKIIWCykBBay cBAmt5ckpW2ES3k1KHrLXgqG0TajLkQVp7pSATZgA3C/8iqYRnSbofzisox/5VqY09f9oW XZ4SPA/g2xZ2KZvKcfl+n810dSGfXUykbET1Tb0gAx8sMVJR7pc3ClwLuPk8sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4c7sfw1N4kz12HD; Fri, 22 Aug 2025 20:46:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57MKkWDl008757; Fri, 22 Aug 2025 20:46:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57MKkWQW008754; Fri, 22 Aug 2025 20:46:32 GMT (envelope-from git) Date: Fri, 22 Aug 2025 20:46:32 GMT Message-Id: <202508222046.57MKkWQW008754@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: e84374d38bc1 - main - Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e84374d38bc1690eb62de75874348b1cfa21ea93 Auto-Submitted: auto-generated The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=e84374d38bc1690eb62de75874348b1cfa21ea93 commit e84374d38bc1690eb62de75874348b1cfa21ea93 Author: Jessica Clarke AuthorDate: 2025-08-22 20:46:15 +0000 Commit: Jessica Clarke CommitDate: 2025-08-22 20:46:15 +0000 Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools Without this, we end up with just the host's tools in PATH during _lc_build-tools. In particular, sed on GNU/Linux systems will be GNU sed, whose -i option has different semantics, and this causes the lib32 build of ncurses to fail trying to create curses.h with: sed: can't read s|...|...|g: No such file or directory This has always been a bug in Makefile.libcompat but previously it didn't end up mattering; this is the first known case. Fixes: 1cc020eba69e ("ncurses: Provide reproducible paths") MFC after: 1 week --- Makefile.libcompat | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.libcompat b/Makefile.libcompat index d165bba341c8..e132a9f8442f 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -56,6 +56,7 @@ build${libcompat}: .PHONY -p ${WORLDTMP}/usr/lib/debug/usr >/dev/null .endif ${_+_}cd ${.CURDIR}; \ + PATH=${BPATH:Q}:${PATH:Q} \ WORLDTMP=${WORLDTMP} \ MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \ ${MAKE} -f Makefile.inc1 \