[Bug 212276] New: bogus provides of NX break Firefox
https://bugzilla.novell.com/show_bug.cgi?id=212276 Summary: bogus provides of NX break Firefox Product: openSUSE 10.2 Version: Alpha 5 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: sndirsch@novell.com ReportedBy: mvidner@novell.com QAContact: sndirsch@novell.com CC: bnc-team-gnome@forge.provo.novell.com This has been broken since Alpha3+ at least. hh@mjolnir:~> firefox /usr/lib/firefox/firefox-bin: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory libXrender is there in 64bit, but not in 32bit required by firefox. installing xorg-x11-libXrender-32bit xorg-x11-libX11-32bit xorg-x11-libXext-32bit fixes firefox. NX claims to provide the libraries, but they are in /usr/lib/NX/lib. hh@mjolnir:~> rpm -q NX --provides libX11.so.6 libXcomp.so.1 libXcompext.so.1 libXext.so.6 libXrender.so.1 NX = 1.5.0-46 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |bnc-team-gnome@forge.provo.novell.com Component|X11 Applications |GNOME QAContact|sndirsch@novell.com |qa@suse.de ------- Comment #1 from sndirsch@novell.com 2006-10-15 19:56 MST ------- These libs should only be used by NX itself. Therefore they are located in /usr/lib/NX/lib. This needs to be fixed in MozillaFirefox. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bnc-team-mozilla@forge.provo.novell.com, | |sndirsch@novell.com Platform|x86-64 |All ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-10-15 20:23 MST ------- No, this is not correct. The bug here is that NX has these libraries in the rpm "Provides" tags. This confuses the package manager because the package manager "believes" that NX can fulfill the requirements of MozillaFirefox although it cannot. rpm uses utilities like ldd and objdump in order to add the SONAMEs of all libraries to "Provides", no matter which directory they have been installed into. It's a general problem with rpm that pops up each time a package provides a private copy of a library that has the same SONAME as a different public library. There are two ways to fix this: (a) Remove the bogus "Provides" from NX. (Solution) (b) Make MozillaFirefox explicitly require the package names of xorg-x11-* in order to help the dependency resolver while deciding which of the two packages that provides the libraries is the "right" one. (Workaround) (b) is easier to do than (a), but (a) is much better because it solves the problem for all packages where this problem pops up. As libX11.so.6 and friends are used by quite a lot of packages, I'd recommend to go for (a). You might want to ask an autobuild/rpm expert how to do that. It's pure coincidence that this happens with MozillaFirefox for the reporter, it might happen with any X11 application. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ro@novell.com ------- Comment #3 from sndirsch@novell.com 2006-10-15 20:52 MST -------
You might want to ask an autobuild/rpm expert how to do that. I'm not sure if this is possible at all. Rudi?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-10-15 20:55 MST ------- Fedora uses this: %define _use_internal_dependency_generator 0 %define __find_provides nxfind-provides.sh where nxfind-provides.sh is: #!/bin/sh exec /usr/lib/rpm/find-provides | \ sed -e s/libX11.so.6.2.debug// | sed -e s/libXrender.so.1.2.debug// | sed -e s/libXext.so.6.4.debug// | \ sed -e s/libX11.so.6// | sed -e s/libXrender.so.1// | sed -e s/libXext.so.6// I think that the following should work as well: AutoReq: On AutoProv: Off But I'm not sure whether this is autobuild-compliant. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 ------- Comment #5 from andreas.hanke@gmx-topmail.de 2006-10-15 21:23 MST ------- No, my proposal will not work: AutoReq: On AutoProv: Off Reason: The libraries /usr/lib/NX/lib/libXcomp.so.1 /usr/lib/NX/lib/libXcompext.so.1 must be exported as "Provides" because NX itself needs them and nothing else provides them. Only *some* of the libraries need to be hidden, i.e. the following: /usr/lib/NX/lib/libX11.so.6 /usr/lib/NX/lib/libXext.so.6 /usr/lib/NX/lib/libXrender.so.1 This complicates the whole thing => Expert help needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gholmer@ameritech.net ------- Comment #6 from andreas.hanke@gmx-topmail.de 2006-10-15 21:43 MST ------- *** Bug 211292 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major ------- Comment #7 from jpr@novell.com 2006-10-16 22:19 MST ------- Bumping severity since this implies breakage of FF on 64bit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 ------- Comment #8 from ro@novell.com 2006-10-17 09:50 MST ------- the "fedora variant" from comment#4 looks correct, see also specfiles of seamonkey or mozilla from any suse-distro, they use something similar. %define my_provides /tmp/my-provides cat << EOF > %{my_provides} grep -vE "libnss3.so|libnssckbi.so|libsmime3.so|libsoftokn3.so|libssl3.so" | %{__find_provides} EOF chmod 755 %{my_provides} %define __find_provides %{my_provides} %clean rm -f %{my_provides} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ro@novell.com | ------- Comment #9 from ro@novell.com 2006-10-17 09:51 MST ------- removing needinfo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |mkoenig@novell.com ------- Comment #10 from jpr@novell.com 2006-10-17 15:03 MST ------- Matthias, can you fix this as part of the FF 2.0 update you are doing this week? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sndirsch@novell.com |gnome@forge.provo.novell.com| Status|NEEDINFO |NEW Component|GNOME |X.Org Info Provider|mkoenig@novell.com | QAContact|qa@suse.de |sndirsch@novell.com Summary|bogus provides of NX break |bogus provides of NX break X11 applications |Firefox | ------- Comment #11 from andreas.hanke@gmx-topmail.de 2006-10-18 01:49 MST ------- Why is this NEEDINFO to the Firefox maintainer? This is not specific to Firefox, it breaks all 32bit X11 applications on x86_64 (Firefox, Opera, acroread, RealPlayer,...) and is still caused by NX providing stuff that it shouldn't. Adjusting summary and reassigning - it can't be fixed in Firefox, you would have to fix the specfiles of all 32bit X11 applications for x86_64 in a way that makes them no longer work on i586. So it really needs to be fixed in NX, by removing the bogus dependencies. I'll try to attach something that works ASAP. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 ------- Comment #12 from andreas.hanke@gmx-topmail.de 2006-10-18 01:51 MST ------- Created an attachment (id=101810) --> (https://bugzilla.novell.com/attachment.cgi?id=101810&action=view) Changes for NX.spec This should remove the private copies of libX11, libXext and libXrender from the auto-generated dependency list. Warning: Only tested in a local build. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212276 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #13 from sndirsch@novell.com 2006-10-18 06:13 MST ------- Thanks. Fixed for Beta1 and in buildservice. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com