Need to install Blender again, but having issues with openimageio (seems a bit buggy...)
Code: Select all
/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp: In member function ‘void OpenImageIO_v2_2::Jpeg2000Input::destroy_decompressor()’:
/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:392:9: error: ‘m_codec’ was not declared in this scope
392 | if (m_codec) {
| ^~~~~~~
/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:393:9: error: ‘opj_destroy_codec’ was not declared in this scope; did you mean ‘opj_destroy_compress’?
393 | opj_destroy_codec(m_codec);
| ^~~~~~~~~~~~~~~~~
| opj_destroy_compress
/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp: In member function ‘void OpenImageIO_v2_2::Jpeg2000Input::read_scanline(int, int, void*)’:
/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:426:33: error: ‘OPJ_CLRSPC_SYCC’ was not declared in this scope; did you mean ‘CLRSPC_SYCC’?
426 | if (m_image->color_space == OPJ_CLRSPC_SYCC)
| ^~~~~~~~~~~~~~~
| CLRSPC_SYCC
[121/178] /usr/bin/x86_64-pc-linux-gnu-g++ -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_EXTERNAL_PUGIXML=1 -DUSE_FFMPEG -DUSE_FREETYPE=1 -DUSE_GIF -DUSE_HEIF=1 -DUSE_JPEG_TURBO=1 -DUSE_LIBRAW=1 -DUSE_OCIO=1 -DUSE_OPENCOLORIO=1 -DUSE_OPENJPEG -DUSE_STD_REGEX -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iinclude/OpenImageIO -Iinclude -Isrc/include -I/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/include -I/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/dds.imageio/squish -I/usr/include/freetype2 -isystem /usr/include/OpenEXR -march=native -O2 -pipe -fPIC -Wall -Wno-unused-local-typedefs -Wno-unused-result -Wno-aligned-new -Wno-noexcept-type -fno-math-errno -maes -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -std=c++14 -MD -MT src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpeginput.cpp.o -MF src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpeginput.cpp.o.d -o src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpeginput.cpp.o -c /var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg.imageio/jpeginput.cpp
[122/178] /usr/bin/x86_64-pc-linux-gnu-g++ -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_EXTERNAL_PUGIXML=1 -DUSE_FFMPEG -DUSE_FREETYPE=1 -DUSE_GIF -DUSE_HEIF=1 -DUSE_JPEG_TURBO=1 -DUSE_LIBRAW=1 -DUSE_OCIO=1 -DUSE_OPENCOLORIO=1 -DUSE_OPENJPEG -DUSE_STD_REGEX -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iinclude/OpenImageIO -Iinclude -Isrc/include -I/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/include -I/var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/dds.imageio/squish -I/usr/include/freetype2 -isystem /usr/include/OpenEXR -march=native -O2 -pipe -fPIC -Wall -Wno-unused-local-typedefs -Wno-unused-result -Wno-aligned-new -Wno-noexcept-type -fno-math-errno -maes -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -std=c++14 -MD -MT src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpegoutput.cpp.o -MF src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpegoutput.cpp.o.d -o src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg.imageio/jpegoutput.cpp.o -c /var/tmp/portage/media-libs/openimageio-2.2.9.0-r1/work/oiio-Release-2.2.9.0/src/jpeg.imageio/jpegoutput.cpp
ninja: build stopped: subcommand failed.
* ERROR: media-libs/openimageio-2.2.9.0-r1::gentoo failed (compile phase):
* ninja -v -j3 -l0 failed
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 3342: Called cmake_src_compile
* environment, line 1312: Called cmake_build
* environment, line 1281: Called eninja
* environment, line 1733: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
Previously I had to ~amd64 it to get it to compile but that fails the same way.
Thanks, Ian

