Bug 1113189
Summary: | pacemaker should list glib2-2.28 as a dependency | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Radek Steiger <rsteiger> | |
Component: | pacemaker | Assignee: | Andrew Beekhof <abeekhof> | |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 6.6 | CC: | cluster-maint, dvossel, fdinitto, jkortus, mclasen, nwahl, tlavigne, tpelka, walters | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pacemaker-1.1.12-4.el6 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1641312 (view as bug list) | Environment: | ||
Last Closed: | 2014-10-14 07:34:11 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1101398, 1139274 | |||
Bug Blocks: | 1641312 |
Description
Radek Steiger
2014-06-25 15:23:27 UTC
I'm confused... rpm is supposed to generate those dependancies automatically. If we built against libglib-2.0.so.0 then that should be picked up by rpm and yum should honour it. What gives? (In reply to Andrew Beekhof from comment #2) > I'm confused... rpm is supposed to generate those dependancies automatically. > If we built against libglib-2.0.so.0 then that should be picked up by rpm > and yum should honour it. Only for libraries that use versioned symbols, which GLib does not. The only current way to solve this is to not use e.g. GLIB_CHECK_VERSION(), or alternatively, have a master -DGLIB_VERSION_MAX_ALLOWED (as is in newer upstream glibs) to say which version you want to target at compile time. Pacemaker can happily use both old and new versions of glib2, the only requirement pacemaker has is to use a version >= the one it was compiled against. That I would need to keep track of the latest glib2 version and update the pacemaker spec file with it every time I build seems clumsy to me. Surely there is a better way. The simple fix is the best here: just add a Requires: glib2 >= 2.28 to the spec file. IMHO, anything that requires on-going action doesn't qualify as a fix (In reply to Andrew Beekhof from comment #6) > IMHO, anything that requires on-going action doesn't qualify as a fix You only have to update the Requires once per rebase, and only if pacemaker uses newer APIs. 1. It was a rebase of someone else's package - will maintainers be sending out emails to dependant packages in advance of their rebases now, or will we still find out at the 11th hour when people try to install? 2. It was an API that we started using in our codebase over 2 years ago (In reply to Andrew Beekhof from comment #8) > 1. It was a rebase of someone else's package > - will maintainers be sending out emails to dependant packages in advance > of their rebases now, or will we still find out at the 11th hour when people > try to install? I will do that in the future. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1544.html |