https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/blender-3.3.8 fails to compile. Discovered on: amd64 (internal ref: clang-lld_tinderbox) System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 886018 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Disabling render tests because tests folder does not exist at FAILED: intern/cycles/scene/CMakeFiles/cycles_scene.dir/image_vdb.cpp.o /var/tmp/portage/media-gfx/blender-3.3.8/work/blender-3.3.8/intern/cycles/scene/image_vdb.cpp:57:33: error: no member named 'openToNanoVDB' in namespace 'nanovdb'
Created attachment 886247 [details] emerge --info and build.log
Can confirm the bug also for the unstable 3.6.5
I can confirm this bug persists for blender v4.0.2 I was able to work around this by building with USE="-nanovdb -openvdb", though ofc if you need those features this may not be a feasible workaround for you.
It's interesting that blender-4.0.1-r1 builds fine, but 4.0.2 fails with the same use flags [ebuild U ~] media-gfx/blender-4.0.2:4.0::gentoo [4.0.1-r1:4.0::gentoo] USE="X bullet collada color-management cuda cycles embree ffmpeg fftw fluid gmp jemalloc nanovdb nls oidn openal openexr openmp openpgl opensubdiv openvdb pdf potrace pugixml pulseaudio sndfile tbb tiff wayland webp -alembic -cycles-bin-kernels -debug -doc -jack -jpeg2k -man -ndof -optix -osl -sdl -test -valgrind (-hip%)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
4.0.2 ebuild does not have the blender-4.0.1-openvdb-11.patch, it does still apply cleanly and compilation passed here with it
I'll pr the blender-4.0.2 fixes tomorrow. Had to fix media-libs/osl first to remove the dirty work around for llvm-15.
@Paul are you planning to bump the osl version as well? I think that they might support llvm 17 in the latest release. But I haven't tested this out yet myself.
PR for osl-1.13 https://github.com/gentoo/gentoo/pull/35965 did oidn-2.2.2, openpgl-0.6.0 and embree-4.3.1 aswell. osl-1.13 and openpgl-0.6 are only supported in blender-4.1.0. But that seems to build and run with the blender-4.0.2-r1 ebuild.
*** Bug 928377 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=175d65e779e69e5702ca52cb3af973a2fa0b0e62 commit 175d65e779e69e5702ca52cb3af973a2fa0b0e62 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-03-28 22:08:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-21 12:50:05 +0000 media-gfx/blender: add 4.0.2-r1, cleanup hopefully fixed osl build re-added hip flag in 4.0.2-r1 hide test code in release versions Bug: https://bugs.gentoo.org/693200 Closes: https://bugs.gentoo.org/925534 Closes: https://bugs.gentoo.org/927281 Closes: https://bugs.gentoo.org/927715 Closes: https://bugs.gentoo.org/927835 Closes: https://bugs.gentoo.org/927931 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35973 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-3.3.15.ebuild | 4 +- media-gfx/blender/blender-3.3.8.ebuild | 4 +- media-gfx/blender/blender-3.6.8.ebuild | 4 +- ...lender-4.0.2.ebuild => blender-4.0.2-r1.ebuild} | 128 +++++--- media-gfx/blender/blender-9999.ebuild | 119 ++++--- .../blender/files/blender-4.0.1-openvdb-11.patch | 2 + .../files/blender-4.0.2-CUDA_NVCC_FLAGS.patch | 14 + .../blender/files/blender-4.0.2-FindClang.patch | 14 + .../blender/files/blender-4.0.2-r1-osl-1.13.patch | 342 +++++++++++++++++++++ profiles/arch/amd64/package.use.mask | 4 + profiles/arch/base/package.use.mask | 4 + 11 files changed, 556 insertions(+), 83 deletions(-)