Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Namespace mismatches when emerging media-libs/openimageio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Perigord
n00b
n00b


Joined: 14 Oct 2021
Posts: 6

PostPosted: Thu Oct 14, 2021 1:03 am    Post subject: Namespace mismatches when emerging media-libs/openimageio Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Oct 14, 2021 11:04 am    Post subject: Reply with quote

Plz pastebin full build.log and
Code:

emerge --info

_________________
:)
Back to top
View user's profile Send private message
Perigord
n00b
n00b


Joined: 14 Oct 2021
Posts: 6

PostPosted: Thu Oct 14, 2021 12:52 pm    Post subject: Reply with quote

alamahant wrote:
Plz pastebin full build.log and
Code:

emerge --info


emerge --info
buld.log
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1897
Location: 127.0.0.1

PostPosted: Thu Oct 14, 2021 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum