Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522296 - dev-java/icedtea-bin needs media-libs/lcms:2 as RDEPEND
Summary: dev-java/icedtea-bin needs media-libs/lcms:2 as RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-07 10:15 UTC by Agostino Sarubbo
Modified: 2015-05-10 21:04 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-09-07 10:15:45 UTC
I just see this:

!!! existing preserved libs:
>>> package: media-libs/lcms-2.5
 *  - /usr/lib64/liblcms2.so.2
 *  - /usr/lib64/liblcms2.so.2.0.5
 *      used by /opt/icedtea-bin-6.1.13.3/jre/lib/amd64/liblcms.so (dev-java/icedtea-bin-6.1.13.3-r3)
Comment 1 aditsu 2014-10-16 08:16:35 UTC
I think I'm having a related problem.
I have no preserved libs at the moment and revdep-rebuild says everything is fine, but I'm getting crashes from jpeg image reader code:

Caused by: java.lang.UnsatisfiedLinkError: /opt/icedtea-bin-6.1.13.3/jre/lib/amd64/liblcms.so: liblcms2.so.2: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
...
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:778)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(JPEGImageReader.java:651)
...


# emerge -pqv icedtea-bin
[ebuild   R   ] dev-java/icedtea-bin-6.1.13.3-r3  USE="cjk -X -alsa -cups -doc -examples -nsplugin (-selinux) -source -webstart"


After installing lcms:2 and restarting the java program, the problem seems to be fixed.
Comment 2 Andrew John Hughes 2014-10-16 19:33:02 UTC
I don't know why this has been assigned to me when I have nothing to do with icedtea-bin, but:

1. Yes, lcms-2 is missing from the icedtea-bin spec file for 1.13.3. It's been a requirement with the default configuration since 1.13.0.
2. I strongly recommend upgrading to 1.13.5 anyway (available in java-overlay https://bugs.gentoo.org/show_bug.cgi?id=522296) as 1.13.3 has numerous security issues (see release notes for 1.13.4 [0] and 1.13.5 [1] for details)

[0] http://bitly.com/it1134
[1] http://bitly.com/it11305
Comment 3 Andrew John Hughes 2014-10-16 19:33:58 UTC
I don't know why this has been assigned to me when I have nothing to do with icedtea-bin, but:

1. Yes, lcms-2 is missing from the icedtea-bin spec file for 1.13.3. It's been a requirement with the default configuration since 1.13.0.
2. I strongly recommend upgrading to 1.13.5 anyway (available in java-overlay git://git.overlays.gentoo.org/proj/java.git) as 1.13.3 has numerous security issues (see release notes for 1.13.4 [0] and 1.13.5 [1] for details)

[0] http://bitly.com/it1134
[1] http://bitly.com/it11305
Comment 4 James Le Cuirot gentoo-dev 2015-05-10 21:04:19 UTC
This was fixed ages ago.