Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

openimageio and ninja failing [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
iandoug
l33t
l33t
User avatar
Posts: 887
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

openimageio and ninja failing [SOLVED]

  • Quote

Post by iandoug » Sun Jan 31, 2021 4:45 pm

Hi

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"

Is this something on my system / fixable by me or is issue higher up the tree?

Previously I had to ~amd64 it to get it to compile but that fails the same way.

Thanks, Ian
Last edited by iandoug on Sun Jan 31, 2021 5:23 pm, edited 1 time in total.
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Top
Ionen
Developer
Developer
User avatar
Posts: 3013
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Jan 31, 2021 4:56 pm

Do you still have old openjpeg-1.5.2-r1 installed? Should've been cleaned from tree already for security reasons.

It's due to a openimageio bug that cause it to fail to detect latest openjpeg 2.4, and it falls back on the old one that's incompatible given both can be installed at same time (bug #765589).
Top
iandoug
l33t
l33t
User avatar
Posts: 887
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

  • Quote

Post by iandoug » Sun Jan 31, 2021 5:23 pm

Ionen wrote:Do you still have old openjpeg-1.5.2-r1 installed? Should've been cleaned from tree already for security reasons.

.
Yes I did, uninstalled it and openimageio compiled. :-)

thanks, Ian
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic