Your message dated Wed, 31 Jul 2024 01:35:28 +0000
with message-id <[email protected]>
and subject line Bug#1072418: fixed in goldendict 1.5.0+git20240629-1
has caused the Debian Bug report #1072418,
regarding goldendict: FTBFS with ffmpeg 7.0: ffmpegaudio.cc:264:26: 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 [email protected]
immediately.)


-- 
1072418: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072418
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: goldendict
Source-Version: 1.5.0+git20240629-1
Done: Boyuan Yang <[email protected]>

We believe that the bug you reported is fixed in the latest version of
goldendict, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <[email protected]> (supplier of updated goldendict package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 30 Jul 2024 20:30:45 -0400
Source: goldendict
Architecture: source
Version: 1.5.0+git20240629-1
Distribution: unstable
Urgency: medium
Maintainer: Dmitry E. Oboukhov <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1072418
Changes:
 goldendict (1.5.0+git20240629-1) unstable; urgency=medium
 .
   * New upstream snapshot.
     + Fix FTBFS with ffmpeg 7.0. (Closes: #1072418)
   * debian/control: Rebuild against opencc 1.1.8.
   * debian/patches/backport/: Dropped, merged upstream.
   * debian/copyright: Rewrite in machine-readable copyright format.
Checksums-Sha1:
 8271094b7e1bf0e12859d3f10af05940878322ae 2368 
goldendict_1.5.0+git20240629-1.dsc
 06abdc4f965bcb4b21473e3590166920de6a631e 4455183 
goldendict_1.5.0+git20240629.orig.tar.gz
 96a0685e6886a14422814869dff49e6d69d7be37 10452 
goldendict_1.5.0+git20240629-1.debian.tar.xz
 cafa21116be0a4807e637b93231b8fc1cea0a238 16827 
goldendict_1.5.0+git20240629-1_amd64.buildinfo
Checksums-Sha256:
 b9e92c8538c7fa362c5ee0a5db910484f562a2480777263e9dd9c53329cb6490 2368 
goldendict_1.5.0+git20240629-1.dsc
 efe78292bac9714f3e190212f7b9ef624fa892ff691bbd8d024a7e5225d2f6de 4455183 
goldendict_1.5.0+git20240629.orig.tar.gz
 1e296ce89a734f59dbd7c77637ee73fc2b11f5b2aebe2c9eacdf748eb1306a2d 10452 
goldendict_1.5.0+git20240629-1.debian.tar.xz
 f301886bb8fedd689f18ef389e31fbd4dfd0cc308f7725e91bc46ad8a92f1db8 16827 
goldendict_1.5.0+git20240629-1_amd64.buildinfo
Files:
 9e9bf5a993983425b9814261d96cdf96 2368 utils optional 
goldendict_1.5.0+git20240629-1.dsc
 00136013c30ec4ffbd4c224577e01eda 4455183 utils optional 
goldendict_1.5.0+git20240629.orig.tar.gz
 2409805ca0d8d88a7d8bfeec52e8ef9d 10452 utils optional 
goldendict_1.5.0+git20240629-1.debian.tar.xz
 5e8508506c47e46b20563f2315a6f65a 16827 utils optional 
goldendict_1.5.0+git20240629-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmapjVUACgkQwpPntGGC
Ws7Qmw/9Fl4lgWrQ/AEMQ2/O7SKTQZ5w6Y3gyiY+38mXCmJqR/ZMLamfeou/I0yR
iETXwmmjAX4DFFMtvTOrHURHfRqzb/uzevB9ZLp7peU0B6kAiteIaRkJJ9m8Ze2b
W3078KQUDE5L+nshsHCf1n+eHj+Q1RrDWXTSGhPCAdy9udq++EXftbvWwoqJCxYl
0U5Jdj9SZKWvDKofW2a6M7eUviZ5qkdVHCqWCcEpHIWKFIqA4KjDZxTiC96WjctQ
vy4Ya1R7bXPcCoxuiS7qvUvVEQhxg0c11ZIHEOjf1abYyNJWjCn4yrhZDS2dngpg
RlNItGfg2x+DYQVhNkg1DXlWv/6pAC3OLURFyuoijOIWUtkb41+pVPEVc4ZlzUTa
XwKeSsSzj9HZFQ2fG+QEv9ZhjYnd94GoEfMI/KMI3Ht5ctMkYeqn47qZsQjOqZfs
sVBDOEofqbMeHZWqp8tukj9bJIEUOcrop3LrHEzcIhXCSl2Yw0XYWeWtjvcT14M/
7CtWi4niACH7BTKkL1wfn2FvabI+wzVHIiN26KEjF0JWfO2IiipkHaN+mgue6TIK
H48z5J6G1NZ39Y41QuUov9nO44mmWD7NPWd0G7yDDLXS9ebJnMOsFvbeIdlCQDaV
vCPCBL49JsTeI4Q/FpUT1wvGY7SmBozriN3zscXW6ZZnR11DQm0=
=gU4N
-----END PGP SIGNATURE-----

Attachment: pgporkM5xmJgg.pgp
Description: PGP signature


--- End Message ---

Reply via email to