Source: wf-recorder
Version: 0.4.1-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):
> c++ -Iwf-recorder.p -I. -I.. -I/usr/include/aarch64-linux-gnu 
> -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 
> -Wall -Winvalid-pch -Wextra -std=c++11 '-DWFRECORDER_VERSION="0.4.1"' 
> -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_REENTRANT -pthread -MD -MQ 
> wf-recorder.p/src_frame-writer.cpp.o -MF 
> wf-recorder.p/src_frame-writer.cpp.o.d -o 
> wf-recorder.p/src_frame-writer.cpp.o -c ../src/frame-writer.cpp
> ../src/frame-writer.cpp: In function ‘uint64_t get_codec_channel_layout(const 
> AVCodec*)’:
> ../src/frame-writer.cpp:458:19: error: ‘const AVCodec’ {aka ‘const struct 
> AVCodec’} has no member named ‘channel_layouts’; did you mean ‘ch_layouts’?
>   458 |       if (!codec->channel_layouts)
>       |                   ^~~~~~~~~~~~~~~
>       |                   ch_layouts
> ../src/frame-writer.cpp:461:23: error: ‘const AVCodec’ {aka ‘const struct 
> AVCodec’} has no member named ‘channel_layouts’; did you mean ‘ch_layouts’?
>   461 |           if (!codec->channel_layouts[i])
>       |                       ^~~~~~~~~~~~~~~
>       |                       ch_layouts
> ../src/frame-writer.cpp:463:22: error: ‘const AVCodec’ {aka ‘const struct 
> AVCodec’} has no member named ‘channel_layouts’; did you mean ‘ch_layouts’?
>   463 |           if (codec->channel_layouts[i] == AV_CH_LAYOUT_STEREO)
>       |                      ^~~~~~~~~~~~~~~
>       |                      ch_layouts
> ../src/frame-writer.cpp:464:29: error: ‘const AVCodec’ {aka ‘const struct 
> AVCodec’} has no member named ‘channel_layouts’; did you mean ‘ch_layouts’?
>   464 |               return codec->channel_layouts[i];
>       |                             ^~~~~~~~~~~~~~~
>       |                             ch_layouts
> ../src/frame-writer.cpp:467:21: error: ‘const AVCodec’ {aka ‘const struct 
> AVCodec’} has no member named ‘channel_layouts’; did you mean ‘ch_layouts’?
>   467 |       return codec->channel_layouts[0];
>       |                     ^~~~~~~~~~~~~~~
>       |                     ch_layouts
> ../src/frame-writer.cpp: In member function ‘void 
> FrameWriter::init_audio_stream()’:
> ../src/frame-writer.cpp:542:20: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   542 |     audioCodecCtx->channel_layout = get_codec_channel_layout(codec);
>       |                    ^~~~~~~~~~~~~~
>       |                    ch_layout
> ../src/frame-writer.cpp:545:20: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channels’
>   545 |     audioCodecCtx->channels = 
> av_get_channel_layout_nb_channels(audioCodecCtx->channel_layout);
>       |                    ^~~~~~~~
> ../src/frame-writer.cpp:545:80: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   545 |     audioCodecCtx->channels = 
> av_get_channel_layout_nb_channels(audioCodecCtx->channel_layout);
>       |                                                                       
>          ^~~~~~~~~~~~~~
>       |                                                                       
>          ch_layout
> ../src/frame-writer.cpp:545:31: error: ‘av_get_channel_layout_nb_channels’ 
> was not declared in this scope
>   545 |     audioCodecCtx->channels = 
> av_get_channel_layout_nb_channels(audioCodecCtx->channel_layout);
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/frame-writer.cpp:568:5: error: ‘av_opt_set_channel_layout’ was not 
> declared in this scope; did you mean ‘av_opt_set_chlayout’?
>   568 |     av_opt_set_channel_layout(swrCtx, "in_channel_layout", 
> AV_CH_LAYOUT_STEREO, 0);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
>       |     av_opt_set_chlayout
> ../src/frame-writer.cpp:569:76: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   569 |     av_opt_set_channel_layout(swrCtx, "out_channel_layout", 
> audioCodecCtx->channel_layout, 0);
>       |                                                                       
>      ^~~~~~~~~~~~~~
>       |                                                                       
>      ch_layout
> ../src/frame-writer.cpp: In member function ‘void 
> FrameWriter::add_audio(const void*)’:
> ../src/frame-writer.cpp:859:13: error: ‘AVFrame’ {aka ‘struct AVFrame’} has 
> no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   859 |     inputf->channel_layout = AV_CH_LAYOUT_STEREO;
>       |             ^~~~~~~~~~~~~~
>       |             ch_layout
> ../src/frame-writer.cpp:868:14: error: ‘AVFrame’ {aka ‘struct AVFrame’} has 
> no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   868 |     outputf->channel_layout = audioCodecCtx->channel_layout;
>       |              ^~~~~~~~~~~~~~
>       |              ch_layout
> ../src/frame-writer.cpp:868:46: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   868 |     outputf->channel_layout = audioCodecCtx->channel_layout;
>       |                                              ^~~~~~~~~~~~~~
>       |                                              ch_layout
> [19/22] c++ -Iwf-recorder.p -I. -I.. -I/usr/include/aarch64-linux-gnu 
> -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 
> -Wall -Winvalid-pch -Wextra -std=c++11 '-DWFRECORDER_VERSION="0.4.1"' 
> -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -mbranch-protection=standard -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_REENTRANT -pthread -MD -MQ 
> wf-recorder.p/src_main.cpp.o -MF wf-recorder.p/src_main.cpp.o.d -o 
> wf-recorder.p/src_main.cpp.o -c ../src/main.cpp
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v 
> returned exit code 1
> make: *** [debian/rules:11: binary-arch] Error 25


The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/wf-recorder_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

Reply via email to