Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2020 10:44:42 +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@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 250335
           Summary: ports-mgmt/portmaster: tries to build devel/git@lite
                    even if devel/git@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@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
                CC: garga@FreeBSD.org, se@FreeBSD.org
                CC: garga@FreeBSD.org, se@FreeBSD.org

Scenario:
- FreeBSD 12.1
- Ports at head
- devel/git is installed
- all other dependencies for java/eclipse are installed (note that java/ecl=
ipse
depends on devel/git@lite)
- execute "portmaster java/eclipse"

Result:
- portmaster tries to build and install devel/git@lite and java/eclipse
- Not unexpectedly, this fails with

----------------------------------- snip -----------------------------------
...
=3D=3D=3D>>> eclipse-4.16 >> devel/git@lite (1/1)

=3D=3D=3D>  Installing for git-lite-2.28.0
=3D=3D=3D>  Checking if git-lite is already installed
=3D=3D=3D>   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

=3D=3D=3D>>> Installation of git-lite-2.28.0 (devel/git@lite) failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for devel/git@lite failed
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> java/eclipse devel/git@lite=20

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@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 flav=
ors
should install into different locations. It does not seem that flavors are
intended to distinguish between different default port options as done in t=
hat
port.

-- Martin

--=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>