Source: pidgin-sipe
Version: 1.25.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -Werror -Wall -Wextra 
> -Waggregate-return -Wcast-align -Wcast-function-type 
> -Wdeclaration-after-statement -Wdeprecated-declarations 
> -Wduplicate-decl-specifier -Winit-self -Wmaybe-uninitialized 
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
> -Wunused-but-set-variable -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DLOCALEDIR=\"/usr/share/locale\" -I./../api -isystem /usr/include/mit-krb5  
> -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freerdp2/ 
> -I/usr/include/winpr2  -I/usr/include/nss -I/usr/include/nspr  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o libsipe_core_crypto_la-sipe-cert-crypto-nss.lo 
> `test -f 'sipe-cert-crypto-nss.c' || echo './'`sipe-cert-crypto-nss.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Werror -Wall -Wextra -Waggregate-return -Wcast-align 
> -Wcast-function-type -Wdeclaration-after-statement -Wdeprecated-declarations 
> -Wduplicate-decl-specifier -Winit-self -Wmaybe-uninitialized 
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
> -Wunused-but-set-variable -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DLOCALEDIR=\"/usr/share/locale\" -I./../api -isystem /usr/include/mit-krb5 
> -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freerdp2/ 
> -I/usr/include/winpr2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c sipe-tls.c  
> -fPIC -DPIC -o .libs/libsipe_core_la-sipe-tls.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Werror -Wall -Wextra -Waggregate-return -Wcast-align 
> -Wcast-function-type -Wdeclaration-after-statement -Wdeprecated-declarations 
> -Wduplicate-decl-specifier -Winit-self -Wmaybe-uninitialized 
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
> -Wunused-but-set-variable -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -DLOCALEDIR=\"/usr/share/locale\" -I./../api -isystem /usr/include/mit-krb5 
> -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freerdp2/ 
> -I/usr/include/winpr2 -I/usr/include/nss -I/usr/include/nspr -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -c sipe-cert-crypto-nss.c  -fPIC -DPIC -o 
> .libs/libsipe_core_crypto_la-sipe-cert-crypto-nss.o
> sipe-tls-tester.c: In function ‘read_tls_record’:
> sipe-tls-tester.c:158:17: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' 
> instead [-Werror=deprecated-declarations]
>   158 |                 record->msg     = g_memdup(buffer, result);
>       |                 ^~~~~~
> In file included from /usr/include/glib-2.0/glib.h:82,
>                  from sipe-tls-tester.c:61:
> /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
>   257 | gpointer              g_memdup         (gconstpointer mem,
>       |                       ^~~~~~~~
> sipe-tls.c: In function ‘sipe_tls_prf’:
> sipe-tls.c:430:9: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead 
> [-Werror=deprecated-declarations]
>   430 |         guchar *secret2 = g_memdup(secret + secret_length - half, 
> half);
>       |         ^~~~~~
> In file included from /usr/include/glib-2.0/glib.h:82,
>                  from sipe-tls.c:41:
> /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
>   257 | gpointer              g_memdup         (gconstpointer mem,
>       |                       ^~~~~~~~
> sipe-tls.c: In function ‘tls_client_key_exchange’:
> sipe-tls.c:1528:9: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead 
> [-Werror=deprecated-declarations]
>  1528 |         state->server_random.buffer = g_memdup(server_random->data,
>       |         ^~~~~
> In file included from /usr/include/glib-2.0/glib.h:82,
>                  from sipe-tls.c:41:
> /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
>   257 | gpointer              g_memdup         (gconstpointer mem,
>       |                       ^~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [Makefile:1905: sipe_tls_tester-sipe-tls-tester.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pidgin-sipe_1.25.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to