Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834425 - dev-games/openscenegraph-openmw-3.6_p20211017-r1 with ffmpeg-5.0: src/osgPlugins/ffmpeg/FFmpegPacket.hpp:45:17: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
Summary: dev-games/openscenegraph-openmw-3.6_p20211017-r1 with ffmpeg-5.0: src/osgPlug...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2022-02-28 22:21 UTC by Kobboi
Modified: 2022-03-01 00:46 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,64.66 KB, application/gzip)
2022-02-28 22:21 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,8.00 KB, text/plain)
2022-02-28 22:22 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-02-28 22:21:33 UTC
[1341/1598] /usr/bin/x86_64-pc-linux-gnu-g++ -DUSE_SWRESAMPLE -DUSE_SWSCALE -D__STDC_CONSTANT_MACROS -Dosgdb_ffmpeg_EXPORTS -I/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6_build/include -I/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/include -I/usr/include/libswscale -I/usr/include/libswresample  -D__STDC_CONSTANT_MACROS -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wmaybe-uninitialized -Wextra -Wshadow -Wno-misleading-indentation -Wno-deprecated-declarations -fPIC -MD -MT src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o -MF src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o.d -o src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o -c /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp
FAILED: src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DUSE_SWRESAMPLE -DUSE_SWSCALE -D__STDC_CONSTANT_MACROS -Dosgdb_ffmpeg_EXPORTS -I/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6_build/include -I/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/include -I/usr/include/libswscale -I/usr/include/libswresample  -D__STDC_CONSTANT_MACROS -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wmaybe-uninitialized -Wextra -Wshadow -Wno-misleading-indentation -Wno-deprecated-declarations -fPIC -MD -MT src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o -MF src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o.d -o src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o -c /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp
In file included from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:10,
                 from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5,
                 from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:5,
                 from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:15:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegPacket.hpp: In member function ‘void osgFFmpeg::FFmpegPacket::clear()’:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegPacket.hpp:45:17: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
   45 |                 av_free_packet(&packet);
      |                 ^~~~~~~~~~~~~~
      |                 av_new_packet
In file included from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:6,
                 from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:5,
                 from /var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:15:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: At global scope:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp:91:25: error: ‘AVPicture’ has not been declared
   91 |     void yuva420pToRgba(AVPicture *dst, AVPicture *src, int width, int height);
      |                         ^~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp:91:41: error: ‘AVPicture’ has not been declared
   91 |     void yuva420pToRgba(AVPicture *dst, AVPicture *src, int width, int height);
      |                                         ^~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp:93:17: error: ‘AVPicture’ has not been declared
   93 |     int convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src,
      |                 ^~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp:93:50: error: ‘AVPicture’ has not been declared
   93 |     int convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src,
      |                                                  ^~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:223:43: error: use of enum ‘AVLockOp’ without previous declaration
  223 |     static int lockMgr(void **mutex, enum AVLockOp op)
      |                                           ^~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: In constructor ‘ReaderWriterFFmpeg::ReaderWriterFFmpeg()’:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:118:9: error: ‘av_lockmgr_register’ was not declared in this scope
  118 |         av_lockmgr_register(&lockMgr);
      |         ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:121:9: error: ‘av_register_all’ was not declared in this scope
  121 |         av_register_all();
      |         ^~~~~~~~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: In static member function ‘static int ReaderWriterFFmpeg::lockMgr(void**, int)’:
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:227:17: error: ‘AV_LOCK_CREATE’ was not declared in this scope; did you mean ‘AV_LOG_TRACE’?
  227 |         if (op==AV_LOCK_CREATE)
      |                 ^~~~~~~~~~~~~~
      |                 AV_LOG_TRACE
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:232:22: error: ‘AV_LOCK_DESTROY’ was not declared in this scope
  232 |         else if (op==AV_LOCK_DESTROY)
      |                      ^~~~~~~~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:237:22: error: ‘AV_LOCK_OBTAIN’ was not declared in this scope
  237 |         else if (op==AV_LOCK_OBTAIN)
      |                      ^~~~~~~~~~~~~~
/var/tmp/portage/dev-games/openscenegraph-openmw-3.6_p20211017-r1/work/osg-bbe61c3bc510a4f5bb4aea21cce506519c2d24e6/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp:242:22: error: ‘AV_LOCK_RELEASE’ was not declared in this scope
  242 |         else if (op==AV_LOCK_RELEASE)
      |                      ^~~~~~~~~~~~~~~


Reproducible: Always
Comment 1 Kobboi 2022-02-28 22:21:55 UTC
Created attachment 766105 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 22:22:01 UTC
Created attachment 766106 [details]
emerge-info.txt