Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 gz-msgs11-debbuilder failing to find gz-utils3-cli #425

Closed
Crola1702 opened this issue Jan 30, 2024 · 1 comment · Fixed by gazebo-release/gz-msgs11-release#2
Labels
bug Something isn't working 🏛️ ionic Gazebo Ionic

Comments

@Crola1702
Copy link

Crola1702 commented Jan 30, 2024

Environment

  • OS Version: Ubuntu Jammy
  • Binary harmonic build

Description

  • Expected behavior: debbuilder should pass
  • Actual behavior: debbuilder is failing

Steps to reproduce

  1. Run a build in https://build.osrfoundation.org/job/gz-msgs11-debbuilder/
  2. See the build fail

Output

Reference build: https://build.osrfoundation.org/job/gz-msgs11-debbuilder/107/consoleFull

Log output:
-- Searching for <gz-utils3> component [cli]
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  By not providing "Findgz-utils3-cli.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "gz-utils3-cli", but CMake did not find one.

  Could not find a package configuration file provided by "gz-utils3-cli"
  (requested version 3.0.0) with any of the following names:

    gz-utils3-cliConfig.cmake
    gz-utils3-cli-config.cmake

  Add the installation prefix of "gz-utils3-cli" to CMAKE_PREFIX_PATH or set
  "gz-utils3-cli_DIR" to a directory containing one of the above files.  If
  "gz-utils3-cli" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/gz-utils3/gz-utils3-config.cmake:201 (find_dependency)
  /usr/share/cmake/gz-cmake4/cmake4/GzFindPackage.cmake:201 (find_package)
  CMakeLists.txt:80 (gz_find_package)



CMake Warning at /usr/share/cmake/gz-cmake4/cmake4/GzFindPackage.cmake:201 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/gz-utils3/gz-utils3-config.cmake

  but it set gz-utils3_FOUND to FALSE so package "gz-utils3" is considered to
  be NOT FOUND.  Reason given by package:

  gz-utils3 could not be found because dependency gz-utils3-cli could not be
  found.

Call Stack (most recent call first):
  CMakeLists.txt:80 (gz_find_package)


-- Looking for gz-utils3 - not found

CMake Error at /usr/share/cmake/gz-cmake4/cmake4/GzConfigureBuild.cmake:63 (message):
  -- BUILD ERRORS: These must be resolved before compiling.
Call Stack (most recent call first):
  CMakeLists.txt:127 (gz_configure_build)


CMake Error at /usr/share/cmake/gz-cmake4/cmake4/GzConfigureBuild.cmake:65 (message):
  -- 	Missing dependency [gz-utils3] (Components: cli)
Call Stack (most recent call first):
  CMakeLists.txt:127 (gz_configure_build)


CMake Error at /usr/share/cmake/gz-cmake4/cmake4/GzConfigureBuild.cmake:67 (message):
  -- END BUILD ERRORS

Call Stack (most recent call first):
  CMakeLists.txt:127 (gz_configure_build)


CMake Error at /usr/share/cmake/gz-cmake4/cmake4/GzConfigureBuild.cmake:72 (message):
  Errors encountered in build.  Please see BUILD ERRORS above.
Call Stack (most recent call first):
  CMakeLists.txt:127 (gz_configure_build)

...

dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON -DUSE_DIST_PACKAGES_FOR_PYTHON=ON .. returned exit code 1
make[1]: *** [debian/rules:9: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/gz-msgs11-debbuilder/build/gz-msgs'

The output says gz-utils3-cli is missing and I don't see it listed as a dependency on any CMakeLists.txt

@Crola1702 Crola1702 added bug Something isn't working 🏛️ ionic Gazebo Ionic labels Jan 30, 2024
@Crola1702 Crola1702 moved this to Reported 📚 in Buildfarm Issues Jan 30, 2024
@Crola1702 Crola1702 changed the title 🧑‍🌾 gz-msgs11-debbuilder failing to fin gz-utils3-cli 🧑‍🌾 gz-msgs11-debbuilder failing to find gz-utils3-cli Feb 5, 2024
@claraberendsen
Copy link

claraberendsen commented Feb 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants