Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828441 - media-gfx/blender-3.0 OSL_SHADER_DIR-NOTFOUND
Summary: media-gfx/blender-3.0 OSL_SHADER_DIR-NOTFOUND
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:
 
Reported: 2021-12-06 01:02 UTC by Reuben Martin
Modified: 2022-02-15 19:52 UTC (History)
3 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 Reuben Martin 2021-12-06 01:02:27 UTC
Noticed that the include dir for OSL shaders (/usr/include/OSL/shaders) is not getting set correctly for some reason in the build.

Doesn't seem to prevent it from building, but probably not good.

One of many examples:

cd /var/tmp/portage/media-gfx/blender-3.0.0/work/blender-3.0.0_build/intern/cycles/kernel/osl/shaders && /usr/bin/oslc -q -O2 -I"/var/tmp/portage/media-gfx/blender-3.0.0/work/blender-3.0.0/intern/cycles/kernel/osl/shaders" -I"OSL_SHADER_DIR-NOTFOUND" -o /var/tmp/portage/media-gfx/blender-3.0.0/work/blender-3.0.0_build/intern/cycles/kernel/osl/shaders/node_output_surface.oso /var/tmp/portage/media-gfx/blender-3.0.0/work/blender-3.0.0/intern/cycles/kernel/osl/shaders/node_output_surface.osl

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-11 20:10:23 UTC
Please do provide the full build.log and emerge --info.
Comment 2 Larry the Git Cow gentoo-dev 2022-02-15 19:51:15 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(-)