Source: goldendict
Version: 1.5.0-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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> uic dictgroupwidget.ui
> uic mainwindow.ui
> uic sources.ui
> uic scanpopup.ui
> uic initializing.ui
> uic articleview.ui
> uic preferences.ui
> uic about.ui
> uic editdictionaries.ui
> uic orderandprops.ui
> uic dictinfo.ui
> uic dictheadwords.ui
> uic authentication.ui
> uic fulltextsearch.ui
> uic scanflag.ui
> compiling folding.cc
> uic chineseconversion.ui
> compiling main.cc
> compiling dictionary.cc
> compiling config.cc
> compiling sources.cc
> generating build/moc_predefs.h
> compiling utf8.cc
> compiling file.cc
> compiling bgl_babylon.cc
> compiling bgl.cc
> compiling initializing.cc
> compiling article_netmgr.cc
> bgl.cc: In member function ‘void
> Bgl::{anonymous}::BglArticleRequest::fixHebArticle(std::string&)’:
> bgl.cc:745:37: warning: comparison is always true due to limited range of
> data type [-Wtype-limits]
> 745 | hebArticle[ nulls - 1 ] >= 0 ) ||
> compiling dictzip.c
> compiling btreeidx.cc
> compiling stardict.cc
> compiling chunkedstorage.cc
> compiling xdxf2html.cc
> compiling iconv.cc
> compiling lsa.cc
> compiling htmlescape.cc
> compiling dsl.cc
> compiling dsl_details.cc
> compiling filetype.cc
> compiling fsencoding.cc
> compiling groups_widgets.cc
> compiling instances.cc
> compiling article_maker.cc
> compiling scanpopup.cc
> moc articleview.cc
> compiling audioplayerfactory.cc
> compiling multimediaaudioplayer.cc
> compiling externalaudioplayer.cc
> compiling externalviewer.cc
> compiling wordfinder.cc
> compiling groupcombobox.cc
> compiling keyboardstate.cc
> compiling mouseover.cc
> compiling preferences.cc
> compiling mutex.cc
> compiling mediawiki.cc
> compiling sounddir.cc
> compiling hunspell.cc
> compiling dictdfiles.cc
> compiling audiolink.cc
> compiling wstring.cc
> compiling wstring_qt.cc
> compiling processwrapper.cc
> compiling hotkeywrapper.cc
> compiling hotkeyedit.cc
> compiling langcoder.cc
> compiling loaddictionaries.cc
> compiling transliteration.cc
> compiling romaji.cc
> compiling belarusiantranslit.cc
> compiling russiantranslit.cc
> compiling german.cc
> compiling website.cc
> compiling orderandprops.cc
> compiling language.cc
> compiling dictionarybar.cc
> compiling broken_xrecord.cc
> compiling history.cc
> compiling atomic_rename.cc
> compiling articlewebview.cc
> compiling zipfile.cc
> compiling indexedzip.cc
> compiling termination.cc
> compiling greektranslit.cc
> compiling webmultimediadownload.cc
> compiling forvo.cc
> compiling country.cc
> compiling about.cc
> compiling programs.cc
> compiling parsecmdline.cc
> compiling maintabwidget.cc
> compiling mainstatusbar.cc
> compiling gdappstyle.cc
> compiling ufile.cc
> compiling xdxf.cc
> compiling sdict.cc
> compiling decompress.cc
> compiling aard.cc
> compiling mruqmenu.cc
> compiling dictinfo.cc
> compiling zipsounds.cc
> compiling stylescombobox.cc
> compiling extlineedit.cc
> compiling translatebox.cc
> compiling historypanewidget.cc
> compiling wordlist.cc
> compiling mdictparser.cc
> compiling mdx.cc
> compiling voiceengines.cc
> compiling ffmpegaudio.cc
> ffmpegaudio.cc: In member function ‘bool
> Ffmpeg::DecoderContext::openCodec(QString&)’:
> ffmpegaudio.cc:264:26: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channels’
> 264 | codecContext_->channels, codecContext_->sample_rate,
> av_get_sample_fmt_name( codecContext_->sample_fmt ) );
> | ^~~~~~~~
> ffmpegaudio.cc:274:24: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channel_layout’; did you mean ‘ch_layout’?
> 274 | codecContext_->channel_layout,
> | ^~~~~~~~~~~~~~
> | ch_layout
> ffmpegaudio.cc:277:24: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channel_layout’; did you mean ‘ch_layout’?
> 277 | codecContext_->channel_layout,
> | ^~~~~~~~~~~~~~
> | ch_layout
> ffmpegaudio.cc:273:12: error: ‘swr_alloc_set_opts’ was not declared in this
> scope; did you mean ‘swr_alloc_set_opts2’?
> 273 | swr_ = swr_alloc_set_opts( NULL,
> | ^~~~~~~~~~~~~~~~~~
> | swr_alloc_set_opts2
> ffmpegaudio.cc: In member function ‘void
> Ffmpeg::DecoderContext::closeCodec()’:
> ffmpegaudio.cc:330:18: warning: ‘int avcodec_close(AVCodecContext*)’ is
> deprecated [-Wdeprecated-declarations]
> 330 | avcodec_close( codecContext_ );
> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from ffmpegaudio.cc:19:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared
> here
> 2387 | int avcodec_close(AVCodecContext *avctx);
> | ^~~~~~~~~~~~~
> ffmpegaudio.cc: In member function ‘bool
> Ffmpeg::DecoderContext::openOutputDevice(QString&)’:
> ffmpegaudio.cc:354:44: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channels’
> 354 | aoSampleFormat.channels = codecContext_->channels;
> | ^~~~~~~~
> ffmpegaudio.cc: In member function ‘bool
> Ffmpeg::DecoderContext::play(QString&)’:
> ffmpegaudio.cc:427:17: warning: ‘void av_init_packet(AVPacket*)’ is
> deprecated [-Wdeprecated-declarations]
> 427 | av_init_packet( &packet );
> | ~~~~~~~~~~~~~~^~~~~~~~~~~
> In file included from /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:44:
> /usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
> 653 | void av_init_packet(AVPacket *pkt);
> | ^~~~~~~~~~~~~~
> ffmpegaudio.cc:487:17: warning: ‘void av_init_packet(AVPacket*)’ is
> deprecated [-Wdeprecated-declarations]
> 487 | av_init_packet( &packet );
> | ~~~~~~~~~~~~~~^~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/packet.h:653:6: note: declared here
> 653 | void av_init_packet(AVPacket *pkt);
> | ^~~~~~~~~~~~~~
> ffmpegaudio.cc: In member function ‘bool
> Ffmpeg::DecoderContext::normalizeAudio(AVFrame*, std::vector<char>&)’:
> ffmpegaudio.cc:523:72: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channels’
> 523 | int dataSize = av_samples_get_buffer_size( &lineSize,
> codecContext_->channels,
> |
> ^~~~~~~~
> ffmpegaudio.cc:545:47: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channels’
> 545 | for ( int ch = 0; ch < codecContext_->channels; ch++ )
> | ^~~~~~~~
> ffmpegaudio.cc:559:47: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’}
> has no member named ‘channels’
> 559 | for ( int ch = 0; ch < codecContext_->channels; ch++ )
> | ^~~~~~~~
> make[1]: *** [Makefile:3969: build/ffmpegaudio.o] Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/goldendict_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher