Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 834402

Summary: media-video/ffdiaporama-2.2_pre20140701-r2 with ffmpeg-5.0: engine/cDeviceModelDef.cpp:729:5: error: ‘avfilter_register_all’ was not declared in this scope; did you mean ‘avdevice_register_all’?
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: laurantino <olivier.laurantin>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24961
https://github.com/gentoo/gentoo/pull/25367
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831437    
Attachments: build.log.gz
emerge-info.txt

Description Kobboi 2022-02-28 20:47:39 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -march=znver3 -pipe -g -ggdb3 -D_REENTRANT -Wall -Wextra -fPIC -DSHARE_DIR=\"/usr\" -DQ_OS_LINUX64 -DUSELIBSWRESAMPLE -DQT_NO_DEBUG -DQT_HELP_LIB -DQT_SVG_L
IB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../ffDiaporama_lib -I/usr/include -I/usr/include/qt
5 -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/q
t5/QtSql -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cCFramingComboBox.o CustomCtrl/cCFramingComboBox.cpp
engine/cDeviceModelDef.cpp: In member function ‘virtual bool cDeviceModelList::InitLibav()’:
engine/cDeviceModelDef.cpp:729:5: error: ‘avfilter_register_all’ was not declared in this scope; did you mean ‘avdevice_register_all’?
  729 |     avfilter_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     avdevice_register_all
engine/cDeviceModelDef.cpp:730:5: error: ‘avcodec_register_all’ was not declared in this scope; did you mean ‘avdevice_register_all’?
  730 |     avcodec_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~
      |     avdevice_register_all
engine/cDeviceModelDef.cpp:731:5: error: ‘av_register_all’ was not declared in this scope
  731 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
engine/cDeviceModelDef.cpp:747:15: error: ‘av_codec_next’ was not declared in this scope; did you mean ‘av_opt_next’?
  747 |     while ((p=av_codec_next(p))) {
      |               ^~~~~~~~~~~~~
      |               av_opt_next


Reproducible: Always
Comment 1 Kobboi 2022-02-28 20:48:07 UTC
Created attachment 766063 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 20:48:09 UTC
Created attachment 766064 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 20:48:24 UTC
Compiles fine with ffmpeg-4.4.1
Comment 4 Larry the Git Cow gentoo-dev 2022-05-13 20:04:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e71000c7110fb7d5827963a20f8f77c36074ee

commit 97e71000c7110fb7d5827963a20f8f77c36074ee
Author:     Olivier Laurantin <olivier.laurantin@laposte.net>
AuthorDate: 2022-04-09 09:05:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-13 20:03:54 +0000

    media-video/ffdiaporama: code clean up (fix build w/ newer ffmpeg, musl)
    
    Change sources location
    The code now includes all previous patches
    The code should compile fine with ffmpeg-5 and musl
    
    Closes: https://bugs.gentoo.org/834402
    Closes: https://bugs.gentoo.org/832358
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Olivier Laurantin <olivier.laurantin@laposte.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffdiaporama/Manifest                   |  1 +
 .../ffdiaporama-2.2_pre20140701-r3.ebuild          | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)