Bug 675741 - pkgconfig files have wrong version information
Summary: pkgconfig files have wrong version information
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: corosync
Version: 6.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 6.1
Assignee: Steven Dake
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 15:36 UTC by Steven Dake
Modified: 2016-04-26 15:16 UTC (History)
4 users (show)

Fixed In Version: corosync-1.2.3-25.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 14:24:21 UTC
Target Upstream Version:


Attachments (Terms of Use)
patch to spec file to resolve regression (551 bytes, patch)
2011-02-07 16:02 UTC, Steven Dake
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0764 0 normal SHIPPED_LIVE corosync bug fix update 2011-05-18 18:08:44 UTC

Description Steven Dake 2011-02-07 15:36:34 UTC
Description of problem:
A regression in the 6.1 build of corosync results in an incorrect build of corosync.  Left unfixed, this would break ABI compatibility.

Version-Release number of selected component (if applicable):
corosync-1.2.3-24.el6

How reproducible:
check rpmdiff results

Steps to Reproduce:
1.
2.
3.
  
Actual results:
rpmdiff warns about version number information changed.

Expected results:
rpmdiff should not warn about version number information changed in shared objects.

Additional info:

Comment 2 Steven Dake 2011-02-07 15:53:15 UTC
The original analysis on this bugzilla was wrong, instead its the pkgconfig (.pc) files which are incorrect.  This still causes serious problems.  An example pc file from the build is:

[root@cast x86_64]# more /usr/lib64/pkgconfig/coro*
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include
lcrsodir=/usr/libexec/lcrso
socketdir=/var/run

Name: corosync
Version: UNKNOWN
Description: corosync
Requires:
Cflags: -I${includedir}


The version field should be 1.2.3.

Comment 3 Steven Dake 2011-02-07 16:02:37 UTC
Created attachment 477442 [details]
patch to spec file to resolve regression

Comment 7 Jaroslav Kortus 2011-03-02 13:51:28 UTC
$ more /usr/lib64/pkgconfig/corosync.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include
lcrsodir=/usr/libexec/lcrso
socketdir=/var/run

Name: corosync
Version: 1.2.3
Description: corosync
Requires:
Cflags: -I${includedir}

rpm -q corosync
corosync-1.2.3-26.el6.x86_64


marking as verified.

Comment 8 errata-xmlrpc 2011-05-19 14:24:21 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0764.html


Note You need to log in before you can comment on or make changes to this bug.