Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952825 - media-gfx/blender-3.6.1-r1[cuda]: build failure, nvcc segfaults
Summary: media-gfx/blender-3.6.1-r1[cuda]: build failure, nvcc segfaults
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 07:11 UTC by JohnLM
Modified: 2025-03-28 19:41 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 JohnLM 2025-03-28 07:11:00 UTC
Building Blender invariably crashes. It appears to crash because cicc (nvcc) segfaults when compiling CUDA kernels for Cycles.

Reproducible: Always

Steps to Reproduce:
1. emerge -1v =media-gfx/blender-3.6.1-r1

Actual Results:  
Build fails, the relevant snippet:

[4981/4992] cd /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_50 --cubin /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/.. -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda --use_fast_math -o /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_sm_50.cubin -Wno-deprecated-gpu-targets -ccbin="/usr/bin/x86_64-pc-linux-gnu-gcc" -D WITH_NANOVDB -I /usr/include
FAILED: intern/cycles/kernel/kernel_sm_50.cubin /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_sm_50.cubin 
cd /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_50 --cubin /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/.. -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda --use_fast_math -o /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_sm_50.cubin -Wno-deprecated-gpu-targets -ccbin="/usr/bin/x86_64-pc-linux-gnu-gcc" -D WITH_NANOVDB -I /usr/include
nvcc error   : '"$CICC_PATH/cicc"' died due to signal 11 (Invalid memory reference)
nvcc error   : '"$CICC_PATH/cicc"' core dumped
[4982/4992] cd /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=compute_75 --ptx /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/.. -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda --use_fast_math -o /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_compute_75.ptx -Wno-deprecated-gpu-targets -ccbin="/usr/bin/x86_64-pc-linux-gnu-gcc" -D WITH_NANOVDB -I /usr/include
[4983/4992] cd /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_52 --cubin /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/.. -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda --use_fast_math -o /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_sm_52.cubin -Wno-deprecated-gpu-targets -ccbin="/usr/bin/x86_64-pc-linux-gnu-gcc" -D WITH_NANOVDB -I /usr/include
[4984/4992] cd /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_60 --cubin /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda/kernel.cu -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/.. -I /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18/intern/cycles/kernel/device/cuda --use_fast_math -o /var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build/intern/cycles/kernel/kernel_sm_60.cubin -Wno-deprecated-gpu-targets -ccbin="/usr/bin/x86_64-pc-linux-gnu-gcc" -D WITH_NANOVDB -I /usr/include
ninja: build stopped: subcommand failed.
 * ERROR: media-gfx/blender-3.6.18-r1::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3131:  Called cmake_src_compile
 *   environment, line 1447:  Called cmake_build
 *   environment, line 1414:  Called eninja
 *   environment, line 1742:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/blender-3.6.18-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/blender-3.6.18-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/blender-3.6.18-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-3.6.18-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18_build'
 * S: '/var/tmp/portage/media-gfx/blender-3.6.18-r1/work/blender-3.6.18'

in addition in journal we get more info:

Mar 27 23:06:32 isg005 systemd-coredump[1008527]: Process 1008517 (cicc) of user 250 terminated abnormally with signal 11/SEGV, processing...
Mar 27 23:06:32 isg005 systemd[1]: Started Process Core Dump (PID 1008527/UID 0).
Mar 27 23:06:36 isg005 systemd-coredump[1008528]: [🡕] Process 1008517 (cicc) of user 250 dumped core.
  
  Module ld-linux-x86-64.so.2 without build-id.
  Module libc.so.6 without build-id.
  Module libm.so.6 without build-id.
  Module libdl.so.2 without build-id.
  Module librt.so.1 without build-id.
  Module libpthread.so.0 without build-id.
  Module cicc without build-id.
  Stack trace of thread 14432:
  #0  0x000000000294e952 n/a (cicc + 0x254e952)
  #1  0x000000000294f393 n/a (cicc + 0x254f393)
  #2  0x000000000295168f n/a (cicc + 0x255168f)
  #3  0x0000000002943741 __libc_calloc (cicc + 0x2543741)
  #4  0x0000000002d4e991 n/a (cicc + 0x294e991)
  #5  0x0000000002cc895f n/a (cicc + 0x28c895f)
  #6  0x0000000002cc616c n/a (cicc + 0x28c616c)
  #7  0x0000000002cc6251 n/a (cicc + 0x28c6251)
  #8  0x00000000028cc570 n/a (cicc + 0x24cc570)
  #9  0x00000000028ccfd1 n/a (cicc + 0x24ccfd1)
  #10 0x00000000028d276f n/a (cicc + 0x24d276f)
  #11 0x00000000028d0ab5 n/a (cicc + 0x24d0ab5)
  #12 0x00000000028d2393 n/a (cicc + 0x24d2393)
  #13 0x00000000028d2ba9 n/a (cicc + 0x24d2ba9)
  #14 0x00000000028beb0e n/a (cicc + 0x24beb0e)
  #15 0x00000000028da96a n/a (cicc + 0x24da96a)
  #16 0x00000000028d8b1b n/a (cicc + 0x24d8b1b)
  #17 0x00000000028da03b n/a (cicc + 0x24da03b)
  #18 0x00000000028d8b5d n/a (cicc + 0x24d8b5d)
  #19 0x00000000028da3f1 n/a (cicc + 0x24da3f1)
  #20 0x00000000028d8b73 n/a (cicc + 0x24d8b73)
  #21 0x00000000028da03b n/a (cicc + 0x24da03b)
  #22 0x00000000028d8b5d n/a (cicc + 0x24d8b5d)
  #23 0x00000000028e9a7e n/a (cicc + 0x24e9a7e)
  #24 0x00000000028b48ea n/a (cicc + 0x24b48ea)
  #25 0x00000000028a8721 n/a (cicc + 0x24a8721)
  #26 0x00000000006027b9 n/a (cicc + 0x2027b9)
  #27 0x00000000005f4560 n/a (cicc + 0x1f4560)
  #28 0x00000000028a7caa n/a (cicc + 0x24a7caa)
  #29 0x00000000028a45ae n/a (cicc + 0x24a45ae)
  #30 0x00000000028a0cd3 n/a (cicc + 0x24a0cd3)
  #31 0x000000000090bd2b n/a (cicc + 0x50bd2b)
  #32 0x00007fe786e834fe __libc_start_call_main (libc.so.6 + 0x264fe)
  #33 0x00007fe786e835c9 __libc_start_main_impl (libc.so.6 + 0x265c9)
  #34 0x00000000005e856d n/a (cicc + 0x1e856d)
  ELF object binary architecture: AMD x86-64
Mar 27 23:06:37 isg005 systemd[1]: systemd-coredump@5-1008527-0.service: Deactivated successfully.
Mar 27 23:06:37 isg005 systemd[1]: systemd-coredump@5-1008527-0.service: Consumed 4.213s CPU time, 260M memory peak.
Mar 27 23:06:37 isg005 systemd-coredump[1008548]: Process 1008515 (sh) of user 250 terminated abnormally with signal 11/SEGV, processing...
Mar 27 23:06:37 isg005 systemd[1]: Started Process Core Dump (PID 1008548/UID 0).
Mar 27 23:06:37 isg005 systemd-coredump[1008549]: [🡕] Process 1008515 (sh) of user 250 dumped core.
  
  Module ld-linux-x86-64.so.2 without build-id.
  Module libtinfow.so.6 without build-id.
  Module libc.so.6 without build-id.
  Module libtinfo.so.6 without build-id.
  Module libreadline.so.8 without build-id.
  Module libsandbox.so without build-id.
  Module bash without build-id.
  Stack trace of thread 14430:
  #0  0x00007f09c77fab7b __kill (libc.so.6 + 0x3cb7b)
  #1  0x00007f09c7a49651 trace_main (libsandbox.so + 0x7651)
  #2  0x00007f09c7a4a077 sb_check_exec (libsandbox.so + 0x8077)
  #3  0x00007f09c7a4ced3 execve@@GLIBC_2.2.5 (libsandbox.so + 0xaed3)
  #4  0x000055a44673b736 shell_execve (bash + 0x21736)
  #5  0x000055a44673c0ff execute_disk_command (bash + 0x220ff)
  #6  0x000055a44673fa8b execute_command_internal (bash + 0x25a8b)
  #7  0x000055a446798e79 parse_and_execute (bash + 0x7ee79)
  #8  0x000055a4467256ea run_one_command.isra.0 (bash + 0xb6ea)
  #9  0x000055a446724165 main (bash + 0xa165)
  #10 0x00007f09c77e44fe __libc_start_call_main (libc.so.6 + 0x264fe)
  #11 0x00007f09c77e45c9 __libc_start_main_impl (libc.so.6 + 0x265c9)
  #12 0x000055a446724e45 _start (bash + 0xae45)
  ELF object binary architecture: AMD x86-64
Mar 27 23:06:37 isg005 systemd[1]: systemd-coredump@6-1008548-0.service: Deactivated successfully.

Expected Results:  
Expecting no SEGV.
Comment 1 JohnLM 2025-03-28 07:11:25 UTC
# emerge --info
Portage 3.0.67 (python 3.13.2-final-0, default/linux/amd64/23.0/systemd, gcc-13, glibc-2.40-r8, 6.12.16-gentoo x86_64)
=================================================================
System uname: Linux-6.12.16-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-glibc2.40
KiB Mem:     8146716 total,   4164656 free
KiB Swap:    4194300 total,   4182728 free
Timestamp of repository gentoo: Thu, 27 Mar 2025 19:15:00 +0000
Head commit of repository gentoo: f0216849b36b12756198e8a76f897853151e4ab3
Head commit of repository esteid: 8d0d789bb69d9ff08fad5aa62a9423613f1d3f63

Head commit of repository java: 6d5454b3414d50352ce3a89f9239de31e66624c2

Head commit of repository mv: b5336158924bb24f1111f7dbcc2546aa2576640b

Head commit of repository johnlm-overlay: cecab00a112a35439fec6b72ac66699c63eda71e

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust:             1.84.1-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.10::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

cross-portage
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: True

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: 25
    volatile: True
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

esteid
    location: /var/lib/layman/esteid
    sync-type: git
    sync-uri: https://github.com/open-eid/gentoo.git
    masters: gentoo
    priority: 50
    volatile: True

java
    location: /var/lib/layman/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50
    volatile: True

mv
    location: /var/lib/layman/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 50
    volatile: True

johnlm-overlay
    location: /var/lib/layman/johnlm-overlay
    sync-type: git
    sync-uri: file:///home/johnlm/src/johnlm-overlay.git
    masters: gentoo
    priority: 60
    volatile: True

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 95
    volatile: True

Installed sets: @archivers, @major-bdeps
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mcx16 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=barcelona -mcx16 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/mnt/megadisk/system/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=n --verbose-conflicts"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news noinfo nostrip parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_GB lv"
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="3dnow 3dnowext X a52 acl acpi amd64 bash-completion branding bzip2 cairo cet crypt css dbus dri dts evdev exif ffmpeg flac fontconfig g3dvl gallium gdbm gmp gnome gnome-keyring gstreamer gtk gtk3 gtkstyle gzip iconv jpeg kpathsea libnotify libtirpc mad matroska mmx mmxext mp3 multilib ncurses nls ogg openexr opengl openmp opus oss oss4 pam pcre png policykit qt3support readline seccomp smp sndfile sse sse2 sse3 sse4a ssl svg systemd test-rust threads tiff truetype udev unicode vdpau vorbis x264 xa xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2 kodak_ez200" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0 2-2" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB lv" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


$ equery list nvidia-cuda-toolkit nvidia-drivers 
 * Searching for nvidia-cuda-toolkit ...
[IP-] [  ] dev-util/nvidia-cuda-toolkit-12.8.0-r2:0/12.8.0

 * Searching for nvidia-drivers ...
[IP-] [  ] x11-drivers/nvidia-drivers-570.124.04:0/570
Comment 2 JohnLM 2025-03-28 07:25:52 UTC
Suspecting dev-util/nvidia-cuda-toolkit I grepped the emerge.log for 'blender|nvidia-cuda-toolkit' to see in what order they had updated in the past.

1737234068:  *** emerge --verbose-conflicts --oneshot --with-bdeps=n --regex-search-auto=y --verbose blender nvidia-drivers
1737234388:  >>> emerge (2 of 2) media-gfx/blender-3.6.18 to /
1737234388:  === (2 of 2) Cleaning (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1737234388:  === (2 of 2) Compiling/Merging (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1737240992:  === (2 of 2) Merging (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1737241009:  >>> AUTOCLEAN: media-gfx/blender:3.6
1737241009:  === Unmerging... (media-gfx/blender-3.6.15)
1737241013:  >>> unmerge success: media-gfx/blender-3.6.15
1737241017:  === (2 of 2) Post-Build Cleaning (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1737241017:  ::: completed emerge (2 of 2) media-gfx/blender-3.6.18 to /
1741071886:  *** emerge --verbose-conflicts --oneshot --with-bdeps=n --regex-search-auto=y --verbose nvidia-cuda-toolkit
1741071950:  >>> emerge (2 of 4) dev-util/nvidia-cuda-toolkit-12.8.0-r2 to /
1741075331:  *** emerge --verbose-conflicts --oneshot --with-bdeps=n --regex-search-auto=y --verbose nvidia-cuda-toolkit
1741075356:  >>> emerge (1 of 3) dev-util/nvidia-cuda-toolkit-12.8.0-r2 to /
1741075745:  === (1 of 3) Cleaning (dev-util/nvidia-cuda-toolkit-12.8.0-r2::/usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.0-r2.ebuild)
1741075810:  === (1 of 3) Compiling/Merging (dev-util/nvidia-cuda-toolkit-12.8.0-r2::/usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.0-r2.ebuild)
1741076075:  === (1 of 3) Merging (dev-util/nvidia-cuda-toolkit-12.8.0-r2::/usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.0-r2.ebuild)
1741076193:  >>> AUTOCLEAN: dev-util/nvidia-cuda-toolkit:0
1741076193:  === Unmerging... (dev-util/nvidia-cuda-toolkit-12.6.1)
1741076197:  >>> unmerge success: dev-util/nvidia-cuda-toolkit-12.6.1
1741076202:  === (1 of 3) Post-Build Cleaning (dev-util/nvidia-cuda-toolkit-12.8.0-r2::/usr/portage/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.0-r2.ebuild)
1741076202:  ::: completed emerge (1 of 3) dev-util/nvidia-cuda-toolkit-12.8.0-r2 to /
1741076256:  *** emerge --verbose-conflicts --oneshot --ask --with-bdeps=n --regex-search-auto=y --verbose nvidia-cuda-toolkit
1741079538:  *** emerge --verbose-conflicts --oneshot --ask --with-bdeps=n --regex-search-auto=y --verbose blender openexr opencolorio
1741079547:  *** emerge --verbose-conflicts --oneshot --ask --with-bdeps=n --regex-search-auto=y --verbose blender openexr opencolorio
1741081740:  >>> emerge (7 of 8) media-gfx/blender-3.6.18 to /
1741081740:  === (7 of 8) Cleaning (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1741081741:  === (7 of 8) Compiling/Merging (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1741088583:  === (7 of 8) Merging (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1741088597:  >>> AUTOCLEAN: media-gfx/blender:3.6
1741088597:  === Unmerging... (media-gfx/blender-3.6.18)
1741088602:  >>> unmerge success: media-gfx/blender-3.6.18
1741088606:  === (7 of 8) Post-Build Cleaning (media-gfx/blender-3.6.18::/usr/portage/media-gfx/blender/blender-3.6.18.ebuild)
1741088606:  ::: completed emerge (7 of 8) media-gfx/blender-3.6.18 to /

which shows that media-gfx/blender-3.6.18 (no -r1) was previously sucessfully compiled with this and previous version of nvidia-cuda-toolkit (12.8.0-r2 and 12.6.1 respectively). But I checked the changes for blender -r1 revbump -- doesn't appear that it should affect anything.
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-gfx/blender?id=b9a6a6fb706d4f69c15812ab4aa355cabbec790d

Ideas?