[Bug 250335] ports-mgmt/portmaster: tries to build devel/git at lite even if devel/git at default is already installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 14 10:44:43 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250335
Bug ID: 250335
Summary: ports-mgmt/portmaster: tries to build devel/git at lite
even if devel/git at default is already installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: d8zNeCFG at aon.at
CC: garga at FreeBSD.org, se at FreeBSD.org
CC: garga at FreeBSD.org, se at FreeBSD.org
Scenario:
- FreeBSD 12.1
- Ports at head
- devel/git is installed
- all other dependencies for java/eclipse are installed (note that java/eclipse
depends on devel/git at lite)
- execute "portmaster java/eclipse"
Result:
- portmaster tries to build and install devel/git at lite and java/eclipse
- Not unexpectedly, this fails with
----------------------------------- snip -----------------------------------
...
===>>> eclipse-4.16 >> devel/git at lite (1/1)
===> Installing for git-lite-2.28.0
===> Checking if git-lite is already installed
===> Registering installation for git-lite-2.28.0 as automatic
Installing git-lite-2.28.0...
pkg-static: git-lite-2.28.0 conflicts with git-2.28.0 (installs files into the
same place). Problematic file: /usr/local/bin/git
*** Error code 70
Stop.
make[1]: stopped in /a/SRC/FreeBSD-ports/head/devel/git
*** Error code 1
Stop.
make: stopped in /a/SRC/FreeBSD-ports/head/devel/git
===>>> Installation of git-lite-2.28.0 (devel/git at lite) failed
===>>> Aborting update
===>>> Update for devel/git at lite failed
===>>> Aborting update
===>>> You can restart from the point of failure with this command line:
portmaster <flags> java/eclipse devel/git at lite
This command has been saved to ~/portmasterfail.txt
----------------------------------- snip -----------------------------------
Expected result:
- portmaster detects that devel/git is already installed and compiles
java/eclipse without building devel/git at lite first.
Note:
- This might also be a problem in the way flavors are used in the devel/git
port. It does not seem they are used quite correctly because different flavors
should install into different locations. It does not seem that flavors are
intended to distinguish between different default port options as done in that
port.
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list