Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915107 - media-gfx/krita-5.1.5[color-management] w/ media-libs/opencolorio-2.3.0: 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...
Summary: media-gfx/krita-5.1.5[color-management] w/ media-libs/opencolorio-2.3.0: plug...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://invent.kde.org/graphics/krita...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-10-03 08:55 UTC by Kyle Elbert
Modified: 2023-10-03 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log (build.log.gz,195.52 KB, application/gzip)
2023-10-03 08:59 UTC, Kyle Elbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Elbert 2023-10-03 08:55:41 UTC
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
Comment 1 Kyle Elbert 2023-10-03 08:59:31 UTC
Created attachment 872094 [details]
full build.log
Comment 2 Larry the Git Cow gentoo-dev 2023-10-03 19:21:24 UTC
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(+)