Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542186 - dev-games/openscenegraph-3.2.1 with media-video/libav-11.2:0/10 - .../work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:33:72: error: ‘avcodec_decode_audio3’ was not declared in this scope
Summary: dev-games/openscenegraph-3.2.1 with media-video/libav-11.2:0/10 - .../work/Op...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libav-10
  Show dependency tree
 
Reported: 2015-03-05 00:04 UTC by Jan Kundrát (RETIRED)
Modified: 2020-04-26 15:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2015-03-05 00:04:24 UTC
[ 54%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o
cd /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/src/osgPlugins/ffmpeg && /usr/bin/x86_64-pc-linux-gnu-g++  -DUSE_SWSCALE -D__STDC_CONSTANT_MACROS -Dosgdb_ffmpeg_EXPORTS  -D__STDC_CONSTANT_MACROS -DNDEBUG -O2 -pipe -march=native -mavx -maes -ggdb  -Wall -Wparentheses -Wno-long-long -Wno-import  -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fPIC -I/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/include -I/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/include -I/usr/include/libswscale    -o CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o -c /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In function ‘int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’:
/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:33:72: error: ‘avcodec_decode_audio3’ was not declared in this scope
     return avcodec_decode_audio3(avctx, samples, frame_size_ptr, &avpkt);
                                                                        ^
/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In member function ‘void osgFFmpeg::FFmpegDecoderAudio::open(AVStream*)’:
/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:103:36: error: ‘CODEC_ID_NONE’ was not declared in this scope
         if (m_context->codec_id == CODEC_ID_NONE)
Comment 1 Matthias Lippert 2015-04-09 10:04:48 UTC
confirmed also in conjunction with libav-11.3 --- only workaround is to disable ffmpeg useflag on a per-package basis for openscenegraph.
Comment 2 Christian Schmitt 2015-10-25 20:02:32 UTC
I see another possibility to make it work:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739460#12

The patch from there works for me. It is a matter of applying it conditionally for libav, which might be problematic.
Comment 3 Larry the Git Cow gentoo-dev 2020-04-26 15:22:55 UTC
The bug has been closed via the following commit(s):

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

commit ae1063b59ef317fdc6dd640b60437f6fb143a2ac
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-04-26 15:14:48 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-04-26 15:22:46 +0000

    media-video/libav: remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=452482
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=458768
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=470764
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=499256
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=509974
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=519602
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=525070
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=555114
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=564040
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=587054
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=588986
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=701952
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=538790
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=711206
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=489922
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=409957
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=445854
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=474408
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=509294
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=522350
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=546080
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=588482
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=603726
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=694082
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=634102
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=542186
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=635524
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=651218
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=651220
    
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 media-video/libav/Manifest                    |   3 -
 media-video/libav/files/libav-12.3-x264.patch |  85 -------
 media-video/libav/libav-12.3.ebuild           | 350 --------------------------
 media-video/libav/libav-13_pre20171219.ebuild | 336 -------------------------
 media-video/libav/libav-9999.ebuild           | 339 -------------------------
 media-video/libav/metadata.xml                |  35 ---
 6 files changed, 1148 deletions(-)