Date: Thu, 26 Dec 2024 10:47:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283098] Mk/bsd.port.mk: stop ports from finding the ports tree's git repository Message-ID: <bug-283098-7788-xTynSHFD1o@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283098-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-283098-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283098 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Ddeb79782a9b87c64d06441e4bf67e46= bf19c45c3 commit deb79782a9b87c64d06441e4bf67e46bf19c45c3 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2024-11-30 13:35:18 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-12-26 10:46:28 +0000 Mk/bsd.port.mk: stop ports from finding the ports tree's git repository When building from source, the ports tree is by default a parent directory of WRKDIR. When ports try to use git to find the git commit they are built from, they'll some times find the port's git repository and produce bogus metadata. Set GIT_CEILING_DIRS in WRK_ENV to ensure that git does not escape WRK_ENV trying to look for a git repository that doesn't exist. This doesn't affect Poudriere builds as for these, WRKDIR is by default not a subdirectory of the ports tree, and neither is git installed in builder jails unless explicitly needed. As a result, bugs of this kind tend to go unnoticed by maintainers, but do affect source builders. Approved by: portmgr (mat) Exp-run by: antoine PR: 283098 Differential Revision: https://reviews.freebsd.org/D47850 Mk/bsd.port.mk | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283098-7788-xTynSHFD1o>