On 2023-05-14, [email protected] wrote: > I encounter an update's problem, 'guix package -u' does not finish > correctly... > > Here's the history and an error log contain about 'cpp-mustache-4.1' ... > In file included from > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include/signal.h:328, > from > /tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6520, > from > /tmp/guix-build-cpp-mustache-4.1.drv-0/source/tests.cpp:32: > /tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6543:33: error: size > of array ‘altStackMem’ is not an integral constant-expression > 6543 | static char altStackMem[SIGSTKSZ]; > | ^~~~~~~~ > /tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6594:45: error: size > of array ‘altStackMem’ is not an integral constant-expression > 6594 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {}; > | ^~~~~~~~ > make[2]: *** [CMakeFiles/mustache.dir/build.make:79: > CMakeFiles/mustache.dir/tests.cpp.o] Error 1
This looks very similar to an issue seen while trying to package fuzzylite, and debian had a patch for it: https://salsa.debian.org/debian/fuzzylite/-/blob/debian/sid/debian/patches/fix-tests2.patch It basically switches to using "catch2" headers instead of "catch" headers... A similar patch might work for cpp-mustache? live well, vagrant
signature.asc
Description: PGP signature
