Source: aubio
Version: 0.4.9-4.1
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

aubio FTBFS with ffmpeg 5.0 in experimental:

[ 66/232] Compiling tests/src/io/test-sink_wavwrite.c
14:59:53 runner ['/usr/lib/ccache/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', 
'-O2', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-Wformat', '-Werror=format-security', '-fPIC', '-Isrc', '-I../src', '-Itests', 
'-I../tests', '-I/usr/include/opus', '-I/usr/include/x86_64-linux-gnu', 
'-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', 
'-DAUBIO_UNSTABLE_API=1', 
'-DAUBIO_TESTS_SOURCE=/<<PKGBUILDDIR>>/build/tests/44100Hz_44100f_sine441_stereo.wav',
 '../tests/src/io/test-sink_wavwrite.c', '-c', 
'-o/<<PKGBUILDDIR>>/build/tests/src/io/test-sink_wavwrite.c.5.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
../src/io/source_avcodec.c: In function ‘new_aubio_source_avcodec’:
../src/io/source_avcodec.c:195:32: error: ‘AVStream’ has no member named ‘codec’
  195 |     if (avFormatCtx->streams[i]->codec->codec_type == 
AVMEDIA_TYPE_AUDIO) {
      |                                ^~
../src/io/source_avcodec.c:229:53: error: ‘AVStream’ has no member named ‘codec’
  229 |   avCodecCtx = avFormatCtx->streams[selected_stream]->codec;
      |                                                     ^~
../src/io/source_avcodec.c:230:9: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  230 |   codec = avcodec_find_decoder(avCodecCtx->codec_id);
      |         ^
../src/io/source_avcodec.c: In function ‘aubio_source_avcodec_readframe’:
../src/io/source_avcodec.c:381:3: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
  381 |   av_init_packet (&avPacket);
      |   ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from ../src/io/source_avcodec.c:25:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
../src/io/source_avcodec.c:425:9: warning: implicit declaration of function 
‘avcodec_decode_audio4’; did you mean ‘avcodec_decode_subtitle2’? 
[-Wimplicit-function-declaration]
  425 |   len = avcodec_decode_audio4(avCodecCtx, avFrame, &got_frame, 
&avPacket);
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         avcodec_decode_subtitle2

Waf: Leaving directory `/<<PKGBUILDDIR>>/build'
Build failed
 -> task in 'lib_objects' failed with exit status 1: 
        {task 140115336892592: c source_avcodec.c -> source_avcodec.c.1.o}
['/usr/lib/ccache/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', 
'-Werror=format-security', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', 
'-I/usr/include/x86_64-linux-gnu', '-DHAVE_CONFIG_H=1', 
'-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/source_avcodec.c', 
'-c', '-o/<<PKGBUILDDIR>>/build/src/io/source_avcodec.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
make[1]: *** [debian/rules:48: override_dh_auto_build] Error 1


Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to