Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833184 - media-gfx/blender-3.0.1-r2: CMake fails with OPENEXR_IMATH_LIBRARY-NOTFOUND when media-libs/ilmbase is not installed
Summary: media-gfx/blender-3.0.1-r2: CMake fails with OPENEXR_IMATH_LIBRARY-NOTFOUND w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 820674
  Show dependency tree
 
Reported: 2022-02-12 13:39 UTC by Federico Justus Denkena
Modified: 2022-02-12 16:12 UTC (History)
5 users (show)

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


Attachments
emerge --info on blender (file_833184.txt,6.48 KB, text/plain)
2022-02-12 13:39 UTC, Federico Justus Denkena
Details
emerge -pqv (file_833184.txt,403 bytes, text/plain)
2022-02-12 13:40 UTC, Federico Justus Denkena
Details
build.log (file_833184.txt,22.85 KB, text/plain)
2022-02-12 13:41 UTC, Federico Justus Denkena
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Justus Denkena 2022-02-12 13:39:09 UTC
While compiling blender (latest version as of now, synced to make sure) I hit an error with a CMAKE variable that is set to NOTFOUND.

Reproducible: Always

Steps to Reproduce:
1. Try emerge --ask media-gfx/blender
Actual Results:  
Fails

Expected Results:  
Compiles the package
Comment 1 Federico Justus Denkena 2022-02-12 13:39:37 UTC
Created attachment 764920 [details]
emerge --info on blender
Comment 2 Federico Justus Denkena 2022-02-12 13:40:25 UTC
Created attachment 764921 [details]
emerge -pqv
Comment 3 Federico Justus Denkena 2022-02-12 13:41:35 UTC
Created attachment 764922 [details]
build.log
Comment 4 Federico Justus Denkena 2022-02-12 13:45:03 UTC
additional info: I'm on a virtual machine guest (qubes os to be specific, but basically a xen pvh guest)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-12 14:09:15 UTC
Could you share emerge -pvO dev-libs/imath?
Comment 6 Federico Justus Denkena 2022-02-12 14:12:31 UTC
Calculating dependencies... done!
[ebuild   R    ] dev-libs/imath-3.1.4-r1:3/29::gentoo  USE="-doc -large-stack -python -static-libs -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-12 14:15:03 UTC
Out of interest, does env-update and . /etc/profile make any difference here (try to build Blended again)?
Comment 8 Federico Justus Denkena 2022-02-12 14:20:36 UTC
Nope, fails with the same error
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-12 14:32:37 UTC
Thanks. Reproduced with ilmbase also not installed (not having openexr:0 is insufficient).
Comment 10 Federico Justus Denkena 2022-02-12 14:40:45 UTC
Fix confirmed, works great. Thanks for the incredibly fast help! :-)
Comment 11 Larry the Git Cow gentoo-dev 2022-02-12 15:01:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065ec4efaff92d4abe6e55ecbc7c58ba1544d541

commit 065ec4efaff92d4abe6e55ecbc7c58ba1544d541
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-12 14:58:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-12 14:58:16 +0000

    media-gfx/blender: force finding imath-3 in 2.93.8/3.0.1
    
    We'd pick up media-libs/ilmbase even if we (probably) wouldn't
    use it, so let's not do that, as we're switching to OpenEXR 3.
    
    Bug: https://bugs.gentoo.org/832862
    Closes: https://bugs.gentoo.org/833184
    Signed-off-by: Sam James <sam@gentoo.org>

 .../blender/{blender-2.93.8-r1.ebuild => blender-2.93.8-r2.ebuild}    | 0
 .../blender/{blender-3.0.1-r2.ebuild => blender-3.0.1-r3.ebuild}      | 0
 media-gfx/blender/files/blender-3.0.1-openexr.patch                   | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)