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

Scheduled CI is failing since December 2022 #132

Closed
traversaro opened this issue Jun 5, 2023 · 0 comments · Fixed by #133
Closed

Scheduled CI is failing since December 2022 #132

traversaro opened this issue Jun 5, 2023 · 0 comments · Fixed by #133

Comments

@traversaro
Copy link
Member

traversaro commented Jun 5, 2023

See https://github.com/robotology/osqp-eigen/actions/runs/3635274476 . I can't see log because they experied, but recent CI runs fail with:

[ 35%] Building CXX object CMakeFiles/CatchTestMain.dir/Testing/Catch2Main.cpp.o
In file included from /usr/include/signal.h:328,
                 from /home/runner/work/osqp-eigen/osqp-eigen/install/deps/include/catch2/catch.hpp:8007,
                 from /home/runner/work/osqp-eigen/osqp-eigen/build/Testing/Catch2Main.cpp:9:
/home/runner/work/osqp-eigen/osqp-eigen/install/deps/include/catch2/catch.hpp:10791:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
10791 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from /home/runner/work/osqp-eigen/osqp-eigen/install/deps/include/catch2/catch.hpp:8007,
                 from /home/runner/work/osqp-eigen/osqp-eigen/build/Testing/Catch2Main.cpp:9:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
In file included from /home/runner/work/osqp-eigen/osqp-eigen/build/Testing/Catch2Main.cpp:9:
/home/runner/work/osqp-eigen/osqp-eigen/install/deps/include/catch2/catch.hpp:10850:45: error: size of array ‘altStackMem’ is not an integral constant-expression
10850 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                             ^~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/CatchTestMain.dir/build.make:76: CMakeFiles/CatchTestMain.dir/Testing/Catch2Main.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:893: CMakeFiles/CatchTestMain.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Probably it is just a problem of too recent or too old catch or similar, see catchorg/Catch2#2421 .

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

Successfully merging a pull request may close this issue.

1 participant