-
Notifications
You must be signed in to change notification settings - Fork 2
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
Image dockerfile_images/basic/superbuild-icubhead-robometry
fails to complete robotology-superbuild
recompilation
#35
Comments
Hi @Nicogene and @traversaro,
cc: @valegagge |
I did not look into this in detail, but it seems that the docker files here use the
In a nutshell, you can't set the |
I think that is possible and a good practice, as long as you do not set the |
Having said that, indeed the failure is strange. It seems to be related to some kind of failure in the robotology-superbuild once YCM is installed and not bootstrapped? |
Indeed, I reproduced the error in a configuration that should be supported:
it fails with:
|
A fix is provided in robotology/ycm-cmake-modules#468, can you check it @MSECode ? If it works, we can merge, release a YCM 0.18.1, and bump YCM to 0.18.1 in releases/2024.11 branch, so that it is ready for an eventual robotology distro 2024.11.2 (I already had a few fixes that it could make sense to release). |
Thanks @traversaro for the support. |
So, Starting from that, I re-built YCM by switching to the fix branch and by doing so it was then possible to compile all the robotology-superbuild using So, I can consider that the fix worked and thus we can close this issue solved by: robotology/ycm-cmake-modules#468 Thanks @traversaro |
Task description 📝
When children image
dockerfile_images/basic/superbuild-icubhead-robometry
is triggered bydockerfile_images/basic/superbuild-icubhead-withuser
it fails to complete the step where therobotology-superbuild
is re-built. I think that the error is due to the cmake config files in:{CMAKE_INSTALL_PREFIX}/share/cmake/YCM
, since if I delete that folder I do not get any error and the rebuild ends fine.Therefore, the build fails if it found YCM already installed (might be that errors generate while trying to override some YCM config files?). If YCM it is not found the build ends clean.
The stack trace is the following:
Moreover, I can see that in the first error line of the call stack we are looking for a file that actually does not exist. Should we update the file path the build is looking for??
Definition of Done ✅
Issue solved and build completes without removing
{CMAKE_INSTALL_PREFIX}/share/cmake/YCM
folder.cc: @valegagge
The text was updated successfully, but these errors were encountered: