[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002194: guacamole-server: FTBFS: rdp.c:440:5: error: ‘VerifyCertificate’ is deprecated [-Werror=deprecated-declarations]



Source: guacamole-server
Version: 1.3.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

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 -Iinclude -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -I/usr/include/freerdp2/ -I/usr/include/winpr2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libguac_client_rdp_la-rdp.lo `test -f 'rdp.c' || echo './'`rdp.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wall -Iinclude -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -I/usr/include/freerdp2/ -I/usr/include/winpr2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c rdp.c  -fPIC -DPIC -o .libs/libguac_client_rdp_la-rdp.o
> rdp.c: In function ‘guac_rdp_handle_connection’:
> rdp.c:440:5: error: ‘VerifyCertificate’ is deprecated [-Werror=deprecated-declarations]
>   440 |     rdp_inst->VerifyCertificate = rdp_freerdp_verify_certificate;
>       |     ^~~~~~~~
> In file included from /usr/include/freerdp2/freerdp/api.h:23,
>                  from /usr/include/freerdp2/freerdp/freerdp.h:42,
>                  from beep.h:23,
>                  from rdp.c:21:
> /usr/include/freerdp2/freerdp/freerdp.h:368:61: note: declared here
>   368 |                 WINPR_DEPRECATED(ALIGN64 pVerifyCertificate VerifyCertificate); /**< (offset 51)
>       |                                                             ^~~~~~~~~~~~~~~~~
> /usr/include/winpr2/winpr/winpr.h:53:31: note: in definition of macro ‘WINPR_DEPRECATED’
>    53 | #define WINPR_DEPRECATED(obj) obj __attribute__((deprecated))
>       |                               ^~~
> cc1: all warnings being treated as errors
> make[5]: *** [Makefile:1335: libguac_client_rdp_la-rdp.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/guacamole-server_1.3.0-1_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 to: