Bug#1017161: gringo: FTBFS: catch.hpp:6415:41: error: array bound is not an integer constant before ‘]’ token

s3v c0llapsed at yahoo.it
Fri Oct 28 21:16:29 BST 2022


Dear Maintainer,

[...]
> In file included from /<<PKGBUILDDIR>>/clasp/libpotassco/tests/main.cpp:19:
> /<<PKGBUILDDIR>>/clasp/libpotassco/tests/catch.hpp:6415:41: error: array bound is not an integer constant before ‘]’ token
>  6415 |         static char altStackMem[SIGSTKSZ];
>       |                                         ^
> /<<PKGBUILDDIR>>/clasp/libpotassco/tests/catch.hpp: In constructor ‘Catch::FatalConditionHandler::FatalConditionHandler()’:
> /<<PKGBUILDDIR>>/clasp/libpotassco/tests/catch.hpp:6434:30: error: ‘altStackMem’ was not declared in this scope
>  6434 |             sigStack.ss_sp = altStackMem;
>       |                              ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/clasp/libpotassco/tests/catch.hpp: At global scope:
> /<<PKGBUILDDIR>>/clasp/libpotassco/tests/catch.hpp:6466:53: error: array bound is not an integer constant before ‘]’ token
>  6466 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
>       |                                                     ^
> [ 11%] Linking CXX executable ../../../bin/lpconvert
[...]

I guess the failure is a consequence of a bug in clasp that affects your package.
Please see [1] for reference.

Kind Regards

[1] https://github.com/potassco/libpotassco/issues/12



More information about the debian-science-maintainers mailing list