Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584738 - dev-java/icedtea-bin-3.0.1 missing dependency to x11-libs/libXcomposite
Summary: dev-java/icedtea-bin-3.0.1 missing dependency to x11-libs/libXcomposite
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Depends on:
Reported: 2016-06-01 10:14 UTC by j.habenicht
Modified: 2016-06-03 20:30 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description j.habenicht 2016-06-01 10:14:12 UTC
dev-java/icedtea-bin-3.0.1 seems to miss a dependency to x11-libs/libXcomposite.

I upgraded from dev-java/icedtea-bin- to -3.0.1, and removed the superfluous packages with "emerge -c". This removed dev-java/icedtea-bin- and x11-libs/libXcomposite-0.4.4-r1.

Then a message for a still used library appeared 
 *  - /usr/lib64/
 *  - /usr/lib64/
 *      used by /opt/icedtea-bin-3.0.1/jre/lib/amd64/ (dev-java/icedtea-bin-3.0.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

I did as expected, which reemerged dev-java/icedtea-bin-3.0.1, and the message reappeared.

I was able to workaround this specifying USE=headless-awt and reemerge.

Reproducible: Didn't try

Steps to Reproduce:
1. install =dev-java/icedtea-bin-, x11-libs/libXcomposite should be installed alongside (haven't tested the last one though)
2. upgrade to =dev-java/icedtea-bin-3.0.1
3. deinstall x11-libs/libXcomposite and =dev-java/icedtea-bin-
4. see message:
!!! existing preserved libs:
>>> package: x11-libs/libXcomposite-0.4.4-r1
 *  - /usr/lib64/
 *  - /usr/lib64/
 *      used by /opt/icedtea-bin-3.0.1/jre/lib/amd64/ (dev-java/icedtea-bin-3.0.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

5. reinstall dev-java/icedtea-bin with emerge @preserved-rebuild
6. see message again.

emerge dev-java/icedtea-bin with use=headless-awt did remove the link dependency on x11-libs/libXcomposite.

This patch could help:
--- /usr/portage/dev-java/icedtea-bin/icedtea-bin-3.0.1.ebuild  2016-05-17 23:36:46.000000000 +0200
+++ ./icedtea-bin-3.0.1.ebuild  2016-06-01 12:12:17.532727209 +0200
@@ -48,6 +48,7 @@
+               >=x11-libs/libXcomposite-0.4
Comment 1 James Le Cuirot gentoo-dev 2016-06-03 20:30:19 UTC
Hmm I did go through these very careful a while back. This one must be new. I'll fix it on the next upstream release, which will probably be quite soon now.