Source: virtuoso-opensource Severity: serious Tags: ftbfs sid Justification: FTBFS
Dear Maintainer, Your package FTBFS: Dksesstr.c: In function 'strdev_free_buf': Dksesstr.c:152:44: warning: unused parameter 'arg' [-Wunused-parameter] 152 | strdev_free_buf (buffer_elt_t * b, caddr_t arg) | ~~~~~~~~^~~ Dksesstr.c: In function 'strdev_write': Dksesstr.c:282:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 282 | if (len == -1) | ^~ Dksesstr.c:359:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 359 | if (filled == (size_t) - 1) | ^~ Dksesstr.c: In function 'strses_chars_length': Dksesstr.c:710:41: error: passing argument 2 of 'virt_mbsnrtowcs' from incompatible pointer type [-Wincompatible-pointer-types] 710 | last_len = virt_mbsnrtowcs (NULL, &ptr, ses->dks_out_fill, 0, &mb); | ^~~~ | | | unsigned char ** in file included from ../../libsrc/libutil.h:41, from dksesstr.c:29: ../../libsrc/util/utf8funs.h:52:68: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ dksesstr.c: in function 'strses_write_out': dksesstr.c:775:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-wsign-compare] 775 | if (-1 == readed) | ^~ Dksesstr.c: In function 'strses_skip_wchars': Dksesstr.c:842:47: warning: unused parameter 'nbytes' [-Wunused-parameter] 842 | strses_skip_wchars (unsigned char *data, long nbytes, long ofs) | ~~~~~^~~~~~ Dksesstr.c: In function 'strses_deserialize': Dksesstr.c:982:51: warning: unused parameter 'macro' [-Wunused-parameter] 982 | strses_deserialize (dk_session_t * session, dtp_t macro) | ~~~~~~^~~~~ Dksesstr.c: In function 'strses_get_part_1': Dksesstr.c:1338:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1338 | if (readed == -1) | ^~ Dksesstr.c:1348:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1348 | if (readed == -1) | ^~ Dksesstr.c:1373:51: error: passing argument 2 of 'virt_mbsnrtowcs' from incompatible pointer type [-Wincompatible-pointer-types] 1373 | last_len_chars = virt_mbsnrtowcs (NULL, &ptr, ses->dks_out_fill, 0, &mb); | ^~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ dksesstr.c:1374:30: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-wsign-compare] 1374 | if (last_len_chars == (size_t) - 1) | ^~ Dksesstr.c: In function 'read_wides_from_utf8_file': Dksesstr.c:1461:58: error: passing argument 2 of 'virt_mbsnrtowcs' from incompatible pointer type [-Wincompatible-pointer-types] 1461 | converted = virt_mbsnrtowcs ((wchar_t *) dest, &data_ptr, readed, nchars, &mb); | ^~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ Dksesstr.c: In function 'strses_get_wide_part': Dksesstr.c:1505:37: error: passing argument 2 of 'virt_mbsnrtowcs' from incompatible pointer type [-Wincompatible-pointer-types] 1505 | if (virt_mbsnrtowcs (buf, &data_ptr, | ^~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ dksesstr.c:1549:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-wsign-compare] 1549 | if (-1 == readed) | ^~ Dksesstr.c:1578:50: error: passing argument 2 of 'virt_mbsnrtowcs' from incompatible pointer type [-Wincompatible-pointer-types] 1578 | if ((converted = virt_mbsnrtowcs (buf, &data_ptr_start, | ^~~~~~~~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected 'const unsigned char **' but argument is of type 'unsigned char **' 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ dksesstr.c: in function 'strses_readtable_initialize': dksesstr.c:1793:37: warning: cast between incompatible function types from 'void (*)(char *, dk_session_t *)' {aka 'void (*)(char *, struct dk_session_s *)'} to 'int (*)(const void *, dk_session_t *)' {aka 'int (*)(const void *, struct dk_session_s *)'} [-wcast-function-type] 1793 | prpcsetwriter (dv_string_session, (ses_write_func) strses_serialize); | ^ make[4]: *** [makefile:1241: libdksrv_la-dksesstr.lo] error 1
signature.asc
Description: This is a digitally signed message part.