Summary: | media-libs/openimageio-2.2.18.0-r1: Emerging issues caused by Imath | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | perigordtruffle7318 |
Component: | Current packages | Assignee: | Aisha Tammy <gentoo> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | jstein, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Emerge --info openimageio
Build.log pre imath emerge emerge --info '=media-libs/openimageio-2.2.18.0-r1::gentoo' emerge after emerging Imath emerge --info '=dev-libs/imath-3.1.3::gentoo' |
oh wait accidentally pressed enter too early, Created attachment 746976 [details]
Build.log pre imath emerge
Created attachment 746979 [details]
emerge --info '=media-libs/openimageio-2.2.18.0-r1::gentoo'
Comment on attachment 746976 [details]
Build.log pre imath emerge
Of course this causes the cmake generation to fail
Created attachment 746982 [details]
emerge after emerging Imath
Emerging with Imath installed does cause some namespace collisions which is easily fixed by some word replacements, i've even tried making a local clone and most of the namespace issues got fixed only leaving behind these errors:
In file included from /usr/include/Imath/ImathColor.h:17,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/openimageio-2.2.18.0_build/include/OpenImageIO/Imath.h:16,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/include/OpenImageIO/fmath.h:40,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/openexr.imageio/exroutput.cpp:75:
/usr/include/Imath/half.h:569:5: error: ‘IMATH_CONSTEXPR14’ does not name a type; did you mean ‘OIIO_CONSTEXPR14’?
569 | IMATH_CONSTEXPR14 half round (unsigned int n) const IMATH_NOEXCEPT;
| ^~~~~~~~~~~~~~~~~
| OIIO_CONSTEXPR14
Created attachment 746985 [details]
emerge --info '=dev-libs/imath-3.1.3::gentoo'
The problem seems to be that cmake is going to use media-libs/openexr:3 when installed, whereas the ebuild(s) of openimageio specifies the dependency on media-libs/openexr:0. A workaround would be to unmerge media-libs/openexr:3, if possible. See also: https://bugs.gentoo.org/820275 *** This bug has been marked as a duplicate of bug 816264 *** |
Created attachment 746973 [details] Emerge --info openimageio First thing I noticed is the lack of Imath in any of the ebuilds $ cat /var/db/repos/gentoo/media-libs/openimageio/* | grep -i "imath" ✘ $