From nobody Thu Dec 26 10:47:38 2024 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 4YJlhB4BnJz5hgtD for ; Thu, 26 Dec 2024 10:47:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YJlhB0ZlBz47LK for ; Thu, 26 Dec 2024 10:47:38 +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=1735210058; 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=JgQnx2PUF57Fq6N9xaB8oQ4YpUZJONJzA4plRi7cOz0=; b=CQB9Q63nhqQbZZr7KfsYn3oYf+nlkUUodeBMXhq5yPf/lci1vTTXvVFGvYp9eoXgTUIEzY sUrk34kLdetm4ExeZ8rTGmL5qcYhfmvAEHnD99RlCnP2VJOXfUVEaCQaA/WorPI7JjqS2e 5DEulRtK70zc1DC25tz+114jSyQoPb2avlzpROkYx/BQLz6XOmrnyVHrP2OemXXEJGDA+C ZKvDxdEEs4k2QsBIT4H+lqm39QBborOUqcQfymu1hZXmtMPjaKZ0KmWBOaw/QhpU7Nz3lR 3iLmx5CvUhmROZcNaU+TG0r3UFlTHGSCikk5x+ZTNdjWPD1imRlwbvykk9NhGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735210058; a=rsa-sha256; cv=none; b=xz8QMgIbk1VVTVpORyPp+SE6EN47asztcxHamPs7ppIITVZYjcS/FrGpxTuuOw+ah8IDqs qC1glDiNwGrMsgND6kLsw5Fq5kyNvipIgsxZv5agoUWOYbDlBHJfOv5LJDxYyaMCYk063X es5wIMP3goVde5vPk+OnKDPfAQy8dWdM0j77s3CDVOmrJPX/HR1xSYe5WjgzKOkmDZaSSD 1h5WqopmP9qHZyP9NuG0SQ+fs3J8lSlvj+Hd2nxy1B/aULQWLmEKe44/pZIVjm46hCm0zU AzAuz3FXmjmBMlG9/G89EQ37hFqKYUhfl6IDfvT3vJXaNS9TtVr6lvN7kuLJEQ== 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 4YJlh96MVhzrSR for ; Thu, 26 Dec 2024 10:47:37 +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 4BQAlbWD054672 for ; Thu, 26 Dec 2024 10:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BQAlbFO054671 for ports-bugs@FreeBSD.org; Thu, 26 Dec 2024 10:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 26 Dec 2024 10:47:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fuz@FreeBSD.org X-Bugzilla-Flags: exp-run+ X-Bugzilla-Changed-Fields: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 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 AuthorDate: 2024-11-30 13:35:18 +0000 Commit: Robert Clausecker 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.=