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

CI failure w/ SWIG::Python on Ubuntu 24.04 #988

Open
pattacini opened this issue Oct 14, 2024 · 3 comments
Open

CI failure w/ SWIG::Python on Ubuntu 24.04 #988

pattacini opened this issue Oct 14, 2024 · 3 comments
Assignees

Comments

@pattacini
Copy link
Member

Bug description

As of today, the CI fails while Swig compiles icub.i for python:

2024-10-14T06:09:47.4155353Z /home/runner/work/icub-main/icub-main/install/include/yarp/sig/Image.h:42: Error: Type error. Expecting an integral type
...
2024-10-14T06:09:47.4197493Z /home/runner/work/icub-main/icub-main/install/include/yarp/sig/Image.h:68: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.4870606Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IAxisInfo.h:24: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.4873013Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IAxisInfo.h:25: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.4875108Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IAxisInfo.h:27: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.5572523Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IInteractionMode.h:18: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.5574884Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IInteractionMode.h:19: Error: Type error. Expecting an integral type
2024-10-14T06:09:47.5577180Z /home/runner/work/icub-main/icub-main/install/include/yarp/dev/IInteractionMode.h:21: Error: Type error. Expecting an integral type

It seems that there are problems dealing with yarp::conf::createVocab32().

cc @traversaro

Steps to reproduce

Link to failed CI:

Expected behavior

No response

Example repository

No response

Additional context

No response

@pattacini pattacini self-assigned this Oct 14, 2024
@traversaro
Copy link
Member

I guess ubuntu-latest switched from being 22.04 to 24.04 . Ubuntu 24.04 comes with swig 4.2.0, that has some known bugs that are solved in later version of 4.2.1 , for that we are installing a custom (private, so it does not interfere with the rest of the system) swig in the robotology-superbuild when building on 24.04 .

The quickest fix is to go back to 22.04, otherwise to test with 24.04 with apt dependencies we need to manually install a newer swig version.

@pattacini pattacini changed the title CI failure w/ SWIG on Python about createVocab32 CI failure w/ SWIG::Python on Ubuntu 24.04 Oct 14, 2024
@pattacini
Copy link
Member Author

pattacini commented Oct 14, 2024

Thanks @traversaro 👍🏻

Here's for reference the superbuild machinery you mentioned:

If updating via apt is quick (perhaps through a backport), I'll do that, otherwise I'll switch it back to 22.04.

pattacini added a commit that referenced this issue Oct 14, 2024
CI makes use of Ubuntu-22.04 as quick fix for #988.
@pattacini
Copy link
Member Author

Fallback to Ubuntu-22.04 for now.

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

No branches or pull requests

2 participants