[828/4839] /usr/bin/x86_64-pc-linux-gnu-g++ -DWITH_OPENGL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/var/tmp/ portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1_build/extern/audaspace -I/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/include -I/usr/include/pyt hon3.9 -I/usr/lib/python3.9/site-packages/numpy/core/include -I/usr/include/SDL2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuninitialized -Wall -Wno-invalid-of fsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wimplicit-fallthrough=5 -O2 -march=znver3 -pipe -g -ggdb3 -DNDEBUG -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing - ffp-contract=off -msse2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blen der-3.0.1_build/"="" -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-function -Wno-type-limits -Wno-int-in-bool-context -Wno-format -Wno-switch -Wno-unused-variable -Wno -uninitialized -Wno-implicit-fallthrough -Wno-error=unused-but-set-variable -Wno-class-memaccess -Wno-comment -Wno-unused-local-typedefs -Wno-unused-variable -Wno-uninitialized -std=c+ +17 -MD -MT extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o -MF extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o.d -o extern/audas pace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o -c /var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp FAILED: extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DWITH_OPENGL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/var/tmp/portage/med ia-gfx/blender-3.0.1-r4/work/blender-3.0.1_build/extern/audaspace -I/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/include -I/usr/include/python3.9 -I/u sr/lib/python3.9/site-packages/numpy/core/include -I/usr/include/SDL2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuninitialized -Wall -Wno-invalid-offsetof -Wno -sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wimplicit-fallthrough=5 -O2 -march=znver3 -pipe -g -ggdb3 -DNDEBUG -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contrac t=off -msse2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1_b uild/"="" -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-function -Wno-type-limits -Wno-int-in-bool-context -Wno-format -Wno-switch -Wno-unused-variable -Wno-uninitiali zed -Wno-implicit-fallthrough -Wno-error=unused-but-set-variable -Wno-class-memaccess -Wno-comment -Wno-unused-local-typedefs -Wno-unused-variable -Wno-uninitialized -std=c++17 -MD -MT extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o -MF extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o.d -o extern/audaspace/CMakeF iles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o -c /var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp /var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp: In member function ‘void aud::FFMPEGReader::init(int)’: /var/tmp/portage/media-gfx/blender-3.0.1-r4/work/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp:180:47: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive] 180 | AVCodec* aCodec = avcodec_find_decoder(m_formatCtx->streams[m_stream]->codecpar->codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* Reproducible: Always
Created attachment 766023 [details] build.log.gz
Created attachment 766024 [details] emerge-info.txt
Compiles fine with * USE=ffmpeg and ffmpeg-4.4.1 * USE=-ffmpeg and ffmpeg-5.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0538d70bf6187eba8bb550253eb9cf436b6ad9bf commit 0538d70bf6187eba8bb550253eb9cf436b6ad9bf Author: Sebastian Parborg <darkdefende@gmail.com> AuthorDate: 2022-03-14 15:32:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-14 18:43:22 +0000 media-gfx/blender: Fix building with ffmpeg 5.0 Closes: https://bugs.gentoo.org/834380 Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24558 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-2.93.0-r1.ebuild | 2 +- media-gfx/blender/blender-2.93.6.ebuild | 2 +- media-gfx/blender/blender-2.93.8-r4.ebuild | 2 +- media-gfx/blender/blender-2.93.8-r5.ebuild | 403 ++++++++ media-gfx/blender/blender-3.0.0-r1.ebuild | 2 +- media-gfx/blender/blender-3.0.1-r4.ebuild | 2 +- media-gfx/blender/blender-3.0.1-r5.ebuild | 411 ++++++++ .../blender/files/blender-3.0.1-ffmpeg-5.0.patch | 1045 ++++++++++++++++++++ 8 files changed, 1864 insertions(+), 5 deletions(-)