Bug 247786

Summary: devel/ghidra and/or java/something: Missing dependency on x11-fonts/xorg-fonts-truetype/
Product: Ports & Packages Reporter: Poul-Henning Kamp <phk>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: glewis, sghctoma
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (sghctoma)
koobs: maintainer-feedback? (glewis)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   

Description Poul-Henning Kamp freebsd_committer freebsd_triage 2020-07-05 17:39:13 UTC
Being of a parnoid sort, I installed a VM to run Ghidra.

Planning to run "ssh -Y" into the VM, I did `pkg install xauth ghidra`.

When Ghidra was started, the java process went into a CPU-spin trying in vain to find fonts to its liking.

Installing xorg-fonts-truetype solved that.

It is not obvious to me if the missing dependency to should be added to the ghidra or the java VM port, but I suspect the latter.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2020-07-08 21:22:56 UTC
I think this is mostly likely a runtime dependency for the openjdk ports.  Poul-Henning, do you happen to know what version of openjdk was installed?  I'm guessing openjdk8.
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 2020-07-08 21:45:58 UTC
Seems to be `openjdk11-11.0.6+10.1_1`

It's whatever I got with 'pkg install ghidra' on a fresh 12.1-RELEASE
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2020-07-09 02:10:33 UTC
Perfect.  Thank you.
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-07-09 02:33:48 UTC
A commit references this bug:

Author: glewis
Date: Thu Jul  9 02:33:05 UTC 2020
New revision: 541730
URL: https://svnweb.freebsd.org/changeset/ports/541730

Log:
  Add a runtime dependency on xorg-fonts-truetype

  PR:		247786
  Reported by:	phk@

Changes:
  head/java/openjdk11/Makefile