From owner-freebsd-ports@freebsd.org Fri Nov 6 01:09:24 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45AAF2D6F86 for ; Fri, 6 Nov 2020 01:09:24 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CS2NM6xWPz3v4s for ; Fri, 6 Nov 2020 01:09:23 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: by mailman.nyi.freebsd.org (Postfix) id EDFB72D6E21; Fri, 6 Nov 2020 01:09:23 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDAF52D6F83; Fri, 6 Nov 2020 01:09:23 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CS2NM5j8Tz3v4r; Fri, 6 Nov 2020 01:09:23 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 838E68D4A156; Fri, 6 Nov 2020 01:09:14 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 128F5E707BF; Fri, 6 Nov 2020 01:09:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id SSkY55RAQSJL; Fri, 6 Nov 2020 01:09:12 +0000 (UTC) Received: from [169.254.148.91] (unknown [IPv6:fde9:577b:c1a9:4902:901c:6b73:9be:45e7]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id DADE3E707BC; Fri, 6 Nov 2020 01:09:12 +0000 (UTC) From: "Bjoern A. Zeeb" To: "John-Mark Gurney" Cc: current@FreeBSD.org, ports@FreeBSD.org, imp@freebsd.org Subject: Re: DISTDIR name collision... Date: Fri, 06 Nov 2020 01:09:11 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <7879A42C-460E-4AD3-8C45-BCABB9B8C38A@lists.zabbadoz.net> In-Reply-To: <20201106001347.GY31099@funkthat.com> References: <20201106001347.GY31099@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 4CS2NM5j8Tz3v4r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 01:09:24 -0000 On 6 Nov 2020, at 0:13, John-Mark Gurney wrote: > I just discovered that we have a variable name colission between the > FreeBSD base repo, and the ports tree. DISTDIR is used by the ports > repo for: > # DISTDIR - Where to search for and store copies of original > sources > > But DISTDIR is also used by FreeBSD base for (from bsd.own.mk): > # DISTDIR Change the tree where the file for a distribution > # gets installed (see /usr/src/release/Makefile). [not > set] > > except that it doesn't just get used in release/Makefile, it's used in > the base Makefile.inc1 for a number of things that I'm not entirely > sure > what it's for. > > Can someone figure out what we should do in this case? > > This was discovered because ezjail-admin sets DISTDIR for ports, but > it > was breaking my -DNO_ROOT installworld by putting the METALOG in an > incorrectly documented place (since fixed)... See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232293