java-sun dep loops
Elan Ruusamäe
glen at pld-linux.org
Wed Dec 10 09:36:08 CET 2008
hmm. what to do here?
libmawt.so()(64bit) is provided by both packages,
so they don't actually depend on each other in loop
proves that i can uninstall java-sun-jre-X11 without java-sun-jre being pulled down too.
moving headless to x11 package isn't proper either, as it doesn't link with x11 libs
dropping provides likely not good either, as programs may link with it
(i have no samples to provide) and such deep library path makes it more suspicious anybody able to link with it at all
is there anything to change in rpm side?
like if self package provides dependency don't go looking it elsewhere?
or just add to dependency_whitehout this loop and be done with it?
error: LOOP:
error: removing java-sun-jre-X11-1.6.0.11-1.x86_64 "Requires: java-sun-jre = 1.6.0.11-1" from tsort relations.
error: java-sun-jre-X11-1.6.0.11-1.x86_64 Requires: java-sun-jre = 1.6.0.11-1
error: removing java-sun-jre-1.6.0.11-1.x86_64 "Requires(auto): libmawt.so()(64bit)" from tsort relations.
error: java-sun-jre-1.6.0.11-1.x86_64 Requires(auto): libmawt.so()(64bit)
error: LOOP:
error: removing java-sun-jre-X11-1.6.0.10-5.x86_64 "Requires(auto): libmawt.so()(64bit)" from tsort relations.
error: java-sun-jre-X11-1.6.0.10-5.x86_64 Requires(auto): libmawt.so()(64bit)
error: removing java-sun-jre-1.6.0.10-5.x86_64 "Requires: java-sun-jre = 1.6.0.10-5" from tsort relations.
error: java-sun-jre-1.6.0.10-5.x86_64 Requires: java-sun-jre = 1.6.0.10-5
Preparing... ########################################### [100%]
Repackaging...
$ ql java-sun-jre-X11 |grep libmawt.so
/usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/motif21/libmawt.so
/usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/xawt/libmawt.so
$ ql java-sun-jre |grep libmawt.so
/usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/headless/libmawt.so
$ rpm -q java-sun-jre --provides|grep libmawt.so
libmawt.so()(64bit)
libmawt.so(SUNWprivate_1.1)(64bit)
$ rpm -q java-sun-jre-X11 --provides|grep libmawt.so
libmawt.so()(64bit)
libmawt.so(SUNWprivate_1.1)(64bit)
$ q java-sun-jre --requires|grep libmawt.so
libmawt.so()(64bit)
libmawt.so(SUNWprivate_1.1)(64bit)
$ q java-sun-jre-X11 --requires|grep libmawt.so
$ ldd /usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/headless/libmawt.so
linux-vdso.so.1 => (0x00007fff651ff000)
libjvm.so => not found
libawt.so => /usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/headless/../libawt.so (0x00007f555cee6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f555cc63000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f555ca5f000)
libjava.so => /usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/headless/../libjava.so (0x00007f555c92f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f555c5d8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f555d1d2000)
libjvm.so => not found
libjvm.so => not found
libverify.so => /usr/lib64/jvm/java-sun-1.6.0.11/jre/lib/amd64/headless/../libverify.so (0x00007f555c4c8000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f555c2b0000)
libjvm.so => not found
--
glen
More information about the pld-devel-en
mailing list