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

Build fails during CircleCI process, but docker image can be built locally successfully #155

Open
JonSmet opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JonSmet
Copy link
Contributor

JonSmet commented Feb 23, 2024

Summary

In the recent PR #153, the CircleCI process failed during the build when encountering an error for the ssc_pm_lexus package:

-- Could NOT find pacmod_msgs (missing: pacmod_msgs_DIR)
-- Could not find the required component 'pacmod_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "pacmod_msgs" with
  any of the following names:

    pacmod_msgsConfig.cmake
    pacmod_msgs-config.cmake

  Add the installation prefix of "pacmod_msgs" to CMAKE_PREFIX_PATH or set
  "pacmod_msgs_DIR" to a directory containing one of the above files.  If
  "pacmod_msgs" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:24 (find_package)


-- Configuring incomplete, errors occurred!
See also "/opt/carma/build/ssc_pm_lexus/CMakeFiles/CMakeOutput.log".
See also "/opt/carma/build/ssc_pm_lexus/CMakeFiles/CMakeError.log".
-- Found PY_em: /usr/lib/python3/dist-packages/em.py  
-- Using empy: /usr/lib/python3/dist-packages/em.py
--- stderr: ssc_pm_lexus
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "pacmod_msgs" with
  any of the following names:

    pacmod_msgsConfig.cmake
    pacmod_msgs-config.cmake

  Add the installation prefix of "pacmod_msgs" to CMAKE_PREFIX_PATH or set
  "pacmod_msgs_DIR" to a directory containing one of the above files.  If
  "pacmod_msgs" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:24 (find_package)


---
Failed   <<< ssc_pm_lexus [3.70s, exited with code 1]

Commit

ff2bb4f

Expected Behavior

Both the CircleCI build process and a local build should complete successfully.

Actual Behavior

The CircleCI build process fails, but local builds complete successfully.

Steps to Reproduce the Actual Behavior

  1. Run CircleCI process for carma-ssc-interface-wrapper repo.
  2. Verify that build completes successfully; all packages are built

Related Work

No response

@JonSmet JonSmet added the bug Something isn't working label Feb 23, 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
Projects
None yet
Development

No branches or pull requests

1 participant