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

python-av FTBFS with ffmpeg 5.0 in experimental:

x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
-fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/src/av/plane.o -lavutil 
-lavcodec -lswresample -lavformat -lavdevice -lswscale -lavfilter -o 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/av/plane.cpython-310-x86_64-linux-gnu.so
building 'av.stream' extension
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 -Iinclude -I/usr/include/x86_64-linux-gnu 
-Ibuild/temp.linux-x86_64-3.10/include -I/usr/include/python3.10 
-I/usr/include/python3.10 -Ibuild/temp.linux-x86_64-3.10/include -c 
src/av/stream.c -o build/temp.linux-x86_64-3.10/src/av/stream.o
src/av/stream.c: In function ‘__pyx_f_2av_6stream_wrap_stream’:
src/av/stream.c:2254:27: error: ‘struct AVStream’ has no member named ‘codec’
 2254 |   switch (__pyx_v_c_stream->codec->codec_type) {
      |                           ^~
src/av/stream.c: In function ‘__pyx_f_2av_6stream_6Stream__init’:
src/av/stream.c:2872:29: error: ‘struct AVStream’ has no member named ‘codec’
 2872 |   __pyx_t_1 = __pyx_v_stream->codec;
      |                             ^~
src/av/stream.c:2992:15: warning: assignment discards ‘const’ qualifier from 
pointer target type [-Wdiscarded-qualifiers]
 2992 |     __pyx_t_6 = __pyx_v_self->_codec_context->codec;
      |               ^
src/av/stream.c: In function ‘__pyx_f_2av_6stream_6Stream__finalize_for_output’:
src/av/stream.c:3685:130: error: ‘struct AVStream’ has no member named ‘codec’
 3685 |   __pyx_t_7 = 
__pyx_f_2av_5error_err_check(avcodec_parameters_from_context(__pyx_v_self->_stream->codecpar,
 __pyx_v_self->_stream->codec), 0, NULL); if (unlikely(__pyx_t_7 == ((int)-1))) 
__PYX_ERR(0, 144, __pyx_L1_error)
      |                                                                         
                                                         ^~
error: command '/usr/lib/ccache/x86_64-linux-gnu-gcc' failed with exit code 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to