Source: aubio
Version: 0.4.9-4.1
Severity: important
X-Debbugs-Cc: sramacher@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
We believe that the bug you reported is fixed in the latest version of aubio, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1004787@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated aubio package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 30 Jun 2022 22:35:01 +0200 Source: aubio Architecture: source Version: 0.4.9-4.2 Distribution: unstable Urgency: medium Maintainer: Paul Brossier <piem@debian.org> Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Closes: 1004787 Changes: aubio (0.4.9-4.2) unstable; urgency=medium . * Non-maintainer upload. * Add patch to build against ffmpeg-5.0 (Closes: #1004787) * Add salsa-ci configuration * Call dh_numpy3 to add dependency on numpy abi Checksums-Sha1: ffd2c8b14dc1d512d126b1080135b90538e3a340 2664 aubio_0.4.9-4.2.dsc 8141ae460bcb93750d3550e4302df0c739301bd7 18364 aubio_0.4.9-4.2.debian.tar.xz Checksums-Sha256: 25a36a309d1006a50ac76b1c4a66319dd426128dbc028662d02893bc535e17d5 2664 aubio_0.4.9-4.2.dsc eae02a62d79a73086c7116dfd26342d3dd591eb09ac543f8b00e6231e7fcf275 18364 aubio_0.4.9-4.2.debian.tar.xz Files: 104abb35ae1b5e0658a2410edcf3c02b 2664 sound optional aubio_0.4.9-4.2.dsc 2d15926495689edbc7151738a6bcdc78 18364 sound optional aubio_0.4.9-4.2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmK+kDEACgkQtlAZxH96 NvioxQ/+Ir9ArFV2dSnly0vSQQIA8tRci7YvLzS8QgfaKkW0xvXXFqQwxzi/M1r9 5pkLDAMagSGVXw0jxVncyJXB1WZYIptPlcHmxfuE49YtHNtUH0ZXL/YzXhWZsYm8 kLGtcXegotpgY4C0RvCHo+R0Xi9WkTDGOYcp+SS4vkPhUzFKWC2CPvHizRU/PjiM CDiTn2ENcH6tM8Ilcuygt4APs9OmSJFYAhJZ+79rKhCLI78NiPogiFQvljEm0M1n dWPq+Oe8FQB9xISJD6cqRnz/i73TK6Xxljr4PCS4gP4qdftvVbX3McwcnaXr7e5c abTnlH26FN8GvwjW0CbkmtasdFlCv3R7q6UCruyESJy2oMMANGeK625wjpazjV8p pSZKqSsk5UVwbOwYqmRGoD9D/Wy9PU9gyZC4FZKIM3tIaG3uSVyzlyTAqd4os7Eh KyPkrmHzh1NhLZfkBSxLIThjr5//1I6R53KXl2kOmX2YGa2FqbwU7lGNODfrJ7Dt 2ge6+WrKhBirrG6OeC5dS1mKTfEc1eMji8XRRlFKjYX8E4xd+oJu+rTSairmUhXG dc3U/G3zd1OgGEKMcv3CghPr/hs8aDyAw1iWo3Fn0OCLhKCxJ4mm/B7QInEmVufw myWzRLQ+xOBHpL5aNkbwTxGwRPTDmP9IdKMKQNKmF+FM7i2LWPY= =jXjC -----END PGP SIGNATURE-----
Dear maintainer, I've prepared an NMU for aubio (versioned as 0.4.9-4.2) and uploaded it to DELAYED/0 (:facepalm:, that was actually unintentional, but i guess it's too late now). Please feel free to tell me if I should delay it longer. Regards.