From nobody Fri Aug 26 09:04:21 2022 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 4MDYmk0Gjtz4Zf3K for ; Fri, 26 Aug 2022 09:04:22 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MDYmj6MPvz3nbf for ; Fri, 26 Aug 2022 09:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MDYmj5KfXzLxr for ; Fri, 26 Aug 2022 09:04:21 +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 27Q94LLJ078761 for ; Fri, 26 Aug 2022 09:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27Q94Lxe078760 for ports-bugs@FreeBSD.org; Fri, 26 Aug 2022 09:04:21 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 213890] Mk/bsd.port.mk: CONFLICTS_INSTALL also blocks targets other than "install" Date: Fri, 26 Aug 2022 09:04:21 +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: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661504661; 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=j2GzN/Hjt1jriHG42BQBKfKA0JVZy4T1Svm4YC8YX0c=; b=PXiDifl2wM5UnPyO4XnMKGdLtxPAarN6U/QejJrIpXipWYvLMUjdb2iPNDNxqKfpKbSyIM Vghfsn9WWdGbqogW2BH4GTW3IEGq3gjRWuZ2dZCw7XSOzL5CCI2IKNgaqWO5yTz8gtBObZ nUqJUCxIJUzO7q/4iVqa/WETlWLWUruMDGlPD/DytB789+zrTTPJBiCsB+B9QXFPf6AUuH 7sTYQsUF4KzE8Ytn9aGfAasHKQjTMz7Oaju9k+ZOA1+OQa4uDqeeivxQdm0DtRYsSvDJkh /3H8acLUoSvCkYh6mhYPIBy7df/z4Yrx7ifg5f1Xz53CwEae2jasvsLadnTQ2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661504661; a=rsa-sha256; cv=none; b=tsmHapRihk1dC4nqIFidb4qKZL926imdC891nRxX3YSfX9NU9Bsib5+yuVLut7cZql2UXK zofR3linzxzVQ3OHkHctAcxnDInTDTvIBzgfqPkCJXHpsMFV+TssvUNYqUXw7pvq7lcuXa jce0ldcETMVgcZUgAYwVOhrTYkgHynQVxEsmTk2YnTH8Y50zs+ly1yqJlT5NIU4HYlNh3o CIDy5splHkxankYONVg0+xOZ4LoxZo8YySXTtQcuoXN2T3amBgvMnl9IeXJxno8YRECkYZ g70v0QORxP5AxYxFilR0+CYgfkmNNR+t93VJuhR7pqPq+b/a7L/uZVLWszV7Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213890 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dacf5d2725a4e221a2aceb44297e151d= c3902735d commit acf5d2725a4e221a2aceb44297e151dc3902735d Author: Baptiste Daroussin AuthorDate: 2022-08-26 08:52:51 +0000 Commit: Baptiste Daroussin CommitDate: 2022-08-26 09:03:31 +0000 CONFLICTS_INSTALL: check later for conflicts Until now, the check of the CONFLICTS_INSTALL was done during the sanity check, meaning very early in the package building process. this makes it painful in 2 cases: 1. a port depend at build time on the extraction of this port, it will print its warning message along with the default timer, while we will never reach the said conflict at all. 2. since the ports tree has been staged, one can even go up to create a valid package even if a locally conflicting package is locally installed. This change make the check and print of the conflicts only happen during the install phase, the same way the ports tree checks if a previous version= is already installed. PR: 213890 Discussed with: tcberner Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D36355 Mk/bsd.port.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=