"pkg-config --libs OpenIPMIpthread" fails

Bug #1311888 reported by Radosław Łoboda
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openipmi (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Nish Aravamudan

Bug Description

[Impact]

`pkg-config --libs OpenIPMIpthread` fails with:

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

[Test Case]

Run `pkg-config --libs OpenIPMIpthread`, which will return an error in an unfixed case and will return

-lOpenIPMIpthread -lOpenIPMIutils -lOpenIPMI

in a fixed case.

[Regression risk]

This is a backport of the fix applied in Yakkety, which in turn is a forward-port of the fix applied in Debian. I believe the regression risk to be low, as we are updating the pkg-config file to reflect the Ubuntu/Debian configuration.

---

but instead you get:

This is an issue known back in 2008, with a WORKING fix: http://sourceforge.net/p/openipmi/feature-requests/5/

Stumbled upon this problem over a year ago while trying to compile collectd, it's definitely problem with the file /usr/lib/pkgconfig/OpenIPMIpthread.pc

Description: Ubuntu 14.04 LTS
Release: 14.04
libopenipmi-dev 2.0.18-0ubuntu7

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openipmi (Ubuntu):
status: New → Confirmed
Revision history for this message
Nish Aravamudan (nacc) wrote :

Thank you for reporting this bug. It feels like the real issue is getting upstream to fix this. Would you be willing to poke the upstream bug report or mailing list on this issue?

Changed in openipmi (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openipmi - 2.0.18-0ubuntu12

---------------
openipmi (2.0.18-0ubuntu12) yakkety; urgency=medium

  * debian/openipmi.init: add Default-Start and Default-Stop values
    (LP: #1596474).
  * Forward-port fix from 2.0.16-1.1: fix pkg-config files: pthread.pc
    does not exist in Ubuntu (LP: #1311888).

 -- Nishanth Aravamudan <email address hidden> Mon, 12 Sep 2016 10:56:21 -0700

Changed in openipmi (Ubuntu):
status: Triaged → Fix Released
Nish Aravamudan (nacc)
Changed in openipmi (Ubuntu Xenial):
status: New → In Progress
assignee: nobody → Nish Aravamudan (nacc)
Nish Aravamudan (nacc)
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Radosław, or anyone else affected,

Accepted openipmi into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openipmi/2.0.18-0ubuntu11.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in openipmi (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Nish Aravamudan (nacc) wrote :

With 2.0.18-0ubuntu11:

# 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

With 2.0.18-0ubuntu11.1:

# pkg-config --libs OpenIPMIpthread
-lOpenIPMIutils -lOpenIPMIpthread -pthread -lOpenIPMIutils -lOpenIPMI

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openipmi - 2.0.18-0ubuntu11.1

---------------
openipmi (2.0.18-0ubuntu11.1) xenial; urgency=medium

  * debian/openipmi.init: add Default-Start and Default-Stop values
    (LP: #1596474).
  * Forward-port fix from 2.0.16-1.1: fix pkg-config files: pthread.pc
    does not exist in Ubuntu (LP: #1311888).

 -- Nishanth Aravamudan <email address hidden> Wed, 29 Jun 2016 15:11:08 -0700

Changed in openipmi (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for openipmi has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.