Add build with apt dependencies from Ubuntu 24.04 to docker-build CI #1642
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #1641 .
Main changes on the superbuild side:
setup.sh
of the superbuild). The logic is specific for Ubuntu 24.04 with apt dependencies, as all other Debian distributions either have a newer or older swig version, that are not affected by the problem (see https://repology.org/project/swig/versions). Note that for local builds of yarp and/or icub-main, an easiest workaround is to uninstall theswig
package (that installs swig 4.2.0) and installswig4.1
(that install swig 4.1.0).liboctave-dev
tooctave-dev
to install GNU Octave support. This change requires to drop support forROBOTOLOGY_USES_OCTAVE
with apt dependencies on Ubuntu 20.04ROBOTOLOGY_USES_GAZEBO
, as there are not Ubuntu 24.04 apt binary for Gazebo Classic--break-system-packages
topip uninstall
inrob_sup_pure_python_ycm_ep_helper
, the helper function for pure Python packagesA change is required in yarp, that still needs to be merged:
While we wait for this change to be merged, on Ubuntu 24.04 we will set
YARP_USE_Lua
toOFF
to permit the compilation to complete successfully.Some changes are required in icub-main projects (until those are released,
LatestReleases
does not work on Ubuntu 24.04):