From owner-freebsd-ports-bugs@freebsd.org Wed May 5 14:58:43 2021 Return-Path: Delivered-To: freebsd-ports-bugs@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 8A89F5F9A3E for ; Wed, 5 May 2021 14:58:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fb0GC3GcJz4RPj for ; Wed, 5 May 2021 14:58:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 703EF5F995C; Wed, 5 May 2021 14:58:43 +0000 (UTC) Delivered-To: ports-bugs@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 700695F9C01 for ; Wed, 5 May 2021 14:58:43 +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 4Fb0GC2fjbz4RRc for ; Wed, 5 May 2021 14:58:43 +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 4ECAC26F35 for ; Wed, 5 May 2021 14:58:43 +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 145EwhmM046900 for ; Wed, 5 May 2021 14:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 145Ewh5D046899 for ports-bugs@FreeBSD.org; Wed, 5 May 2021 14:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250335] ports-mgmt/portmaster: tries to build devel/git@lite even if devel/git@default is already installed Date: Wed, 05 May 2021 14:58:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2021 14:58:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250335 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Resolution|FIXED |--- --- Comment #8 from Stefan E=C3=9Fer --- I guess I see what's going on: normally the conflict is due to a different = port providing the same functionality (e.g. the different samba4xx ports). Here the conflict is due to the FLAVOR, and the match from package name to = the FLAVOR that leads to some package name prefix cannot easily be queried from= the port. (I.e. there is no mechanism that lets me identify FLAVOR=3Dlite as the condition for the git-lite package name, it is not correct to assume that t= he flavor is generally the last part of a package name, for example.) A possible fix could be to look for a conflicting port with the same origin (port directory) registered in the package database. It could then be assum= ed that the conflicting port already satisfies the dependency requirement (whi= ch may or may not be true - and there is no heuristic that I can think of that might always give a reasonable answer to this question). I have been working on a portmaster rewrite for quite some time, and the new implementation will be able to deal with this issue. Therefore I do not wan= t to spend a lot of effort trying to get it fixed in this portmaster implementat= ion - it would only take time away from the re-implementation project. --=20 You are receiving this mail because: You are the assignee for the bug.=