Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819132 - media-libs/opencolorio-2.0.2[python]: configure error: cmake find_package(Python python3.9) error
Summary: media-libs/opencolorio-2.0.2[python]: configure error: cmake find_package(Pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-21 10:12 UTC by Marek Behún
Modified: 2021-10-22 02:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Behún 2021-10-21 10:12:45 UTC
CMake Error at share/cmake/modules/FindExtPackages.cmake:70 (find_package):
  find_package called with invalid argument "python3.9"
Call Stack (most recent call first):
  CMakeLists.txt:241 (include)



The find_package() macro has to be given python version (i.e. 3.9), not EPYTHON (i.e python3.9) as second argument.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-10-22 02:47:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d55f4a0a5e4fb64d393ce172ec11bbda2c10c2a

commit 7d55f4a0a5e4fb64d393ce172ec11bbda2c10c2a
Author:     Marek Behún <kabel@kernel.org>
AuthorDate: 2021-10-21 10:12:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-22 02:47:03 +0000

    media-libs/opencolorio: fix OCIO_PYTHON_VERSION
    
    The OCIO_PYTHON_VERSION cmake argument needs to contain only the version
    number (i.e. 3.9), not EPYTHON (i.e. python3.9).
    
    Bug: https://bugs.gentoo.org/819132
    Signed-off-by: Marek Behún <kabel@kernel.org>
    Closes: https://github.com/gentoo/gentoo/pull/22654
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opencolorio/opencolorio-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)