Bug 352091
Summary: | kazehakase should not depend on specific version of firefox | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lubomir Kundrak <lkundrak> |
Component: | kazehakase | Assignee: | Mamoru TASAKA <mtasaka> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | gecko-bugs-nobody |
Target Milestone: | --- | Keywords: | EasyFix, Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.5.0-1.fc9.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-08 14:08:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lubomir Kundrak
2007-10-25 11:49:48 UTC
I have strong objection against this. ---------------------------------------------------------- # readelf -S -d /usr/bin/kazehakase | grep RPATH 0x0000000f (RPATH) Library rpath: [/usr/lib/kazehakase:/usr/lib/firefox-2.0.0.8] ---------------------------------------------------------- So actually kazehakase expects that libxpcom.so must be under %_libdir/firefox-2.0.0.8. "gecko-libs = <version>" requirement is _insufficient_ Actually I want to write more explicit requirement: "Requires: %_libdir/firefox-%{FFver}/libxpcom.so" to resolve rpath issue which rpm cannot treat correctly. Please do not do so. File dependencies slow down yum a lot, they trigger download and parse of filelist.xml. Another thing is that binaries in Fedora should _not_ use rpaths to look up binaries, but rather install the paths to /etc/ld.so.conf.d. Anyways, this looks to me like a bit of a nonstandard problem, I guess libxpcom provided by firefox is not meant not be used by other programs, is it? In future, gecko-libs and libxpcom will be provided by xulrunner. Maybe it would be more portable if firefox/xulrunner installed their paths in /etc/ld.so.conf.d and kazehakase depended on gecko-libs. (In reply to comment #3) > Anyways, this looks to me like a bit of a nonstandard problem, I guess libxpcom > provided by firefox is not meant not be used by other programs, is it? In > future, gecko-libs and libxpcom will be provided by xulrunner...... So this should be discussed after xulrunner gets enough stable and we can switch to xulrunner. At the time gecko maintainers should annouce it first on -devel list, then discuss how gecko-engine dependent software should be packaged, then we can change the current packaging. IMO _currently_ the specific firefox version requirement is more correct than virtual gecko-libs requirement. So reopen this bug when you are ready. (In reply to comment #3) > Another thing is that binaries in Fedora > should _not_ use rpaths to look up binaries, If you think so, please fix it first. Hi. I am the firefox maintainer for Fedora. I asked lkundrak to file these bugs. gecko-libs is actually the correct way to do this. While it is true that in theory another package could provide gecko-libs and have different paths, that will never happen in Fedora, so your argument against that is more theoretical than anything. Doing this will make it much easier for me to make the switch to xulrunner, and will help allow scripting updates. Please make the change from Requires: firefox = 2.0.0.8 to Requires: gecko-libs = 1.8.1.8 like most other packages in the distro. Should be fixed by 0.5.0-1.fc9.1. |