ArchiveOrangemail archive

Gentoo Linux mail


gentoo-java.gentoo.org
(List home) (Recent threads) (64 other Gentoo lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • This list contains about 121 messages, beginning Jun 2009
  • This list doesn't seem to be active
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

Depending on dev-java/icedtea-bin[X]

Ad
W. Trevor King 1331047149Tue, 06 Mar 2012 15:19:09 +0000 (UTC)
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/libmawt.so:
      libXtst.so.6: cannot open shared object file:
  No such file or directory
          ...
          at java.awt.Component.<clinit>(Component.java:582)
  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?

Thanks,
Trevor
Vlastimil Babka 1341666826Sat, 07 Jul 2012 13:13:46 +0000 (UTC)
Hi,On 03/06/2012 04:11 PM, W. Trevor King wrote:
>  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?Yes that would be the ideal solution. There's bug
https://bugs.gentoo.org/show_bug.cgi?id=29178... for it, but nobody
implemented that yet...

V.B.
W. Trevor King 1341774891Sun, 08 Jul 2012 19:14:51 +0000 (UTC)
Vlastimil,

Thanks for getting back to me.On Sat, Jul 07, 2012 at 03:13:17PM +0200, Vlastimil Babka wrote:
> On 03/06/2012 04:11 PM, W. Trevor King wrote:
> > 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?
> 
> Yes that would be the ideal solution. There's bug
> https://bugs.gentoo.org/show_bug.cgi?id=29178... for it, but nobody
> implemented that yet...Thanks for the pointer.  I just posted a rough draft patch to that
issue.  I see you reported that bug, so I'm not sure if you're in a
possition to do anything about fixing it, but perhaps you can look
over the patch and see if it's what you had in mind?

Cheers,
Trevor
Home | About | Privacy