Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833265 - media-gfx/blender-3.0.1-r3: merge failed
Summary: media-gfx/blender-3.0.1-r3: merge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Adrian
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 820674
  Show dependency tree
 
Reported: 2022-02-13 10:41 UTC by Haonan Chen
Modified: 2022-02-15 19:52 UTC (History)
4 users (show)

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


Attachments
emerge --info (file_833265.txt,18.68 KB, text/plain)
2022-02-13 10:42 UTC, Haonan Chen
Details
build.log (build.log,22.19 KB, text/x-log)
2022-02-13 10:45 UTC, Haonan Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haonan Chen 2022-02-13 10:41:32 UTC
Merge failed, cmake complains some dependencies are not found. Maybe some dependencies in ebuild is lost?

Reproducible: Always
Comment 1 Haonan Chen 2022-02-13 10:42:03 UTC
Created attachment 764965 [details]
emerge --info
Comment 2 Haonan Chen 2022-02-13 10:45:14 UTC
Created attachment 764966 [details]
build.log
Comment 3 Haonan Chen 2022-02-13 10:46:25 UTC
Maybe the key of emerge.log:

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENEXR_ILMIMF_LIBRARY (ADVANCED)
    linked by target "cycles_kernel_osl" in directory /var/tmp/portage/media-gfx/blender-3.0.1-r3/work/blender-3.0.1/intern/cycles/kernel/osl
    linked by target "cycles_scene" in directory /var/tmp/portage/media-gfx/blender-3.0.1-r3/work/blender-3.0.1/intern/cycles/scene
Comment 4 Haonan Chen 2022-02-13 17:51:32 UTC
Since version 3.0.1-r2 in commit 208991d23ab7 build successfully on my machine, I have found the solution:

Change line 15-16 of file blender-3.0.1-openexr.patch from

+find_package(Imath-3 CONFIG QUIET)
+if(TARGET Imath-3::Imath)

to

+find_package(Imath CONFIG QUIET)
+if(TARGET Imath::Imath)
Comment 5 Larry the Git Cow gentoo-dev 2022-02-15 19:51:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d23e6ab87569d482db5b5aad1f9e11d8c7c377

commit 22d23e6ab87569d482db5b5aad1f9e11d8c7c377
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-12 18:01:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-15 19:49:50 +0000

    media-gfx/blender: adjust to unslotted OpenEXR
    
    Bug: https://bugs.gentoo.org/833197
    Bug: https://bugs.gentoo.org/828441
    Bug: https://bugs.gentoo.org/833265
    Bug: https://bugs.gentoo.org/833196
    Bug: https://bugs.gentoo.org/833158
    Bug: https://bugs.gentoo.org/831357
    Bug: https://bugs.gentoo.org/832862
    Bug: https://bugs.gentoo.org/821247
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/blender-2.93.8-r2.ebuild         |   4 +-
 media-gfx/blender/blender-3.0.1-r3.ebuild          |   6 +-
 media-gfx/blender/blender-9999.ebuild              |   2 +-
 .../blender/files/blender-3.0.1-openexr.patch      | 161 +++++++++------------
 4 files changed, 75 insertions(+), 98 deletions(-)