Bug 591646 - "pkg-config --libs OpenIPMIpthread" fails
Summary: "pkg-config --libs OpenIPMIpthread" fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: OpenIPMI
Version: 5.7
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 594072
TreeView+ depends on / blocked
 
Reported: 2010-05-12 18:55 UTC by Christoph Maser
Modified: 2011-01-13 23:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The pkgconfig script contained incorrect link options. This could have resulted in linking errors when compiling software that used the OpenIPMI libraries. This update fixes the pkgconfig script and software correctly links to the OpenIPMI libraries.
Clone Of: 468067
: 594072 (view as bug list)
Environment:
Last Closed: 2011-01-13 23:31:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0096 0 normal SHIPPED_LIVE OpenIPMI bug fix and enhancement update 2011-01-12 17:21:18 UTC

Description Christoph Maser 2010-05-12 18:55:06 UTC
+++ This bug was initially created as a clone of Bug #468067 +++

Description of problem:
copied from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474087

# pkg-config --libs OpenIPMIpthread
Package pthread was not found in the pkg-config search path.
Perhaps you should add the directory containing `pthread.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pthread', required by 'OpenIPMIpthread', not found

Please remove bogus pthread from Requires:
in /usr/lib/pkgconfig/OpenIPMIpthread.pc
and add -pthread to Cflags:

Version-Release number of selected component (if applicable):
both F-9 and F-10 have the issue:
OpenIPMI-devel-2.0.14-2.1.fc9
OpenIPMI-devel-2.0.14-4.fc10


How reproducible:
always

Steps to Reproduce:
1. try to build collectd-4.4.4 with --enable-ipmi
2. see http://koji.fedoraproject.org/koji/getfile?taskID=895839&name=build.log
3.
  
Actual results:
   libopenipmi . . . . no (/usr/bin/pkg-config doesn't know OpenIPMIpthread)

Expected results:
   libopenipmi detected

Additional info:

--- Additional comment from quantumburnz on 2008-10-22 22:04:03 EDT ---

Thank you for the bug report.  At the moment, the Fedora developers are
busy fixing other issues and may not have time to work on this one.  The
best way to make sure your problem will get looked on is to report it to
the authors of the program. Most upstream authors use a bug tracking system
like bugzilla, and more people who know the code will be looking at the
bug report there.

The upstream bug tracking system to use is:
http://sourceforge.net/tracker/?group_id=36127&atid=416301

You are requested to add the bugzilla link here for tracking purposes.
Please make sure the bug isn't already in the upstream bug tracker
before filing it.

--- Additional comment from apevec on 2008-10-23 04:28:55 EDT ---

http://sourceforge.net/tracker/index.php?func=detail&aid=2188750&group_id=36127&atid=416301

Comment 1 Christoph Maser 2010-05-12 18:57:23 UTC
I have the exact same Problem on RHEL 5.5 

rpm -q OpenIPMI-libs
OpenIPMI-libs-2.0.16-7.el5

Comment 5 Eva Kopalova 2010-12-20 12:06:18 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The pkgconfig script contained incorrect link options. This could have resulted in linking errors when compiling software that used the OpenIPMI libraries. This update fixes the pkgconfig script and software correctly links to the OpenIPMI libraries.

Comment 7 errata-xmlrpc 2011-01-13 23:31:23 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-0096.html


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