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

Attached to Project: Arch Linux
Opened by Andrew Gunnerson (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

Details

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: http://www.cmake.org/Bug/view.php?id=13125

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 Andrew Gunnerson (chenxiaolong) - Friday, 20 April 2012, 20:53 GMT
The patch is available in the Fedora source RPM for CMake: http://kojipkgs.fedoraproject.org/packages/cmake/2.8.8/1.fc16/src/cmake-2.8.8-1.fc16.src.rpm

The actual patch from the source RPM: http://ompldr.org/vZGc4YQ/cmake-pkgconfig.patch
Comment by Andrew Gunnerson (chenxiaolong) - Tuesday, 24 April 2012, 17:21 GMT
Here's the source package with the patch included: http://ompldr.org/vZGh5NQ/cmake-2.8.8-2.src.tar.gz

Loading...