unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: hub.lombard@free.fr
To: Vagrant Cascadian <vagrant@debian.org>
Cc: help-guix@gnu.org
Subject: Re: 1 dependencies couldn't be built. cpp-mustache-4.1
Date: Sun, 14 May 2023 17:42:13 +0200 (CEST)	[thread overview]
Message-ID: <1879039819.708677741.1684078933963.JavaMail.root@zimbra49-e8.priv.proxad.net> (raw)
In-Reply-To: <87o7mnlz8m.fsf@wireframe>

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


  reply	other threads:[~2023-05-14 15:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2074528809.707359788.1684054259894.JavaMail.root@zimbra49-e8.priv.proxad.net>
2023-05-14  8:55 ` 1 dependencies couldn't be built. cpp-mustache-4.1 hub.lombard
2023-05-14 15:16   ` Vagrant Cascadian
2023-05-14 15:42     ` hub.lombard [this message]
2023-05-15 12:49     ` Denis 'GNUtoo' Carikli
2023-05-15 18:17       ` hub.lombard
2023-05-15 23:19         ` Denis 'GNUtoo' Carikli
2023-05-16  6:06           ` hub.lombard
2023-05-17 10:44       ` cpp-mustache-4.1 build fails Giovanni Biscuolo
2023-05-17 12:07         ` Denis 'GNUtoo' Carikli
2023-05-17 13:35           ` hub.lombard
2023-05-17 13:35             ` bug#63551: " hub.lombard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1879039819.708677741.1684078933963.JavaMail.root@zimbra49-e8.priv.proxad.net \
    --to=hub.lombard@free.fr \
    --cc=help-guix@gnu.org \
    --cc=vagrant@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).