Source: collectd
Version: 5.10.0-1
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/collectd.html
...
src/capabilities.c: In function 'cap_start_daemon':
src/capabilities.c:317:38: error: passing argument 5 of 'MHD_start_daemon' from
incompatible pointer type [-Werror=incompatible-pointer-types]
317 | flags, httpd_port, NULL, NULL, cap_http_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 src/capabilities.c:35:
/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: all warnings being treated as errors
make[2]: *** [Makefile:7625: src/capabilities_la-capabilities.lo] Error 1