View previous topic :: View next topic |
Author |
Message |
Perigord n00b
Joined: 14 Oct 2021 Posts: 6
|
Posted: Thu Oct 14, 2021 1:03 am Post subject: Namespace mismatches when emerging media-libs/openimageio |
|
|
Code: | ^~~~~~~
In file included from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/include/OpenImageIO/attrdelegate.h:13,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/include/OpenImageIO/paramlist.h:17,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/include/OpenImageIO/imageio.h:34,
from /var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/openexr.imageio/exroutput.cpp:76:
/var/tmp/portage/media-libs/openimageio-2.2.18.0-r1/work/oiio-Release-2.2.18.0/src/include/OpenImageIO/typedesc.h:461:40: error: ‘Color3f’ is not a member of ‘Imath’; did you mean ‘Imath_3_1::Color3f’?
461 | template<> struct TypeDescFromC<Imath::Color3f> { static const constexpr TypeDesc value() { return TypeColor; } };
| ^~~~~~~
In file included 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/ImathColor.h:267:23: note: ‘Imath_3_1::Color3f’ declared here
267 | typedef Color3<float> Color3f; |
And other similar issues keep popping up. I even tried editing the files in the work folder but when I emerge they return back to the previous state it was in.
The useflags for both \/\/
Code: | [ebuild R ] dev-libs/imath-3.1.1:3/29::gentoo USE="doc large-stack static-libs -python -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB |
Code: | [ebuild N ] media-libs/openimageio-2.2.18.0-r1:0/2.2::gentoo USE="X ffmpeg gif jpeg2k opencv opengl ptex python raw truetype -dicom -doc -field3d -openvdb -qt5" CPU_FLAGS_X86="aes avx avx2 f16c sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB |
|
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Oct 14, 2021 11:04 am Post subject: |
|
|
Plz pastebin full build.log and
_________________
|
|
Back to top |
|
|
Perigord n00b
Joined: 14 Oct 2021 Posts: 6
|
Posted: Thu Oct 14, 2021 12:52 pm Post subject: |
|
|
alamahant wrote: | Plz pastebin full build.log and
|
emerge --info
buld.log |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1897 Location: 127.0.0.1
|
Posted: Thu Oct 14, 2021 2:24 pm Post subject: |
|
|
Hi,
The first error in your build log is :
Code: |
/usr/include/Imath/half.h:571:5: error: ‘IMATH_CONSTEXPR14’ does not name a type; did you mean ‘OIIO_CONSTEXPR14’?
|
I would try to downgrade dev-libs/imath to 3.0.5-r1.
I seems that there were some significant changes between 3.0.x and 3.1.x versions of dev-libs/imath.
Many build fixs seem to have been pushed on media-libs/openimageio 2.3 branch. |
|
Back to top |
|
|
|