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

Conda package generation failure in late October 2021 #907

Closed
traversaro opened this issue Oct 26, 2021 · 2 comments · Fixed by #909
Closed

Conda package generation failure in late October 2021 #907

traversaro opened this issue Oct 26, 2021 · 2 comments · Fixed by #909

Comments

@traversaro
Copy link
Member

An all OSs the Generate conda packages job is failing with error similar to:

2021-10-26T01:52:47.3685722Z %SRC_DIR%\build\bindings\python\bipedal_locomotion_framework.cpp(28,10): fatal error C1083: Cannot open include file: 'BipedalLocomotion/bindings/Planners/Module.h': No such file or directory [%SRC_DIR%\build\bindings\python\pybind11_blf.vcxproj]

or

2021-10-26T01:27:02.7076670Z [101/148] Building CXX object bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o
2021-10-26T01:27:02.7077640Z FAILED: bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o 
2021-10-26T01:27:05.6643273Z $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_SHARED_LIB -Dpybind11_blf_EXPORTS -I$SRC_DIR/bindings/python/System/include -I$SRC_DIR/bindings/python/ParametersHandler/include -I$SRC_DIR/bindings/python/Contacts/include -I$SRC_DIR/bindings/python/RobotInterface/include -I$SRC_DIR/bindings/python/Math/include -I$SRC_DIR/bindings/python/FloatingBaseEstimators/include -I$SRC_DIR/bindings/python/IK/include -I$SRC_DIR/bindings/python/TextLogging/include -I$SRC_DIR/src/System/include -I$SRC_DIR/src/ParametersHandler/include -I$SRC_DIR/src/GenericContainer/include -I$SRC_DIR/src/TextLogging/include -I$SRC_DIR/src/ParametersHandler/YarpImplementation/include -I$SRC_DIR/src/YarpUtilities/include -I$SRC_DIR/src/Contacts/include -I$SRC_DIR/src/Math/include -I$SRC_DIR/src/RobotInterface/include -I$SRC_DIR/src/RobotInterface/YarpImplementation/include -I$SRC_DIR/src/Estimators/include -I$SRC_DIR/src/Conversions/include -I$SRC_DIR/src/IK/include -isystem $PREFIX/include/python3.7m -isystem $PREFIX/include/eigen3 -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/bipedal-locomotion-framework-0.4.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -MD -MT bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o -MF bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o.d -o bindings/python/CMakeFiles/pybind11_blf.dir/bipedal_locomotion_framework.cpp.o -c $SRC_DIR/build/bindings/python/bipedal_locomotion_framework.cpp
2021-10-26T01:27:05.6653139Z $SRC_DIR/build/bindings/python/bipedal_locomotion_framework.cpp:28:10: fatal error: BipedalLocomotion/bindings/Planners/Module.h: No such file or directory
2021-10-26T01:27:05.6654409Z    28 | #include <BipedalLocomotion/bindings/Planners/Module.h>

See https://github.com/robotology/robotology-superbuild/actions/runs/1383461585 .

As we do not have any failure in normal CI, my guess is some dependency required for Planners/Bindings that is installed for the robotology-superbuild as an whole, but is not listed as a blf dependency in

list(APPEND bipedal-locomotion-framework_CONDA_DEPENDENCIES spdlog)
. Note that qhull/cppad and all other dependencies that are part of the superbuild should already be covered as the fact that they are a conda-forge-provided dependency is encoded via the <pkg_name>_CONDA_PKG_CONDA_FORGE_OVERRIDE CMake option, see
set(CppAD_CONDA_PKG_CONDA_FORGE_OVERRIDE ON)
and https://github.com/robotology/robotology-superbuild/blob/b1fa7c785c7269db968dbc1141ad420faaa1bcf2/doc/developers-faqs.md#how-to-ensure-that-binary-packages-are-correctly-generated-for-a-new-package .

@traversaro
Copy link
Member Author

As we do not have any failure in normal CI, my guess is some dependency required for Planners/Bindings that is installed for the robotology-superbuild as an whole

Actually the planners component seems to be built.

@traversaro
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant