Your message dated Mon, 10 Jun 2024 14:51:36 -0400
with message-id <c5c75ffbd4de5f704dad21cdc477dd0338595667.ca...@debian.org>
and subject line Re: goldendict-webengine: FTBFS with ffmpeg 7.0: 
src/ffmpegaudio.cc:184:27: error: ‘AVCodecContext’ {aka ‘struct 
AVCodecContext’} has no member named ‘channels’
has caused the Debian Bug report #1072417,
regarding goldendict-webengine: FTBFS with ffmpeg 7.0: 
src/ffmpegaudio.cc:184:27: error: ‘AVCodecContext’ {aka ‘struct 
AVCodecContext’} has no member named ‘channels’
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1072417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072417
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: goldendict-webengine
Version: 24.05.05-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):
> g++ -c -pipe -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 -std=gnu++1z -frtti -Wall -Wextra -D_REENTRANT -fPIC 
> -DNDEBUG -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 -DMAKE_QTMULTIMEDIA_PLAYER 
> -DMAKE_FFMPEG_PLAYER -DUSE_ICONV -DINCLUDE_LIBRARY_PATH -DHAVE_X11 
> -DPROGRAM_DATA_DIR=\"/usr/share/goldendict/\" -DPROGRAM_VERSION=\"24.05.05\" 
> -DMAKE_ZIM_SUPPORT -DMAKE_CHINESE_CONVERSION_SUPPORT -DQT_NO_DEBUG 
> -DQT_SVG_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB 
> -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB 
> -DQT_GUI_LIB -DQT_XML_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB 
> -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CONCURRENT_LIB 
> -DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ui -Isrc/common 
> -Ithirdparty/tomlplusplus -Ithirdparty/fmt/include 
> -Ithirdparty/qtsingleapplication/src -I/usr/include/hunspell 
> -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu/qt5 
> -I/usr/include/aarch64-linux-gnu/qt5/QtSvg 
> -I/usr/include/aarch64-linux-gnu/qt5/QtWebEngineWidgets 
> -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport 
> -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets 
> -I/usr/include/aarch64-linux-gnu/qt5/QtWebEngineCore 
> -I/usr/include/aarch64-linux-gnu/qt5/QtQuick 
> -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia 
> -I/usr/include/aarch64-linux-gnu/qt5/QtX11Extras 
> -I/usr/include/aarch64-linux-gnu/qt5/QtGui 
> -I/usr/include/aarch64-linux-gnu/qt5/QtXml 
> -I/usr/include/aarch64-linux-gnu/qt5/QtQmlModels 
> -I/usr/include/aarch64-linux-gnu/qt5/QtWebChannel 
> -I/usr/include/aarch64-linux-gnu/qt5/QtQml 
> -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork 
> -I/usr/include/aarch64-linux-gnu/qt5/QtPositioning 
> -I/usr/include/aarch64-linux-gnu/qt5/QtConcurrent 
> -I/usr/include/aarch64-linux-gnu/qt5/QtTextToSpeech 
> -I/usr/include/aarch64-linux-gnu/qt5/QtCore -Ibuild -Ibuild 
> -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o build/ftshelpers.o 
> src/ftshelpers.cc
> src/ffmpegaudio.cc: In member function ‘bool 
> Ffmpeg::DecoderContext::openCodec(QString&)’:
> src/ffmpegaudio.cc:184:27: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channels’
>   184 |            codecContext_->channels,
>       |                           ^~~~~~~~
> src/ffmpegaudio.cc:188:32: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   188 |   auto layout = codecContext_->channel_layout;
>       |                                ^~~~~~~~~~~~~~
>       |                                ch_layout
> src/ffmpegaudio.cc:190:83: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channels’
>   190 |     layout                        = av_get_default_channel_layout( 
> codecContext_->channels );
>       |                                                                       
>             ^~~~~~~~
> src/ffmpegaudio.cc:190:37: error: ‘av_get_default_channel_layout’ was not 
> declared in this scope
>   190 |     layout                        = av_get_default_channel_layout( 
> codecContext_->channels );
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/ffmpegaudio.cc:191:20: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> ‘ch_layout’?
>   191 |     codecContext_->channel_layout = layout;
>       |                    ^~~~~~~~~~~~~~
>       |                    ch_layout
> src/ffmpegaudio.cc:194:10: error: ‘swr_alloc_set_opts’ was not declared in 
> this scope; did you mean ‘swr_alloc_set_opts2’?
>   194 |   swr_ = swr_alloc_set_opts( nullptr,
>       |          ^~~~~~~~~~~~~~~~~~
>       |          swr_alloc_set_opts2
> src/ffmpegaudio.cc: In member function ‘void 
> Ffmpeg::DecoderContext::closeCodec()’:
> src/ffmpegaudio.cc:248:18: warning: ‘int avcodec_close(AVCodecContext*)’ is 
> deprecated [-Wdeprecated-declarations]
>   248 |     avcodec_close( codecContext_ );
>       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from src/ffmpegaudio.hh:11,
>                  from src/ffmpegaudio.cc:4:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared 
> here
>  2387 | int avcodec_close(AVCodecContext *avctx);
>       |     ^~~~~~~~~~~~~
> src/ffmpegaudio.cc: In member function ‘bool 
> Ffmpeg::DecoderContext::openOutputDevice(QString&)’:
> src/ffmpegaudio.cc:272:54: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channels’
>   272 |   audioOutput->setAudioFormat( 44100, codecContext_->channels );
>       |                                                      ^~~~~~~~
> src/ffmpegaudio.cc: In member function ‘bool 
> Ffmpeg::DecoderContext::normalizeAudio(AVFrame*, std::vector<unsigned 
> char>&)’:
> src/ffmpegaudio.cc:332:38: error: ‘AVCodecContext’ {aka ‘struct 
> AVCodecContext’} has no member named ‘channels’
>   332 |   auto dst_channels = codecContext_->channels;
>       |                                      ^~~~~~~~
> make[1]: *** [Makefile:3713: build/ffmpegaudio.o] Error 1


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

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Version: 24.05.13-1

Bug closed via new upload.

Thanks,
Boyuan Yang

On Sun, 2 Jun 2024 15:19:24 +0200 Sebastian Ramacher <sramac...@debian.org> 
wrote:
> Source: goldendict-webengine
> Version: 24.05.05-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):
> > g++ -c -pipe -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 -std=gnu++1z -frtti -Wall -Wextra -D_REENTRANT 
-fPIC -DNDEBUG -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 
-DMAKE_QTMULTIMEDIA_PLAYER -
DMAKE_FFMPEG_PLAYER -DUSE_ICONV -DINCLUDE_LIBRARY_PATH -DHAVE_X11 
-DPROGRAM_DATA_DIR=\"/usr/share/goldendict/\" -DPROGRAM_VERSION=\"24.05.05\" 
-DMAKE_ZIM_SUPPORT -
DMAKE_CHINESE_CONVERSION_SUPPORT -DQT_NO_DEBUG -DQT_SVG_LIB 
-DQT_WEBENGINEWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB 
-DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -
DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB 
-DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB 
-DQT_POSITIONING_LIB -DQT_CONCURRENT_LIB -
DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ui -Isrc/common 
-Ithirdparty/tomlplusplus -Ithirdparty/fmt/include 
-Ithirdparty/qtsingleapplication/src -
I/usr/include/hunspell -I/usr/include/aarch64-linux-gnu 
-I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtSvg 
-I/usr/include/aarch64-linux-
gnu/qt5/QtWebEngineWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport 
-I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-
gnu/qt5/QtWebEngineCore -I/usr/include/aarch64-linux-gnu/qt5/QtQuick 
-I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia 
-I/usr/include/aarch64-linux-gnu/qt5/QtX11Extras -
I/usr/include/aarch64-linux-gnu/qt5/QtGui 
-I/usr/include/aarch64-linux-gnu/qt5/QtXml 
-I/usr/include/aarch64-linux-gnu/qt5/QtQmlModels -I/usr/include/aarch64-linux-
gnu/qt5/QtWebChannel -I/usr/include/aarch64-linux-gnu/qt5/QtQml 
-I/usr/include/aarch64-linux-gnu/qt5/QtNetwork 
-I/usr/include/aarch64-linux-gnu/qt5/QtPositioning -
I/usr/include/aarch64-linux-gnu/qt5/QtConcurrent 
-I/usr/include/aarch64-linux-gnu/qt5/QtTextToSpeech 
-I/usr/include/aarch64-linux-gnu/qt5/QtCore -Ibuild -Ibuild -
I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o build/ftshelpers.o 
src/ftshelpers.cc
> > src/ffmpegaudio.cc: In member function ‘bool 
> > Ffmpeg::DecoderContext::openCodec(QString&)’:
> > src/ffmpegaudio.cc:184:27: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channels’
> >   184 |            codecContext_->channels,
> >       |                           ^~~~~~~~
> > src/ffmpegaudio.cc:188:32: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> > ‘ch_layout’?
> >   188 |   auto layout = codecContext_->channel_layout;
> >       |                                ^~~~~~~~~~~~~~
> >       |                                ch_layout
> > src/ffmpegaudio.cc:190:83: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channels’
> >   190 |     layout                        = av_get_default_channel_layout( 
> >codecContext_->channels );
> >       |                                                                     
> >              ^~~~~~~~
> > src/ffmpegaudio.cc:190:37: error: ‘av_get_default_channel_layout’ was not 
> > declared in this scope
> >   190 |     layout                        = av_get_default_channel_layout( 
> >codecContext_->channels );
> >       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > src/ffmpegaudio.cc:191:20: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channel_layout’; did you mean 
> > ‘ch_layout’?
> >   191 |     codecContext_->channel_layout = layout;
> >       |                    ^~~~~~~~~~~~~~
> >       |                    ch_layout
> > src/ffmpegaudio.cc:194:10: error: ‘swr_alloc_set_opts’ was not declared in 
> > this scope; did you mean ‘swr_alloc_set_opts2’?
> >   194 |   swr_ = swr_alloc_set_opts( nullptr,
> >       |          ^~~~~~~~~~~~~~~~~~
> >       |          swr_alloc_set_opts2
> > src/ffmpegaudio.cc: In member function ‘void 
> > Ffmpeg::DecoderContext::closeCodec()’:
> > src/ffmpegaudio.cc:248:18: warning: ‘int avcodec_close(AVCodecContext*)’ is 
> > deprecated [-Wdeprecated-declarations]
> >   248 |     avcodec_close( codecContext_ );
> >       |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
> > In file included from src/ffmpegaudio.hh:11,
> >                  from src/ffmpegaudio.cc:4:
> > /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared 
> > here
> >  2387 | int avcodec_close(AVCodecContext *avctx);
> >       |     ^~~~~~~~~~~~~
> > src/ffmpegaudio.cc: In member function ‘bool 
> > Ffmpeg::DecoderContext::openOutputDevice(QString&)’:
> > src/ffmpegaudio.cc:272:54: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channels’
> >   272 |   audioOutput->setAudioFormat( 44100, codecContext_->channels );
> >       |                                                      ^~~~~~~~
> > src/ffmpegaudio.cc: In member function ‘bool 
> > Ffmpeg::DecoderContext::normalizeAudio(AVFrame*, std::vector<unsigned 
> > char>&)’:
> > src/ffmpegaudio.cc:332:38: error: ‘AVCodecContext’ {aka ‘struct 
> > AVCodecContext’} has no member named ‘channels’
> >   332 |   auto dst_channels = codecContext_->channels;
> >       |                                      ^~~~~~~~
> > make[1]: *** [Makefile:3713: build/ffmpegaudio.o] Error 1
> 
> 
> The full build log is available from:
> https://people.debian.org/~sramacher/ffmpeg-7.0/goldendict-webengine_arm64.build
> 
> ffmpeg 7.0 is available in experimental.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to