[Bug 204989] java/openjsk8: jps in openjdk8 or javavmwrapper conflicts with sysutils/jps in /usr/local/bin/jps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 3 09:56:15 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204989

            Bug ID: 204989
           Summary: java/openjsk8: jps in openjdk8 or javavmwrapper
                    conflicts with sysutils/jps in /usr/local/bin/jps
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dch at skunkwerks.at
                CC: pavel at ext.by
                CC: pavel at ext.by
             Flags: maintainer-feedback?(pavel at ext.by)

openjdk8 (or possibly javavmwrapper) has a softlinked /usr/local/bin/jps to
/usr/local/bin/javavm which appears to be unknown to pkg:

❯sudo pkg install -y openjdk8-8.60.24 ....

❯pkg which /usr/local/bin/jps
/usr/local/bin/jps was not found in the database

❯which jps
/usr/local/bin/jps

❯l /usr/local/bin/jps
lrwxr-xr-x  1 root  wheel    21B Dec  3 09:46 /usr/local/bin/jps@ ->
/usr/local/bin/javavm

This conflicts when installing sysutils/jps.

BTW should pkg complain when it overwrites an existing file silently, even if
it's not somehow in the pkg database? This is actually what happened that
caused me to dig into this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list