Bug 247786 - devel/ghidra and/or java/something: Missing dependency on x11-fonts/xorg-fonts-truetype/
Summary: devel/ghidra and/or java/something: Missing dependency on x11-fonts/xorg-font...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2020-07-05 17:39 UTC by Poul-Henning Kamp
Modified: 2020-07-11 17:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sghctoma)
koobs: maintainer-feedback? (glewis)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Poul-Henning Kamp freebsd_committer 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 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 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 2020-07-09 02:10:33 UTC
Perfect.  Thank you.
Comment 4 commit-hook freebsd_committer 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