[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: |
Mon, 15 May 2023 20:17:26 +0200 (CEST) |
Hi Denis!
Thank you for your answer :) I have downloaded the 2 patches
and I plan to apply it when I have time...
Thanks again for your help!
Kind regards,
Hubert
----- Mail original -----
De: "Denis 'GNUtoo' Carikli" <GNUtoo@cyberdimension.org>
À: "Vagrant Cascadian" <vagrant@debian.org>
Cc: "hub lombard" <hub.lombard@free.fr>, help-guix@gnu.org
Envoyé: Lundi 15 Mai 2023 14:49:37
Objet: Re: 1 dependencies couldn't be built. cpp-mustache-4.1
Hi,
On Sun, 14 May 2023 08:16:41 -0700
Vagrant Cascadian <vagrant@debian.org> wrote:
> 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] = {}; |
> > [CMakeFiles/mustache.dir/build.make:79:
> > CMakeFiles/mustache.dir/tests.cpp.o] Error 1
I had a similar failure.
> A similar patch might work for cpp-mustache?
There are several approaches here and I've patches for two of them if
needed (I've attached them):
(1) backport some upstream patches:
- There are 2 catch2 updates, they can be squashed into 1 patch
- We also need a patch for fixing unused variables.
(2) Update cpp-mustache: There is an upstream commit
(https://github.com/kainjow/Mustache/commit/4ed8c0b5a2a43d59394bd6900dc04e738dbf8c02)
that change some version string. I've asked upstream if that was
the 5.0.0 release but so far I got no answer.
https://github.com/kainjow/Mustache/issues/65
(1) is 0001-gnu-cpp-mustache-fix-build-with-newer-glibc.patch
(2) is 0001-bug-reported-upstream-for-release-info-gnu-cpp-musta.patch
I didn't share the patches yet because I was waiting on upstream to
clarify the situation with the lack of 5.0.0 tag.
Denis.