Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: Chmsee - a GTK2 CHM viewer based on chmlib and gecko https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229826 mtasaka@xxxxxxxxxxxxxxxxxxx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtasaka@xxxxxxxxxxxxxxxxxxx ------- Additional Comments From mtasaka@xxxxxxxxxxxxxxxxxxx 2007-02-27 00:39 EST ------- --------------------------------------- BuildRequires: gecko-devel --------------------------------------- Well, this style of handling gecko dependency is a problem because rpm cannot treat rpath dependency correnctly. * Details: (I use FC-devel so here I write especially on rawhide) - First, /usr/bin/chmsee requires some libraries from firefox, and /usr/bin/chmsee has rpath because the libraries in firefox is not installed under default library path. ---------------------------------------------------- [root@localhost ~]# ldd -r /usr/bin/chmsee | grep firefox libgtkembedmoz.so => /usr/lib/firefox-2.0.0.1/libgtkembedmoz.so (0x007a6000) libxpcom.so => /usr/lib/firefox-2.0.0.1/libxpcom.so (0x00b6d000) libxpcom_core.so => /usr/lib/firefox-2.0.0.1/libxpcom_core.so (0x04ec8000) [root@localhost ~]# objdump --headers --private-headers /usr/bin/chmsee | grep RPATH RPATH /usr/lib/firefox-2.0.0.1 ---------------------------------------------------- - And when you check the libraries' dependency by "rpm -q --requires chmsee", chmsee surely requires libxpcom.so. Then "rpm -q --whatprovides libxpcom.so" returns firefox. Note that rpm only checks the library name and does not check _rpath_ . - Well, firefox 2.0.0.2 is already released and sooner or later 2.0.0.2 will appear on rawhide. - Then I update firefox to 2.0.0.2 and the problem happens. firefox 2.0.0.2 also provides "libxpcom.so" so no conflict occurs between firefox and chmsee according to rpm judgment. However chmsee actually requires "/usr/lib/firefox-2.0.0.1/libxpcom.so" so chmsee won't be launched..... So: * Usually we have to write explicitly (the following is on FC-devel) ------------------------------------------------- Requires: firefox-devel = 2.0.0.1 Requires: firefox = 2.0.0.1 ------------------------------------------------- On FC-5, this is 1.5.0.9 and soon will be 1.5.0.10. -- Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review