Source: libonvif Version: 1.4.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): > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libavio && /usr/bin/c++ > -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Davio_EXPORTS > -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libavio/avio_autogen/include > -I/<<PKGBUILDDIR>>/libavio/include -isystem > /usr/include/aarch64-linux-gnu/qt5 -isystem > /usr/include/aarch64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem > /usr/include/aarch64-linux-gnu/qt5/QtCore -isystem > /usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/SDL2 > -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security > -D__STDC_CONSTANT_MACROS -O2 -g -DNDEBUG -std=gnu++17 -fPIC -fPIC -MD -MT > libavio/CMakeFiles/avio.dir/src/Exception.cpp.o -MF > CMakeFiles/avio.dir/src/Exception.cpp.o.d -o > CMakeFiles/avio.dir/src/Exception.cpp.o -c > /<<PKGBUILDDIR>>/libavio/src/Exception.cpp > In file included from /<<PKGBUILDDIR>>/libavio/include/avio.h:26, > from /<<PKGBUILDDIR>>/libavio/src/Reader.cpp:29: > /<<PKGBUILDDIR>>/libavio/include/Decoder.h: In member function ‘int > avio::Decoder::channels()’: > /<<PKGBUILDDIR>>/libavio/include/Decoder.h:42:42: error: ‘AVCodecContext’ > {aka ‘struct AVCodecContext’} has no member named ‘channels’ > 42 | int channels() { return dec_ctx->channels; } > | ^~~~~~~~ > /<<PKGBUILDDIR>>/libavio/include/Decoder.h: In member function ‘uint64_t > avio::Decoder::channel_layout()’: > /<<PKGBUILDDIR>>/libavio/include/Decoder.h:44:53: error: ‘AVCodecContext’ > {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you > mean ‘ch_layout’? > 44 | uint64_t channel_layout() { return dec_ctx->channel_layout; } > | ^~~~~~~~~~~~~~ > | ch_layout > In file included from /<<PKGBUILDDIR>>/libavio/include/avio.h:30: > /<<PKGBUILDDIR>>/libavio/include/Filter.h: In member function ‘int64_t > avio::Filter::channel_layout()’: > /<<PKGBUILDDIR>>/libavio/include/Filter.h:67:43: error: > ‘av_buffersink_get_channel_layout’ was not declared in this scope; did you > mean ‘av_buffersink_get_ch_layout’? > 67 | int64_t channel_layout() { return > av_buffersink_get_channel_layout(sink_ctx); } > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | av_buffersink_get_ch_layout > [ 19%] Building CXX object libavio/CMakeFiles/avio.dir/src/Frame.cpp.o > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libavio && /usr/bin/c++ > -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Davio_EXPORTS > -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/libavio/avio_autogen/include > -I/<<PKGBUILDDIR>>/libavio/include -isystem > /usr/include/aarch64-linux-gnu/qt5 -isystem > /usr/include/aarch64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem > /usr/include/aarch64-linux-gnu/qt5/QtCore -isystem > /usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/SDL2 > -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security > -D__STDC_CONSTANT_MACROS -O2 -g -DNDEBUG -std=gnu++17 -fPIC -fPIC -MD -MT > libavio/CMakeFiles/avio.dir/src/Frame.cpp.o -MF > CMakeFiles/avio.dir/src/Frame.cpp.o.d -o CMakeFiles/avio.dir/src/Frame.cpp.o > -c /<<PKGBUILDDIR>>/libavio/src/Frame.cpp > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp: In member function ‘AVFrame* > avio::Frame::copyFrame(AVFrame*)’: > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:130:14: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 130 | dst->channel_layout = src->channel_layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:130:36: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 130 | dst->channel_layout = src->channel_layout; > | ^~~~~~~~~~~~~~ > | ch_layout > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:133:14: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channels’ > 133 | dst->channels = src->channels; > | ^~~~~~~~ > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:133:30: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channels’ > 133 | dst->channels = src->channels; > | ^~~~~~~~ > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp: In member function ‘std::string > avio::Frame::description() const’: > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:169:73: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channels’ > 169 | av_get_channel_layout_string(buf, 256, > m_frame->channels, m_frame->channel_layout); > | > ^~~~~~~~ > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:169:92: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’? > 169 | av_get_channel_layout_string(buf, 256, > m_frame->channels, m_frame->channel_layout); > | > ^~~~~~~~~~~~~~ > | > ch_layout > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:169:25: error: > ‘av_get_channel_layout_string’ was not declared in this scope; did you mean > ‘av_channel_layout_uninit’? > 169 | av_get_channel_layout_string(buf, 256, > m_frame->channels, m_frame->channel_layout); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | av_channel_layout_uninit > /<<PKGBUILDDIR>>/libavio/src/Frame.cpp:170:113: error: ‘AVFrame’ {aka ‘struct > AVFrame’} has no member named ‘channels’ > 170 | str << "AUDIO FRAME, nb_samples: " << > m_frame->nb_samples << ", channels: " << m_frame->channels > | > ^~~~~~~~ > make[3]: *** [libavio/CMakeFiles/avio.dir/build.make:127: > libavio/CMakeFiles/avio.dir/src/Frame.cpp.o] Error 1 The full build log is available from: https://people.debian.org/~sramacher/ffmpeg-7.0/libonvif_arm64.build ffmpeg 7.0 is available in experimental. Cheers -- Sebastian Ramacher