FS#67208 - [systemd] Doesn't build with libmicrohttpd 0.9.71-1
Attached to Project:
Arch Linux
Opened by Felix Yan (felixonmars) - Monday, 06 July 2020, 22:15 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 07 July 2020, 08:54 GMT
Opened by Felix Yan (felixonmars) - Monday, 06 July 2020, 22:15 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 07 July 2020, 08:54 GMT
|
Details
Description:
../systemd-stable/src/journal-remote/journal-gatewayd.c: In function 'request_parse_arguments': ../systemd-stable/src/journal-remote/journal-gatewayd.c:458:70: error: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Werror=incompatible-pointer-types] 458 | MHD_get_connection_values(connection, MHD_GET_ARGUMENT_KIND, request_parse_arguments_iterator, m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *, enum MHD_ValueKind, const char *, const char *) In file included from ../systemd-stable/src/journal-remote/journal-gatewayd.c:5: /usr/include/microhttpd.h:2699:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 2699 | MHD_KeyValueIterator iterator, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../systemd-stable/src/journal-remote/journal-gatewayd.c: In function 'run': ../systemd-stable/src/journal-remote/journal-gatewayd.c:1037:30: error: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Werror=incompatible-pointer-types] 1037 | request_handler, NULL, | ^~~~~~~~~~~~~~~ | | | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} In file included from ../systemd-stable/src/journal-remote/journal-gatewayd.c:5: /usr/include/microhttpd.h:2425:1: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 2425 | MHD_start_daemon (unsigned int flags, | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors [776/1899] Compiling C object 'systemd-journal-remote@exe/src_journal-remote_journal-remote-main.c.o' FAILED: systemd-journal-remote@exe/src_journal-remote_journal-remote-main.c.o Additional info: * package version(s) systemd 245.6-8 |
This task depends upon
Closed by Christian Hesse (eworm)
Tuesday, 07 July 2020, 08:54 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
Tuesday, 07 July 2020, 08:54 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
https://git.gnunet.org/libmicrohttpd.git/commit/?id=6347f514aa2388e774d5bf356df8046864e5f73c