Source: moc
Version: 1:2.6.0~svn-r3005-3.1
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
Relevant part (hopefully):
> /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../.. -I/usr/include/aarch64-linux-gnu -I../.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
> -I/usr/include/aarch64-linux-gnu -I../.. -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wextra
> -I/usr/include/aarch64-linux-gnu -c -o libffmpeg_decoder_la-ffmpeg.lo
> `test -f 'ffmpeg.c' || echo './'`ffmpeg.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
> -I/usr/include/aarch64-linux-gnu -I../.. -Wdate-time -D_FORTIFY_SOURCE=2
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/aarch64-linux-gnu
> -I../.. -g -O2 -Werror=implicit-function-declaration
> "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security
> -mbranch-protection=standard -Wall -pedantic -Wextra
> -I/usr/include/aarch64-linux-gnu -c ffmpeg.c -fPIC -DPIC -o
> .libs/libffmpeg_decoder_la-ffmpeg.o
> ffmpeg.c: In function ‘set_downmixing’:
> ffmpeg.c:565:13: error: implicit declaration of function
> ‘av_get_channel_layout_nb_channels’ [-Werror=implicit-function-declaration]
> 565 | if (av_get_channel_layout_nb_channels
> (data->enc->channel_layout) <= 2)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ffmpeg.c:565:59: error: ‘AVCodecContext’ has no member named
> ‘channel_layout’; did you mean ‘ch_layout’?
> 565 | if (av_get_channel_layout_nb_channels
> (data->enc->channel_layout) <= 2)
> |
> ^~~~~~~~~~~~~~
> | ch_layout
> ffmpeg.c:568:18: error: ‘AVCodecContext’ has no member named
> ‘request_channel_layout’
> 568 | data->enc->request_channel_layout = AV_CH_LAYOUT_STEREO;
> | ^~
> ffmpeg.c: In function ‘decode_packet’:
> ffmpeg.c:1131:60: error: ‘AVCodecContext’ has no member named ‘channels’
> 1131 | * data->enc->channels;
> | ^~
> ffmpeg.c:1133:43: error: ‘AVCodecContext’ has no member named ‘channels’
> 1133 | if (is_planar && data->enc->channels > 1) {
> | ^~
> ffmpeg.c:1139:60: error: ‘AVCodecContext’ has no member named ‘channels’
> 1139 | for (ch = 0; ch <
> data->enc->channels; ch += 1)
> | ^~
> ffmpeg.c:1140:77: error: ‘AVCodecContext’ has no member named ‘channels’
> 1140 | memcpy (packed + (sample *
> data->enc->channels + ch)
> |
> ^~
> ffmpeg.c: In function ‘ffmpeg_decode’:
> ffmpeg.c:1238:43: error: ‘AVCodecContext’ has no member named ‘channels’
> 1238 | sound_params->channels = data->enc->channels;
> | ^~
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:546: libffmpeg_decoder_la-ffmpeg.lo] Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/moc_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher