Subject: bug#51431: closed (Re: bug#51431: faust 2.5.23 fails to build)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 19 Oct 2023 16:13:02 +0000

Your bug report

#51431: faust 2.5.23 fails to build

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
51431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51431
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#51431: faust 2.5.23 fails to build
From: Bruno Victal <[email-masked]>
To: Thorsten Wilms <[email-masked]>
Cc: [email-masked]
Date: Thu, 19 Oct 2023 17:12:24 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Closing, faust has been updated to 2.41.1 in commit
bfec24b11810edcaccb1c57ca493f015287e5ce1 and `guix weather faust'
indicates that substitutes are available. (the package builds)

Additional info:
--8<---------------cut here---------------start------------->8---
$ guix --version
guix (GNU Guix) 3d0cdf963820da665d71987c15cae6e503efc701
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Bruno.

Subject: faust 2.5.23 fails to build
From: Thorsten Wilms <[email-masked]>
To: [email-masked]
Date: Wed, 27 Oct 2021 11:04:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

First, during patch-shebang, it warns about missing python, pure and
ruby.

Then:

```
httpd/HTTPDServer.cpp: In member function ‘bool httpdfaust::HTTPDServer::start(int)’:
httpd/HTTPDServer.cpp:118:118: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}’ to ‘MHD_AccessHandlerCallback {aka MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}’ [-fpermissive]
  fServer = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, port, NULL, NULL, _answer_to_connection, this, MHD_OPTION_END);
                                                                                                                      ^
In file included from httpd/HTTPDServer.h:52:0,
                 from httpd/HTTPDServer.cpp:32:
/gnu/store/wqqh2qj4ahday9qqrs5axhbvy4qkpzx7-libmicrohttpd-0.9.73/include/microhttpd.h:2477:1: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 MHD_start_daemon (unsigned int flags,
 ^~~~~~~~~~~~~~~~
httpd/HTTPDServer.cpp: In member function ‘int httpdfaust::HTTPDServer::answer(MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’:
httpd/HTTPDServer.cpp:224:61: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*)’ to ‘MHD_KeyValueIterator {aka MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*)}’ [-fpermissive]
  MHD_get_connection_values (connection, t, _get_params, &msg);
                                                             ^
In file included from httpd/HTTPDServer.h:52:0,
                 from httpd/HTTPDServer.cpp:32:
/gnu/store/wqqh2qj4ahday9qqrs5axhbvy4qkpzx7-libmicrohttpd-0.9.73/include/microhttpd.h:2782:1: note:   initializing argument 3 of ‘int MHD_get_connection_values(MHD_Connection*, MHD_ValueKind, MHD_KeyValueIterator, void*)’
 MHD_get_connection_values (struct MHD_Connection *connection,
 ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: httpd/HTTPDServer.o] Error 1
```

It continues to do stuff with a whole bunch of warnings,
to finally end with:

```
command "make" "-j" "8" "prefix=/gnu/store/h1mxkm7cvm920bcki8q83zmcf7ljmkjf-faust-2.5.23" "world" failed with status 2
```