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
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 10:14 UTC by j.habenicht
Modified: 2024-02-22 15:30 UTC (History)
2 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 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-7.2.6.6-r1 to -3.0.1, and removed the superfluous packages with "emerge -c". This removed dev-java/icedtea-bin-7.2.6.6-r1 and x11-libs/libXcomposite-0.4.4-r1.

Then a message for a still used library appeared 
 *  - /usr/lib64/libXcomposite.so.1
 *  - /usr/lib64/libXcomposite.so.1.0.0
 *      used by /opt/icedtea-bin-3.0.1/jre/lib/amd64/libawt_xawt.so (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-7.2.6.6-r1, 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-7.2.6.6-r1
4. see message:
!!! existing preserved libs:
>>> package: x11-libs/libXcomposite-0.4.4-r1
 *  - /usr/lib64/libXcomposite.so.1
 *  - /usr/lib64/libXcomposite.so.1.0.0
 *      used by /opt/icedtea-bin-3.0.1/jre/lib/amd64/libawt_xawt.so (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.




Workaround:
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 @@
                >=media-libs/giflib-4.1.6-r1
                media-libs/libpng:0/16
                >=x11-libs/libX11-1.6
+               >=x11-libs/libXcomposite-0.4
                >=x11-libs/libXext-1.3
                >=x11-libs/libXi-1.7
                >=x11-libs/libXrender-0.9.8
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.
Comment 2 Volkmar W. Pogatzki 2024-02-22 15:30:24 UTC
Version 3.0.1 is gone. Closing.