Activity log for bug #1986665

Date Who What changed Old value New value Message
2022-08-16 13:09:16 Eero Aaltonen bug added bug
2022-08-16 14:12:44 Gianfranco Costamagna cmake (Ubuntu): status New Fix Released
2022-08-16 14:12:59 Gianfranco Costamagna nominated for series Ubuntu Jammy
2022-08-16 14:12:59 Gianfranco Costamagna bug task added cmake (Ubuntu Jammy)
2022-08-16 14:12:59 Gianfranco Costamagna nominated for series Ubuntu Kinetic
2022-08-16 14:12:59 Gianfranco Costamagna bug task added cmake (Ubuntu Kinetic)
2022-08-16 14:13:09 Gianfranco Costamagna cmake (Ubuntu Jammy): status New Confirmed
2022-08-16 14:40:16 Eero Aaltonen bug watch added https://gitlab.kitware.com/cmake/cmake/-/issues/17365
2022-08-16 14:40:16 Eero Aaltonen bug task added cmake
2022-08-17 10:53:31 Gianfranco Costamagna summary CMake imported targets GTest::gmock and GTest::gmock_main are not available [SRU] CMake imported targets GTest::gmock and GTest::gmock_main are not available
2022-08-17 10:55:10 Gianfranco Costamagna description The libgtest-dev and libgmock-dev are both built from the googletest source package. Googletest upstream has provided a CMake **config file package** since version 1.8.1, but for many releases, this config file package has not been included in the -dev packages. When developers build a CMake project that wants to use a prebuilt GoogleTest for testing, they typically call FindPackage(GTest <REQUIRED_VERSION>) to locate the library. Since the config file package has not been included in libgtest-dev, the FindPackage CMake call falls back to using the FindGTest.cmake module originating from cmake and included in the cmake-data package. So for several releases up to and including jammy jellyfish, the Imported targets: * GTest::gtest * GTest::gtest_main * GTest::gmock * GTest::gmock_main have not been available in the distribution provided packages although defined by Googletest upstream. Issue in CMake issue tracker https://gitlab.kitware.com/cmake/cmake/-/issues/17365 CMake Merge Request https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6632 Issue in Debian CMake packaging https://salsa.debian.org/cmake-team/cmake/-/merge_requests/11 This issue should already be fixed in kinetic, since the CMake version is 3.24, which includes the update to cmake's FindGTest.cmake module. I would also like to get this to jammy as a low priority update. Applying only the patch to FindGTest.cmake should make the risk of the update negligible. [ Test plan ] cat CMakeLists.txt project(foo) cmake_minimum_required(VERSION 3.22) find_package(GTest) with the patch, a cmake .. and libgmock-dev installed results in this: grep mock . -Ri ./CMakeFiles/Makefile.cmake: "/usr/lib/x86_64-linux-gnu/cmake/GTest/GMockTargets-none.cmake" ./CMakeFiles/Makefile.cmake: "/usr/lib/x86_64-linux-gnu/cmake/GTest/GMockTargets.cmake" [ Where problems could occur ] * Nowhere, its an upstream patch that don't regress the current status quo, just adding some new variables. [ Other Info ] The libgtest-dev and libgmock-dev are both built from the googletest source package. Googletest upstream has provided a CMake **config file package** since version 1.8.1, but for many releases, this config file package has not been included in the -dev packages. When developers build a CMake project that wants to use a prebuilt GoogleTest for testing, they typically call FindPackage(GTest <REQUIRED_VERSION>) to locate the library. Since the config file package has not been included in libgtest-dev, the FindPackage CMake call falls back to using the FindGTest.cmake module originating from cmake and included in the cmake-data package. So for several releases up to and including jammy jellyfish, the Imported targets: * GTest::gtest * GTest::gtest_main * GTest::gmock * GTest::gmock_main have not been available in the distribution provided packages although defined by Googletest upstream. Issue in CMake issue tracker https://gitlab.kitware.com/cmake/cmake/-/issues/17365 CMake Merge Request https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6632 Issue in Debian CMake packaging https://salsa.debian.org/cmake-team/cmake/-/merge_requests/11 This issue should already be fixed in kinetic, since the CMake version is 3.24, which includes the update to cmake's FindGTest.cmake module. I would also like to get this to jammy as a low priority update. Applying only the patch to FindGTest.cmake should make the risk of the update negligible.
2022-08-17 10:55:55 Gianfranco Costamagna cmake (Ubuntu Jammy): status Confirmed In Progress
2022-08-17 13:59:39 Eero Aaltonen attachment added cmake_3.22.1-1ubuntu1-to-ppa1.debdiff https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1986665/+attachment/5609301/+files/cmake_3.22.1-1ubuntu1-to-ppa1.debdiff
2022-08-31 02:00:31 Chris Halse Rogers cmake (Ubuntu Jammy): status In Progress Fix Committed
2022-08-31 02:00:34 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2022-08-31 02:00:36 Chris Halse Rogers bug added subscriber SRU Verification
2022-08-31 02:00:41 Chris Halse Rogers tags verification-needed verification-needed-jammy
2022-08-31 08:37:18 Gianfranco Costamagna tags verification-needed verification-needed-jammy verification-done verification-done-jammy
2022-09-01 17:11:50 Bug Watch Updater cmake: status Unknown Fix Released
2022-09-12 14:16:13 Launchpad Janitor cmake (Ubuntu Jammy): status Fix Committed Fix Released
2022-09-12 14:16:20 Ɓukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2022-09-27 10:59:35 Eero Aaltonen attachment added backport GTest imported targets on top of cmake_3.16.3-1 https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1986665/+attachment/5619423/+files/cmake_3.16.3-1ubuntu1to2.debdiff
2022-09-29 08:06:32 Gianfranco Costamagna nominated for series Ubuntu Focal
2022-09-29 08:06:32 Gianfranco Costamagna bug task added cmake (Ubuntu Focal)
2022-09-29 08:09:03 Gianfranco Costamagna cmake (Ubuntu Focal): status New In Progress
2022-09-29 08:14:24 Gianfranco Costamagna bug added subscriber Ubuntu Stable Release Updates Team
2022-10-21 10:12:54 Timo Aaltonen cmake (Ubuntu Focal): status In Progress Fix Committed
2022-10-21 10:12:58 Timo Aaltonen tags verification-done verification-done-jammy verification-done-jammy verification-needed verification-needed-focal
2022-10-27 12:01:52 Eero Aaltonen tags verification-done-jammy verification-needed verification-needed-focal verification-done verification-done-focal verification-done-jammy
2022-11-21 08:53:53 Launchpad Janitor cmake (Ubuntu Focal): status Fix Committed Fix Released