Bug 674153 - openjdk.i686 (and maybe x86_64) needs to depend on fontconfig
Summary: openjdk.i686 (and maybe x86_64) needs to depend on fontconfig
Keywords:
Status: CLOSED DUPLICATE of bug 708201
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-31 19:25 UTC by Bobby Powers
Modified: 2011-06-14 09:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-14 09:18:35 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.