CMake 3.5's pkg-config support broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Fix Released
|
High
|
Gianfranco Costamagna |
Bug Description
With the new cmake 3.5 version in xenial, pkg-config variables seem broken.
Given the following CMakeLists.txt:
cmake_minimum_
include(
pkg_check_
Comparing output from:
$ cmake .; grep ^GLIB2 CMakeCache.txt
Yields the _INCLUDEDIR, _LIBDIR and _PREFIX variables empty: http://
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake 3.5.0-1ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-15-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 29 22:47:54 2016
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cmake (Ubuntu): | |
assignee: | nobody → LocutusOfBorg (costamagnagianfranco) |
importance: | Undecided → High |
Changed in cmake (Ubuntu): | |
status: | New → In Progress |
Changed in cmake (Ubuntu): | |
status: | In Progress → Fix Committed |
This is fallout from a post-beta merge of a new upstream version of cmake.
A feature freeze exception of a core build tool is altogether unreasonable. When it introduces regressions, it is unacceptable.
I have communicated to Michał and Gianfranco on IRC that if this issue is not resolved by my end of day, I intend to revert the merge, which clearly did not receive adequate testing.