Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2021 14:58:43 +0000
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
Message-ID:  <bug-250335-7788-ITPyIH2lDk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250335-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250335-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250335

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Closed                      |Open
         Resolution|FIXED                       |---

--- Comment #8 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250335-7788-ITPyIH2lDk>