Date: Fri, 10 Oct 2025 07:17:42 +0000 From: bugzilla-noreply@freebsd.org To: pkgbase@FreeBSD.org Subject: [Bug 290010] stable/15 make packages TARGET failure due to etcupdate.8.gz missing Message-ID: <bug-290010-36141-OlAeHiWGME@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-290010-36141@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290010 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=182eef99ee7ba237f7f302ac4a2cda7b9babac23 commit 182eef99ee7ba237f7f302ac4a2cda7b9babac23 Author: Lexi Winter <ivy@FreeBSD.org> AuthorDate: 2025-10-08 03:22:32 +0000 Commit: Lexi Winter <ivy@FreeBSD.org> CommitDate: 2025-10-10 06:15:56 +0000 Makefile: Force DISTDIR=/ for (update-)packages The make(1) variable DISTDIR is used by both ports and src with a different meaning. Some users may set DISTDIR in /etc/make.conf for ports, which previously worked fine when building src since the src targets which used this variable were not very commonly used (mainly, make distributeworld). Unfortunately, with pkgbase becoming the default, this is no longer true since make (update-)packages invokes make stageworld, which is sensitive to DISTDIR, and these users find that their build now fails. A correct fix for this probably requires renaming one or both of the DISTDIR variables, but for now, work around the problem by setting DISTDIR=/ for the user-facing pkgbase targets, packages and update-package. Since setting DISTDIR doesn't work for these targets anyway, this should not break any existing configurations. MFC after: 1 week PR: 290010 Reported by: Oleh Vinichenko <moonlapse81@gmail.com> Reviewed by: imp, bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52929 (cherry picked from commit f7dc7d7af3683836fcca68018a678b242d2e2620) Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290010-36141-OlAeHiWGME>
