Sebastian Ramacher
2024-06-02 13:20:02 UTC
Reply
PermalinkVersion: 0.4.9-4.4
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0
Hi,
during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build.
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 ./waf build --verbose --destdir=debian/tmp --prefix=/usr --enable-fftw3f --libdir=/usr/lib/aarch64-linux-gnu
Waf: Entering directory `/<<PKGBUILDDIR>>/build'
Sphinx manual: install aubio first
[ 1/231] Compiling src/spectral/dct.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/spectral/dct.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/spectral/dct.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 2/231] Compiling src/io/utils_apple_audio.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/utils_apple_audio.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/utils_apple_audio.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 3/231] Compiling src/io/sink_apple_audio.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/sink_apple_audio.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/sink_apple_audio.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 4/231] Compiling src/fvec.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/fvec.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/fvec.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 5/231] Compiling src/vecutils.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/vecutils.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/vecutils.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 6/231] Compiling src/io/source_wavread.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/source_wavread.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/source_wavread.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 7/231] Compiling src/utils/parameter.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/parameter.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/parameter.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 8/231] Compiling src/pitch/pitchyinfast.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchyinfast.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchyinfast.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 9/231] Compiling src/utils/log.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/log.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/log.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 10/231] Compiling src/utils/hist.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/hist.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/hist.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 11/231] Compiling src/pitch/pitchyin.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchyin.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchyin.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 12/231] Compiling src/io/source_sndfile.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/source_sndfile.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/source_sndfile.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 13/231] Compiling src/io/sink.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/sink.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/sink.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 14/231] Compiling src/temporal/resampler.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/resampler.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/resampler.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 15/231] Compiling src/temporal/filter.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/filter.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/filter.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 16/231] Compiling src/pitch/pitchspecacf.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchspecacf.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchspecacf.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 17/231] Compiling src/temporal/c_weighting.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/c_weighting.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/c_weighting.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 18/231] Compiling src/temporal/biquad.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/biquad.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/biquad.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 19/231] Compiling src/pitch/pitchschmitt.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchschmitt.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchschmitt.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 20/231] Compiling src/io/source_avcodec.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-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']
../src/io/source_avcodec.c:222:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
222 | codec = avcodec_find_decoder(codecpar->codec_id);
| ^
../src/io/source_avcodec.c:266:35: error: ‘AVCodecContext’ has no member named ‘channels’
266 | s->input_channels = avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:319:28: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
319 | int64_t input_layout = av_get_default_channel_layout(s->input_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/io/source_avcodec.c:376:67: error: ‘AVCodecContext’ has no member named ‘channels’
376 | int max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:385:3: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
385 | av_init_packet (&avPacket);
| ^~~~~~~~~~~~~~
In file included from /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:44,
/usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
653 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
../src/io/source_avcodec.c:443:14: error: ‘AVFrame’ has no member named ‘channels’
443 | if (avFrame->channels != (sint_t)s->input_channels) {
| ^~
../src/io/source_avcodec.c:446:16: error: ‘AVFrame’ has no member named ‘channels’
446 | avFrame->channels, s->input_channels, s->path);
| ^~
../src/aubio_priv.h:240:81: note: in definition of macro ‘AUBIO_WRN’
240 | #define AUBIO_WRN(...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__)
| ^~~~~~~~~~~
../src/io/source_avcodec.c:465:63: error: ‘AVCodecContext’ has no member named ‘channels’
465 | max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:615:30: warning: the comparison will always evaluate as ‘true’ for the address of ‘avFormatCtx’ will never be NULL [-Waddress]
615 | if (s && &(s->avFormatCtx) != NULL) {
| ^~
../src/io/source_avcodec.c:86:20: note: ‘avFormatCtx’ declared here
86 | AVFormatContext *avFormatCtx;
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
Waf: Leaving directory `/<<PKGBUILDDIR>>/build'
Build failed
{task 281472818267424: c source_avcodec.c -> source_avcodec.c.1.o}
['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-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
The full build log is available from:python3 ./waf build --verbose --destdir=debian/tmp --prefix=/usr --enable-fftw3f --libdir=/usr/lib/aarch64-linux-gnu
Waf: Entering directory `/<<PKGBUILDDIR>>/build'
Sphinx manual: install aubio first
[ 1/231] Compiling src/spectral/dct.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/spectral/dct.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/spectral/dct.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 2/231] Compiling src/io/utils_apple_audio.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/utils_apple_audio.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/utils_apple_audio.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 3/231] Compiling src/io/sink_apple_audio.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/sink_apple_audio.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/sink_apple_audio.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 4/231] Compiling src/fvec.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/fvec.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/fvec.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 5/231] Compiling src/vecutils.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/vecutils.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/vecutils.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 6/231] Compiling src/io/source_wavread.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/source_wavread.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/source_wavread.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 7/231] Compiling src/utils/parameter.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/parameter.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/parameter.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 8/231] Compiling src/pitch/pitchyinfast.c
10:30:54 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchyinfast.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchyinfast.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 9/231] Compiling src/utils/log.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/log.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/log.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 10/231] Compiling src/utils/hist.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/utils/hist.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/utils/hist.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 11/231] Compiling src/pitch/pitchyin.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchyin.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchyin.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 12/231] Compiling src/io/source_sndfile.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/source_sndfile.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/source_sndfile.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 13/231] Compiling src/io/sink.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/io/sink.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/io/sink.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 14/231] Compiling src/temporal/resampler.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/resampler.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/resampler.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 15/231] Compiling src/temporal/filter.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/filter.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/filter.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 16/231] Compiling src/pitch/pitchspecacf.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchspecacf.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchspecacf.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 17/231] Compiling src/temporal/c_weighting.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/c_weighting.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/c_weighting.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 18/231] Compiling src/temporal/biquad.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/temporal/biquad.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/temporal/biquad.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 19/231] Compiling src/pitch/pitchschmitt.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-linux-gnu', '-DHAVE_CONFIG_H=1', '-DAUBIO_PREFIX="/usr"', '-DPACKAGE="aubio"', '../src/pitch/pitchschmitt.c', '-c', '-o/<<PKGBUILDDIR>>/build/src/pitch/pitchschmitt.c.1.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 20/231] Compiling src/io/source_avcodec.c
10:30:55 runner ['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-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']
../src/io/source_avcodec.c:222:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
222 | codec = avcodec_find_decoder(codecpar->codec_id);
| ^
../src/io/source_avcodec.c:266:35: error: ‘AVCodecContext’ has no member named ‘channels’
266 | s->input_channels = avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:319:28: error: implicit declaration of function ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
319 | int64_t input_layout = av_get_default_channel_layout(s->input_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/io/source_avcodec.c:376:67: error: ‘AVCodecContext’ has no member named ‘channels’
376 | int max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:385:3: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
385 | av_init_packet (&avPacket);
| ^~~~~~~~~~~~~~
In file included from /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:44,
/usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
653 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
../src/io/source_avcodec.c:443:14: error: ‘AVFrame’ has no member named ‘channels’
443 | if (avFrame->channels != (sint_t)s->input_channels) {
| ^~
../src/io/source_avcodec.c:446:16: error: ‘AVFrame’ has no member named ‘channels’
446 | avFrame->channels, s->input_channels, s->path);
| ^~
../src/aubio_priv.h:240:81: note: in definition of macro ‘AUBIO_WRN’
240 | #define AUBIO_WRN(...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__)
| ^~~~~~~~~~~
../src/io/source_avcodec.c:465:63: error: ‘AVCodecContext’ has no member named ‘channels’
465 | max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels;
| ^~
../src/io/source_avcodec.c:615:30: warning: the comparison will always evaluate as ‘true’ for the address of ‘avFormatCtx’ will never be NULL [-Waddress]
615 | if (s && &(s->avFormatCtx) != NULL) {
| ^~
../src/io/source_avcodec.c:86:20: note: ‘avFormatCtx’ declared here
86 | AVFormatContext *avFormatCtx;
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
Waf: Leaving directory `/<<PKGBUILDDIR>>/build'
Build failed
{task 281472818267424: c source_avcodec.c -> source_avcodec.c.1.o}
['/usr/bin/gcc', '-g', '-Wall', '-Wextra', '-O2', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-mbranch-protection=standard', '-fPIC', '-Isrc', '-I../src', '-I/usr/include/opus', '-I/usr/include/aarch64-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
https://people.debian.org/~sramacher/ffmpeg-7.0/aubio_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher
Sebastian Ramacher