pkg-config broken on saucy (only) -pthread for both --libs and --cflags of check.pc are missing

Bug #1289501 reported by Scott Kitterman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
check (Ubuntu)
Fix Released
Undecided
Unassigned
Saucy
Fix Released
High
Scott Kitterman

Bug Description

This is already fixed via Debian in Trusty:

check (0.9.10-6) unstable; urgency=low

  * add -pthread to both --libs and --cflags of check.pc (sigh)

 -- Robert Lemmen <email address hidden> Mon, 25 Nov 2013 20:10:47 +0000

This causes incorrect linking in saucy. See https://launchpadlibrarian.net/168496724/buildlog_ubuntu-saucy-amd64.clamav_0.98.1%2Bdfsg-2ubuntu1~13.10~ppa1_FAILEDTOBUILD.txt.gz for an example. This package builds fine on precise, quantal, and trusty.

From the build logs:
Saucy:
configure: Summary of miscellaneous features
              check : -lcheck_pic -lrt -lm
Trusty:
configure: Summary of miscellaneous features
              check : -pthread -lcheck_pic -lrt -lm

The fix is to SRU the -6 change into Saucy.

[Impact]

 * Some packages will fail to build. Since not all packages were rebuilt after the new (broken) check version landed during Saucy development, there may be, in addition to PPA packages like the example, archive packages when cannot be built for security updates, SRU, etc.

[Test Case]

 * See the above build log for reproduction.

 * Once the new check package is in -proposed, i'll add -proposed to the PPA and retry. If it builds, win.

[Regression Potential]

 * Regression potential is negligible.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: check (not installed)
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: i386
Date: Fri Mar 7 12:22:39 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-04-04 (1067 days ago)
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
MarkForUpload: True
SourcePackage: check
UpgradeStatus: Upgraded to saucy on 2013-10-16 (142 days ago)

Revision history for this message
Scott Kitterman (kitterman) wrote :
Changed in check (Ubuntu):
status: New → Fix Released
Changed in check (Ubuntu Saucy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Scott Kitterman (kitterman)
milestone: none → saucy-updates
Revision history for this message
Scott Kitterman (kitterman) wrote :

I added the fixed package to that PPA and retried one build. It worked. I'll remove it now so that the same can be done with the package I just uploaded for -proposed.

Changed in check (Ubuntu Saucy):
status: In Progress → Fix Committed
Revision history for this message
Stéphane Graber (stgraber) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted check into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/check/0.9.10-4ubuntu1.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!

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

This bug was fixed in the package check - 0.9.10-4ubuntu1.1

---------------
check (0.9.10-4ubuntu1.1) saucy-proposed; urgency=low

  * add -pthread to --libs of check.pc (LP: #1289501)
 -- Scott Kitterman <email address hidden> Fri, 07 Mar 2014 12:51:32 -0500

Changed in check (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of this Stable Release Update 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 regresssions.

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.