Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-java@g.o
From: "W. Trevor King" <wking@...>
Subject: Depending on dev-java/icedtea-bin[X]
Date: Tue, 06 Mar 2012 10:11:01 -0500
Hi folks,

I've got an ebuild that can install HDFView [1], which needs an X
interface.  My package depends on java via `virtual/jre` and
`virtual/jdk`, which eventually result in pulling in
`dev-java/icedtea-bin`.  However, I do not have the `X` USE flag
enabled globally on my system, so icedtea-bin does not pull in
`x11-libs/libXtst`, which leads to:

  Exception in thread "main" java.lang.UnsatisfiedLinkError:
    /opt/icedtea6-bin-1.10.4/jre/lib/i386/xawt/ cannot open shared object file:
  No such file or directory
          at java.awt.Component.<clinit>(
  Could not find the main class: ncsa.hdf.view.HDFView. Program will exit.

I could add something like:

  hdfview? ( dev-java/icedtea-bin[X] )

to my dependencies, but that would make life difficult for users who
use other Java implementations.  It seems to me that the virtual Java
packages should expose the union of USE flags from the underlying
implementations, but perhaps I am just missing something.

So, what's the best way to fix this?


This email may be signed or encrypted with GnuPG (
For more information, see
signature.asc (OpenPGP digital signature)
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Build from source and Maven project model
Previous by date:
Build from source and Maven project model

Updated Mar 06, 2012

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.