Bug 674153

Summary: openjdk.i686 (and maybe x86_64) needs to depend on fontconfig
Product: [Fedora] Fedora Reporter: Bobby Powers <bobbypowers>
Component: java-1.6.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: ahughes, dbhole, jvanek, langel, lkundrak, mjw, mmatejov, omajid, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-14 09:18:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bobby Powers 2011-01-31 19:25:06 UTC
Description of problem:
I needed to run something under a 32-bit jvm:
$ sudo yum install java-1.6.0-openjdk.i686
got a stack trace like https://bugzilla.redhat.com/show_bug.cgi?id=644620 , but fonts were installed (I had just installed them a few moments prior).
looking through 
$ rpm -qa | sort
showed that I had a 64-bit fontconfig but not a 32-bit version installed:
$ sudo yum install fontconfig.i686
problem solved.

I would suggest adding a
Requires: fontconfig
openjdk already pulls in a ton of x11 deps, and fontconfig only pulled in 1 other dep, so I don't think it would pull in a lot more bloat than it already has for the headless case.

Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-1.6.0.0-50.1.9.4.fc14.i686
java-1.6.0-openjdk-1.6.0.0-50.1.9.4.fc14.x86_64


How reproducible:
always

Steps to Reproduce:
see above 
  
Actual results:


Expected results:


Additional info:

Comment 1 jiri vanek 2011-02-01 09:17:25 UTC
I suppose, that add fontconfig dependence is good idea. At least it is nearly always already in user's system. It will very probably also solve 644620

Comment 2 Bobby Powers 2011-02-01 17:28:18 UTC
After installing java-1.6.0-openjdk and -devel on the minimal f14 install, I still had to install some fonts (used the liberation ones), so I don't think it will solve #644620 on its own.

Comment 3 Orion Poplawski 2011-04-20 22:36:40 UTC
I needed to add fontconfig to my apache-poi build to actually get java to use the fonts I request to be installed (liberation).  Not sure if the fonts or java should pull in fontconfig, but it seems something should.

Comment 4 jiri vanek 2011-06-14 09:18:35 UTC

*** This bug has been marked as a duplicate of bug 708201 ***