Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925534 - media-gfx/blender-3.3.8 fails to compile: image_vdb.cpp:57:33: error: no member named openToNanoVDB in namespace nanovd
Summary: media-gfx/blender-3.3.8 fails to compile: image_vdb.cpp:57:33: error: no memb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
: 928377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-26 07:58 UTC by Agostino Sarubbo
Modified: 2024-04-21 12:51 UTC (History)
16 users (show)

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


Attachments
build.log (build.log,687.47 KB, text/plain)
2024-02-26 07:58 UTC, Agostino Sarubbo
Details
emerge --info and build.log (emerge.log,616.60 KB, text/plain)
2024-02-29 12:18 UTC, Ivan Fedyanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-26 07:58:34 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-26 07:58:36 UTC
Created attachment 886018 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-26 07:58:36 UTC
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'
Comment 3 Ivan Fedyanin 2024-02-29 12:18:04 UTC
Created attachment 886247 [details]
emerge --info and build.log
Comment 4 Ivan Fedyanin 2024-02-29 12:18:56 UTC
Can confirm the bug also for the unstable 3.6.5
Comment 5 wolfgang 2024-03-26 18:13:14 UTC
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.
Comment 6 Alexey Korepanov 2024-03-27 15:34:32 UTC
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
Comment 7 Bernard Cafarelli gentoo-dev 2024-03-27 16:57:49 UTC
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
Comment 8 Paul Zander 2024-03-27 22:23:04 UTC
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.
Comment 9 Sebastian Parborg 2024-03-28 11:29:54 UTC
@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.
Comment 10 Paul Zander 2024-03-28 22:02:14 UTC
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.
Comment 11 Paul Zander 2024-04-01 10:31:56 UTC
*** Bug 928377 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2024-04-21 12:51:23 UTC
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(-)