Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#29545 - [cmake] PKG_CONFIG_FOUND not set by CMake

Attached to Project: Arch Linux
Opened by Xiao-Long Chen (chenxiaolong) - Friday, 20 April 2012, 20:33 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 25 April 2012, 06:54 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


I spent almost 4 hours trying to get Compiz to compile before tracing the .cmake files and finding that CMake was at fault :)

With the new CMake release from today, there's a bug that causes the PKG_CONFIG_FOUND variable to not be set, which breaks a few packages that need it. This has already been fixed upstream:

The patch will be included in CMake 2.8.9. Would it be possible to apply it to CMake 2.8.8 in the meantime?

Thanks in advance!
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 25 April 2012, 06:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  cmake 2.8.8-2
Comment by Xiao-Long Chen (chenxiaolong) - Friday, 20 April 2012, 20:53 GMT
The patch is available in the Fedora source RPM for CMake:

The actual patch from the source RPM:
Comment by Xiao-Long Chen (chenxiaolong) - Tuesday, 24 April 2012, 17:21 GMT
Here's the source package with the patch included: