Source: xpra
Version: 3.1-1
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

xpra FTBFS with ffmpeg 5.0 in experimental:

x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security 
-g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -Ixpra/codecs/dec_avcodec2 
-I/usr/include/x86_64-linux-gnu -I/usr/include/python3.10 -c 
xpra/codecs/dec_avcodec2/decoder.c -o 
build/temp.linux-x86_64-3.10/xpra/codecs/dec_avcodec2/decoder.o -Wall -Werror 
-Wno-error=strict-prototypes -Wno-error=deprecated-declarations -fPIC -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wno-error=attributes -Wno-error=deprecated-declarations
xpra/codecs/dec_avcodec2/decoder.c: In function 
‘__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_init_context’:
xpra/codecs/dec_avcodec2/decoder.c:5663:23: error: assignment discards ‘const’ 
qualifier from pointer target type [-Werror=discarded-qualifiers]
 5663 |   __pyx_v_self->codec = avcodec_find_decoder(__pyx_v_CodecID);
      |                       ^
xpra/codecs/dec_avcodec2/decoder.c:5858:3: warning: ‘thread_safe_callbacks’ is 
deprecated [-Wdeprecated-declarations]
 5858 |   __pyx_v_self->codec_ctx->thread_safe_callbacks = 1;
      |   ^~~~~~~~~~~~
In file included from xpra/codecs/dec_avcodec2/decoder.c:675:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1479:9: note: declared here
 1479 |     int thread_safe_callbacks;
      |         ^~~~~~~~~~~~~~~~~~~~~
xpra/codecs/dec_avcodec2/decoder.c: In function 
‘__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_26decompress_image’:
xpra/codecs/dec_avcodec2/decoder.c:9318:9: warning: ‘av_init_packet’ is 
deprecated [-Wdeprecated-declarations]
 9318 |         av_init_packet((&__pyx_v_avpkt));
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from xpra/codecs/dec_avcodec2/decoder.c:675:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command '/usr/lib/ccache/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:367: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.10 setup.py build --with-verbose --with-Xdummy 
--without-Xdummy_wrapper --with-html5 --without-minify --without-html5_gzip 

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to