currently the build fails: ocio_display_filter_vfx2021.cpp: In member function 'bool OcioDisplayFilter::updateShaderImpl(F*)': /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp:510:31: error: no matching function for call to 'OpenColorIO_v2_3::GpuShaderDesc::getTexture(unsigned int&, const char*&, const char*&, unsigned int&, unsigned int&, OpenColorIO_v2_3::GpuShaderCreator::TextureType&, OpenColorIO_v2_3::Interpolation&)' 510 | shaderDesc->getTexture(idx, textureName, samplerName, width, height, channel, interpolation); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5/plugins/dockers/lut/ocio_display_filter_vfx2021.h:15, from /var/tmp/portage/media-gfx/krita-5.1.5/work/krita-5.1.5/plugins/dockers/lut/ocio_display_filter_vfx2021.cpp:8: /usr/include/OpenColorIO/OpenColorIO.h:3534:18: note: candidate: 'virtual void OpenColorIO_v2_3::GpuShaderDesc::getTexture(unsigned int, const char*&, const char*&, unsigned int&, unsigned int&, OpenColorIO_v2_3::GpuShaderCreator::TextureType&, OpenColorIO_v2_3::GpuShaderCreator::TextureDimensions&, OpenColorIO_v2_3::Interpolation&) const' 3534 | virtual void getTexture(unsigned index, | ^~~~~~~~~~ /usr/include/OpenColorIO/OpenColorIO.h:3534:18: note: candidate expects 8 arguments, 7 provided Someone has already made a pull request upstream: https://invent.kde.org/graphics/krita/-/merge_requests/1942 Reproducible: Always
Created attachment 872094 [details] full build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f75efa4e03aa1e1dc18bf1374de7d75212aca1 commit 55f75efa4e03aa1e1dc18bf1374de7d75212aca1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-10-03 18:57:00 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-10-03 19:20:58 +0000 media-gfx/krita: Fix build with >=media-libs/opencolorio-2.3.0 Picked from https://invent.kde.org/graphics/krita/-/merge_requests/1942 after sanitising unrelated changes. Closes: https://bugs.gentoo.org/915107 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/krita/files/krita-5.1.5-ocio-2.3.0.patch | 37 ++++++++++++++++++++++ media-gfx/krita/krita-5.1.5.ebuild | 1 + 2 files changed, 38 insertions(+)