Bug 173610
Summary: | libgnomeui-devel lacks "Requires: libSM-devel" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thorsten Leemhuis <fedora> |
Component: | libgnomeui | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | denisleroy, mharris, michel.salim |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.12.0-6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-30 07:20:48 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
Thorsten Leemhuis
2005-11-18 16:37:06 UTC
I haven't checked, but the proper fix is probably for libgnomeui to _link_ to libSM, and to drop the -lSM from the libgnomeui-2.0.pc file. Otherwise it causes every app that links to libgnomeui-2.0.pc to link to libSM, wether or not the app actually uses libSM or not, which causes application startup slowdowns as ld.so has to resolve an additional library that is potentially not used. Lots of things in our OS are broken this way, including X itself right now. The good news is, that Kevin Martin just fixed it all in Xorg CVS, so when we update to X11R7 RC3, the .pc files in X packaging should be correct. It'd make an excellent project for someone to go through every single library in the OS and check it with "ldd -r -u" both for unresolved symbols (indicating the library didn't get linked to one of its dependencies), and for unused symbols (indicating a library is linked to another library that it does not actually use). Once all the libraries in the entire OS are cleaned up in this manner, then a full distribution mass rebuild should be done to get all apps to build with the fixed library .pc files, which might require some additional fixes to be done to the application packages. Then, the same procedure done on the libraries with ldd, should be repeated on all binaries in the system, to see if a binary is linked to libraries it does not actually use. If someone did this, I wouldn't doubt if our app startup times would drop bigtime. Ever look at the list of libraries some simple gnome or kde apps link to? Ever wonder if those apps actually use all of those libraries? I have. The results are disturbing. However, I've taken over this bug report it seems for my own evil (or not so evil) purposes, so I should stop now. <grin> libgnomeuimm26 currently fails to build because of this bug. Should it temporarily use 'BuildRequires: libSM-devel' until this bug is resolved one way or another then ? Tanks Ray for fixing it in 2.12.0-6 |