Hello. media-gfx/blender-2.93.13 and media-gfx/blender-2.93.10 can be build only with -openvdb. Reproducible: Always Steps to Reproduce: 1. Issue emerge blender Actual Results: [31mFAILED: [0mintern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_WAVE_DYN_LINK -DBOOST_WAVE_NO_LIB -DCCL_NAMESPACE_BEGIN="namespace ccl {" -DCCL_NAMESPACE_END=} -DCYCLES_GFLAGS_NAMESPACE=gflags -DEMBREE_STATIC_LIB -DGLEW_NO_GLU -DGOOGLE_GLOG_DLL_DECL="" -DOSL_STATIC_BUILD -DOSL_STATIC_LIBRARY -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -DWITH_BLENDER_GUARDEDALLOC -DWITH_CYCLES_LOGGING -DWITH_EMBREE -DWITH_GL_PROFILE_CORE -DWITH_KERNEL_AVX -DWITH_KERNEL_AVX2 -DWITH_KERNEL_SSE2 -DWITH_KERNEL_SSE3 -DWITH_KERNEL_SSE41 -DWITH_OCIO -DWITH_OPENGL -DWITH_OPENSUBDIV -DWITH_OPENVDB -DWITH_OPENVDB_BLOSC -DWITH_OSL -DWITH_SYSTEM_PUGIXML -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/../atomic -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/.. -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/../../glew-mx -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/../../sky/include -isystem /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/extern/glog/include -isystem /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/extern/gflags/src -isystem /usr/include/OpenImageIO -isystem /usr/include/OpenEXR -isystem /usr/include/Imath -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -march=x86-64 -O2 -pipe -DNDEBUG -fopenmp -std=c++17 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13_build/"="" -fno-trapping-math -fno-math-errno -fno-signed-zeros -fno-signaling-nans -fno-rounding-math -mfpmath=sse -Werror=float-conversion -Werror=double-promotion -Wno-error=unused-macros -MD -MT intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o -MF intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o.d -o intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o -c /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp: In member function ‘void ccl::VolumeMeshBuilder::add_padding(int)’: /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp:274:19: error: ‘dilateVoxels’ is not a member of ‘openvdb::v10_0::tools’ 274 | openvdb::tools::dilateVoxels(topology_grid->tree(), pad_size); Expected Results: Successful build. Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r5, 5.15.88-gentoo x86_64) ================================================================= System uname: Linux-5.15.88-gentoo-x86_64-Intel-R-_Core-TM-_i5-8500_CPU_@_3.00GHz-with-glibc2.36 KiB Mem: 7925812 total, 3166500 free KiB Swap: 16777212 total, 16765948 free Timestamp of repository gentoo: Thu, 02 Feb 2023 08:45:02 +0000 Head commit of repository gentoo: b9905ce787bc1ea8d6bcacc911f72722a21b319c sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p5) 2.39.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9-r1::gentoo dev-lang/rust: 1.66.1::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo sys-devel/gcc: 12.2.1_p20230121-r1::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=x86-64 -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=x86-64 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=x86-64 -O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org" LANG="ru_RU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j4" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="7zip X a52 aac acl acpi activities alsa amd64 bittorrent bluetooth branding btrfs bzip2 cairo cdda cdr cli client crypt cups dbus declarative dri dts dvd dvdr elogind encode exif ffmpeg firmware flac fortran gdbm gif git gles2 gpm gui harfbuzz iconv icu ipv6 jpeg kde kwallet lcms libglvnd libtirpc logrotate mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntp ogg opengl openmp opus oscar otr pam pango pcre pdf plasma png policykit ppds qml qt5 rar readline samba scanner screencast sddm sdl seccomp semantic-desktop sip smartcard sna sound spell spice split-usr sqlite ssl startup-notification svg synaptics test-rust theora tiff touchpad truetype tty-helpers udev udisks unicode upnp upower usb utils v4l vaapi vorbis vpx wayland widgets x264 xattr xcb xft xml xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="usb-audio hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 849694 [details] Build log.
Same here: FAILED: intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_WAVE_DYN_LINK -DBOOST_WAVE_NO_LIB -DCCL_NAMESPACE_BEGIN="namespace ccl {" -DCCL_NAMESPACE_END=} -DCYCLES_GFLAGS_NAMESPACE=gflags -DEMBREE_STATIC_LIB -DGLEW_NO_GLU -DGOOGLE_GLOG_DLL_DECL="" -DOSL_STATIC_BUILD -DOSL_STATIC_LIBRARY -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -DWITH_BLENDER_GUARDEDALLOC -DWITH_CYCLES_LOGGING -DWITH_EMBREE -DWITH_GL_PROFILE_CORE -DWITH_KERNEL_AVX -DWITH_KERNEL_AVX2 -DWITH_KERNEL_SSE2 -DWITH_KERNEL_SSE3 -DWITH_KERNEL_SSE41 -DWITH_OCIO -DWITH_OPENGL -DWITH_OPENSUBDIV -DWITH_OPENVDB -DWITH_OPENVDB_BLOSC -DWITH_OSL -DWITH_SYSTEM_PUGIXML -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/../atomic -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/.. -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/../../glew-mx -I/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/../../sky/include -isystem /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/extern/glog/include -isystem /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/extern/gflags/src -isystem /usr/include/OpenImageIO -isystem /usr/include/OpenEXR -isystem /usr/include/Imath -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -march=native -mtune=native -O2 -pipe -DNDEBUG -fopenmp -std=c++17 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13_build/"="" -fno-trapping-math -fno-math-errno -fno-signed-zeros -fno-signaling-nans -fno-rounding-math -mfpmath=sse -Werror=float-conversion -Werror=double-promotion -Wno-error=unused-macros -MD -MT intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o -MF intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o.d -o intern/cycles/render/CMakeFiles/cycles_render.dir/volume.cpp.o -c /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp: In member function ‘void ccl::VolumeMeshBuilder::add_padding(int)’: /var/tmp/portage/media-gfx/blender-2.93.13/work/blender-2.93.13/intern/cycles/render/volume.cpp:274:19: error: ‘dilateVoxels’ is not a member of ‘openvdb::v10_0::tools’ 274 | openvdb::tools::dilateVoxels(topology_grid->tree(), pad_size); | ^~~~~~~~~~~~
Please test with 3.4.1.
media-gfx/blender-3.4.1 from testing compiles and portage asked me to enable these in package.use >=media-libs/freetype-2.12.1-r1 brotli # required by media-libs/freetype-2.12.1-r1::gentoo[brotli] # required by media-gfx/blender-3.4.1::gentoo # required by @selected # required by @world (argument) >=app-arch/brotli-1.0.9-r5 abi_x86_32
(In reply to Andreas Sturmlechner from comment #3) > Please test with 3.4.1. Note that 2.93.x is an LTS version. 3.3 is also LTS. So far we've only stabled LTS versions.
In that case please test with 3.3.2. If positive, it should be stabilised asap.
media-gfx/blender-3.3.2 compiles for me as well
Thanks for the report. I had noticed this issue last week but forgot to push the changes to a pull request >< I agree that we can stabilize the other lts releases as well. I don't mind if we stabilize the non lts releases as well if there are not severe bugs. Usually the non lts releases are not that much more unstable than the LTS releases.
Hello. Thanks for your time. 3.3.2 has been compiled without any issues.
(In reply to Sebastian Parborg from comment #8) > Thanks for the report. > I had noticed this issue last week but forgot to push the changes to a pull > request >< > > I agree that we can stabilize the other lts releases as well. > > I don't mind if we stabilize the non lts releases as well if there are not > severe bugs. Usually the non lts releases are not that much more unstable > than the LTS releases. Whatever's fine with you is fine with me wrt how we move forward in future. But let's start with next LTS first as asturm has.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6598e6d9c4b5e4474e1c31b0603da99f0cfb5e2d commit 6598e6d9c4b5e4474e1c31b0603da99f0cfb5e2d Author: Sebastian Parborg <darkdefende@gmail.com> AuthorDate: 2023-02-03 11:08:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-17 05:20:36 +0000 media-gfx/blender: Fix building 2.93 with openvdb-10 Closes: https://bugs.gentoo.org/892924 Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-2.93.13.ebuild | 1 + .../blender/files/blender-2.93.13-openvdb-10.patch | 107 +++++++++++++++++++++ 2 files changed, 108 insertions(+)