Source: libreswan
Version: 3.26-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=libreswan&suite=sid
...
In file included from /<<PKGBUILDDIR>>/lib/libswan/asn1.c:25:
/<<PKGBUILDDIR>>/lib/libswan/asn1.c: In function 'asn1_length_signature':
/<<PKGBUILDDIR>>/lib/libswan/asn1.c:167:28: error: format '%ld' expects
argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned
int'} [-Werror=format=]
DBG(DBG_PARSING, DBG_log(" sig_val len is %ld",sig_val->len));
^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/lswlog.h:295:47: note: in definition of macro 'DBG'
#define DBG(cond, action) { if (DBGP(cond)) { action; } }
^~~~~~
/<<PKGBUILDDIR>>/lib/libswan/asn1.c:187:29: error: format '%ld' expects
argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned
int'} [-Werror=format=]
DBG(DBG_PARSING, DBG_log(" sig_val total len is %ld",sig_val->len));
^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/lswlog.h:295:47: note: in definition of macro 'DBG'
#define DBG(cond, action) { if (DBGP(cond)) { action; } }
^~~~~~
cc1: all warnings being treated as errors
make[5]: *** [../../mk/depend.mk:34: asn1.o] Error 1