Source: syslog-ng Version: 4.4.0-1 Severity: serious Tags: ftbfs patch Forwarded: https://github.com/syslog-ng/syslog-ng/commit/ac13999810bced8f623b0e027579a95f23dc0641
https://buildd.debian.org/status/logs.php?pkg=syslog-ng&ver=4.4.0-2 ... ../../modules/secure-logging/slog.c: In function 'writeKey': ../../modules/secure-logging/slog.c:937:63: error: passing argument 4 of 'g_io_channel_write_chars' from incompatible pointer type [-Wincompatible-pointer-types] 937 | status = g_io_channel_write_chars(keyfile, key, KEY_LENGTH, &outlen, &error); | ^~~~~~~ | | | guint64 * {aka long long unsigned int *} In file included from /usr/include/glib-2.0/glib.h:56, from ../../modules/secure-logging/slog.c:28: /usr/include/glib-2.0/glib/giochannel.h:282:58: note: expected 'gsize *' {aka 'unsigned int *'} but argument is of type 'guint64 *' {aka 'long long unsigned int *'} 282 | gsize *bytes_written, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../modules/secure-logging/slog.c:955:99: error: passing argument 5 of 'cmac' from incompatible pointer type [-Wincompatible-pointer-types] 955 | cmac((guchar *)key, &littleEndianCounter, sizeof(littleEndianCounter), (guchar *)outputmacdata, &outlen, | ^~~~~~~ | | | guint64 * {aka long long unsigned int *} ../../modules/secure-logging/slog.c:427:91: note: expected 'gsize *' {aka 'unsigned int *'} but argument is of type 'guint64 *' {aka 'long long unsigned int *'} 427 | void cmac(unsigned char *key, const void *input, gsize length, unsigned char *out, gsize *outlen, gsize out_capacity) | ~~~~~~~^~~~~~ ../../modules/secure-logging/slog.c:959:74: error: passing argument 4 of 'g_io_channel_write_chars' from incompatible pointer type [-Wincompatible-pointer-types] 959 | status = g_io_channel_write_chars(keyfile, outputmacdata, CMAC_LENGTH, &outlen, &error); | ^~~~~~~ | | | guint64 * {aka long long unsigned int *} /usr/include/glib-2.0/glib/giochannel.h:282:58: note: expected 'gsize *' {aka 'unsigned int *'} but argument is of type 'guint64 *' {aka 'long long unsigned int *'} 282 | gsize *bytes_written, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../modules/secure-logging/slog.c:975:107: error: passing argument 4 of 'g_io_channel_write_chars' from incompatible pointer type [-Wincompatible-pointer-types] 975 | status = g_io_channel_write_chars(keyfile, (gchar *) &littleEndianCounter, sizeof(littleEndianCounter), &outlen, | ^~~~~~~ | | | guint64 * {aka long long unsigned int *} /usr/include/glib-2.0/glib/giochannel.h:282:58: note: expected 'gsize *' {aka 'unsigned int *'} but argument is of type 'guint64 *' {aka 'long long unsigned int *'} 282 | gsize *bytes_written, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ ...