Source: guvcview Version: 2.0.8-2.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.. > -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -pthread -I.. > -I../includes -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security > -mbranch-protection=standard -c -o libgviewencoder_la-video_codecs.lo `test > -f 'video_codecs.c' || echo './'`video_codecs.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -pthread -I.. -I../includes -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -mbranch-protection=standard -c encoder.c -fPIC > -DPIC -o .libs/libgviewencoder_la-encoder.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -pthread -I.. -I../includes -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -mbranch-protection=standard -c video_codecs.c -fPIC > -DPIC -o .libs/libgviewencoder_la-video_codecs.o > encoder.c: In function ‘encoder_audio_init’: > encoder.c:746:40: error: ‘AVCodecContext’ has no member named ‘channels’ > 746 | audio_codec_data->codec_context->channels = > encoder_ctx->audio_channels; > | ^~ > encoder.c:749:50: error: ‘AVCodecContext’ has no member named > ‘channel_layout’; did you mean ‘ch_layout’? > 749 | audio_codec_data->codec_context->channel_layout = > AV_CH_LAYOUT_MONO; > | ^~~~~~~~~~~~~~ > | ch_layout > encoder.c:751:50: error: ‘AVCodecContext’ has no member named > ‘channel_layout’; did you mean ‘ch_layout’? > 751 | audio_codec_data->codec_context->channel_layout = > AV_CH_LAYOUT_STEREO; > | ^~~~~~~~~~~~~~ > | ch_layout > encoder.c:916:32: error: ‘AVFrame’ has no member named ‘channels’ > 916 | audio_codec_data->frame->channels = > audio_codec_data->codec_context->channels; > | ^~ > encoder.c:916:76: error: ‘AVCodecContext’ has no member named ‘channels’ > 916 | audio_codec_data->frame->channels = > audio_codec_data->codec_context->channels; > | > ^~ > encoder.c:917:34: error: ‘AVFrame’ has no member named ‘channel_layout’; did > you mean ‘ch_layout’? > 917 | audio_codec_data->frame->channel_layout = > audio_codec_data->codec_context->channel_layout; > | ^~~~~~~~~~~~~~ > | ch_layout > encoder.c:917:84: error: ‘AVCodecContext’ has no member named > ‘channel_layout’; did you mean ‘ch_layout’? > 917 | audio_codec_data->frame->channel_layout = > audio_codec_data->codec_context->channel_layout; > | > ^~~~~~~~~~~~~~ > | > ch_layout > encoder.c: In function ‘libav_send_encode’: > encoder.c:1506:69: error: ‘AVFrame’ has no member named ‘channels’ > 1506 | if (avctx->codec_type == AVMEDIA_TYPE_AUDIO && > frame->channels <= 0) > | ^~ > encoder.c:1509:30: error: ‘AVFrame’ has no member named ‘channels’ > 1509 | frame->channels = avctx->channels; > | ^~ > encoder.c:1509:48: error: ‘AVCodecContext’ has no member named ‘channels’ > 1509 | frame->channels = avctx->channels; > | ^~ > encoder.c: In function ‘encoder_encode_audio’: > encoder.c:1762:56: error: ‘AVCodecContext’ has no member named ‘channels’ > 1762 | audio_codec_data->codec_context->channels, > | ^~ > encoder.c:1771:64: error: ‘AVCodecContext’ has no member named ‘channels’ > 1771 | > audio_codec_data->codec_context->channels, > | ^~ > encoder.c:1804:56: error: ‘AVCodecContext’ has no member named ‘channels’ > 1804 | audio_codec_data->codec_context->channels, > | ^~ > encoder.c:1813:64: error: ‘AVCodecContext’ has no member named ‘channels’ > 1813 | > audio_codec_data->codec_context->channels, > | ^~ > encoder.c:1823:56: error: ‘AVCodecContext’ has no member named ‘channels’ > 1823 | audio_codec_data->codec_context->channels, > | ^~ > encoder.c:1833:64: error: ‘AVCodecContext’ has no member named ‘channels’ > 1833 | > audio_codec_data->codec_context->channels, > | ^~ > encoder.c: In function ‘encoder_close’: > encoder.c:1952:25: warning: ‘avcodec_close’ is deprecated > [-Wdeprecated-declarations] > 1952 | > avcodec_close(video_codec_data->codec_context); > | ^~~~~~~~~~~~~ > In file included from encoder.c:32: > /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared > here > 2387 | int avcodec_close(AVCodecContext *avctx); > | ^~~~~~~~~~~~~ > encoder.c:1984:25: warning: ‘avcodec_close’ is deprecated > [-Wdeprecated-declarations] > 1984 | > avcodec_close(audio_codec_data->codec_context); > | ^~~~~~~~~~~~~ > /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared > here > 2387 | int avcodec_close(AVCodecContext *avctx); > | ^~~~~~~~~~~~~ > make[3]: *** [Makefile:578: libgviewencoder_la-encoder.lo] Error 1 The full build log is available from: https://people.debian.org/~sramacher/ffmpeg-7.0/guvcview_arm64.build ffmpeg 7.0 is available in experimental. Cheers -- Sebastian Ramacher

