[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1 dependencies couldn't be built. cpp-mustache-4.1
From: |
hub . lombard |
Subject: |
Re: 1 dependencies couldn't be built. cpp-mustache-4.1 |
Date: |
Sun, 14 May 2023 17:42:13 +0200 (CEST) |
Hi Vagrant!
Thank you for your answer, I see what you mean for catch2 instead of catch.
I will investigate by studying the patch you linked.
And btw, thanks a lot for your work with debian!
Kind regards
Hubert
----- Mail original -----
De: "Vagrant Cascadian" <vagrant@debian.org>
À: "hub lombard" <hub.lombard@free.fr>, help-guix@gnu.org
Envoyé: Dimanche 14 Mai 2023 17:16:41
Objet: Re: 1 dependencies couldn't be built. cpp-mustache-4.1
On 2023-05-14, hub.lombard@free.fr 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