[Bug 2060252] [NEW] proposed migration cmake 3.28.3-1build6

Vladimir Petko 2060252 at bugs.launchpad.net
Thu Apr 4 23:45:29 UTC 2024


Public bug reported:

cmake autopkgtest fail with the following error:
---
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
CMake Error at /tmp/autopkgtest.XpFeRF/build.aQE/real-tree/Tests/RunCMake/RunCMake.cmake:277 (message):
  FindPkgConfig_GET_VARIABLE - FAILED:

  stdout does not match that expected.

  Command was:

   command> "/usr/bin/cmake" "/tmp/autopkgtest.XpFeRF/build.aQE/real-
tree/Tests/RunCMake/FindPkgConfig" "-G" "Unix Makefiles"
"-DRunCMake_TEST=FindPkgConfig_GET_VARIABLE" "--no-warn-unused-cli"
"-DCMAKE_MAKE_PROGRAM=/usr/bin/gmake"

  Expected stdout to match:

   expect-stdout> -- g_ir_scanner: .*/g-ir-scanner

  Actual stdout:

   actual-stdout> Not searching for unused variables given on the command line.
   actual-stdout> -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
   actual-stdout> -- g_ir_scanner: /usr/bin/x86_64-linux-gnu-g-ir-scanner
   actual-stdout> -- Configuring done (0.1s)
   actual-stdout> -- Generating done (0.0s)
   actual-stdout> -- Build files have been written to: /tmp/autopkgtest.XpFeRF/autopkgtest_tmp/Tests/RunCMake/FindPkgConfig/FindPkgConfig_GET_VARIABLE-build

  Expected stderr to match:

   expect-stderr> ^$

  Actual stderr:

   actual-stderr>

Call Stack (most recent call first):
  /tmp/autopkgtest.XpFeRF/build.aQE/real-tree/Tests/RunCMake/FindPkgConfig/RunCMakeTest.cmake:53 (run_cmake)
---

This is caused by the test asserting line 
--
-- g_ir_scanner: */g-ir-scanner
---

but the gobject-introspection actually places /usr/bin/x86_64-linux-gnu-
g-ir-scanner on disk since 1.79

** Affects: cmake (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/2060252

Title:
  proposed migration cmake 3.28.3-1build6

Status in cmake package in Ubuntu:
  New

Bug description:
  cmake autopkgtest fail with the following error:
  ---
  -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
  CMake Error at /tmp/autopkgtest.XpFeRF/build.aQE/real-tree/Tests/RunCMake/RunCMake.cmake:277 (message):
    FindPkgConfig_GET_VARIABLE - FAILED:

    stdout does not match that expected.

    Command was:

     command> "/usr/bin/cmake" "/tmp/autopkgtest.XpFeRF/build.aQE/real-
  tree/Tests/RunCMake/FindPkgConfig" "-G" "Unix Makefiles"
  "-DRunCMake_TEST=FindPkgConfig_GET_VARIABLE" "--no-warn-unused-cli"
  "-DCMAKE_MAKE_PROGRAM=/usr/bin/gmake"

    Expected stdout to match:

     expect-stdout> -- g_ir_scanner: .*/g-ir-scanner

    Actual stdout:

     actual-stdout> Not searching for unused variables given on the command line.
     actual-stdout> -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
     actual-stdout> -- g_ir_scanner: /usr/bin/x86_64-linux-gnu-g-ir-scanner
     actual-stdout> -- Configuring done (0.1s)
     actual-stdout> -- Generating done (0.0s)
     actual-stdout> -- Build files have been written to: /tmp/autopkgtest.XpFeRF/autopkgtest_tmp/Tests/RunCMake/FindPkgConfig/FindPkgConfig_GET_VARIABLE-build

    Expected stderr to match:

     expect-stderr> ^$

    Actual stderr:

     actual-stderr>

  Call Stack (most recent call first):
    /tmp/autopkgtest.XpFeRF/build.aQE/real-tree/Tests/RunCMake/FindPkgConfig/RunCMakeTest.cmake:53 (run_cmake)
  ---

  This is caused by the test asserting line 
  --
  -- g_ir_scanner: */g-ir-scanner
  ---

  but the gobject-introspection actually places /usr/bin/x86_64-linux-
  gnu-g-ir-scanner on disk since 1.79

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/2060252/+subscriptions




More information about the foundations-bugs mailing list