__nvcc_device_query failed to call cudaLoader::cuInit(0) with error 0x130 (CUDA_ERROR_OPERATING_SYSTEM) Reproducible: Always Steps to Reproduce: 1. Update world 2. 3. Actual Results: Failure Expected Results: Merged >>> Emerging (6 of 11) media-gfx/openvdb-11.0.0-r1::gentoo * openvdb-11.0.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * openvdb-11.0.0-drop-obsolete-isActive-gcc15.patch BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openvdb-11.0.0.tar.gz to /var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work === Skipping unpack of openvdb-11.0.0-drop-obsolete-isActive-gcc15.patch >>> Source unpacked in /var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work >>> Preparing source in /var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0 ... * Applying openvdb-11.0.0-drop-obsolete-isActive-gcc15.patch ... [ ok ] * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0" * Build directory (BUILD_DIR): "/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0_build" * Applying openvdb-8.1.0-glfw-libdir.patch ... [ ok ] * Applying openvdb-9.0.0-fix-atomic.patch ... patching file nanovdb/nanovdb/CMakeLists.txt Hunk #1 succeeded at 69 with fuzz 1. patching file openvdb/openvdb/CMakeLists.txt Hunk #1 succeeded at 197 (offset -5 lines). [ ok ] * Applying openvdb-10.0.1-fix-linking-of-vdb_tool-with-OpenEXR.patch ... [ ok ] * Applying openvdb-10.0.1-log4cplus-version.patch ... [ ok ] * Applying openvdb-11.0.0-constexpr-version.patch ... [ ok ] * Applying openvdb-11.0.0-cmake_fixes.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0 ... * install: running my_src_configure __nvcc_device_query failed to call cudaLoader::cuInit(0) with error 0x130 (CUDA_ERROR_OPERATING_SYSTEM) * ERROR: media-gfx/openvdb-11.0.0-r1::gentoo failed (configure phase): * failed to query the native device * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3342: Called multibuild_foreach_variant 'my_src_configure' * environment, line 2483: Called _multibuild_run 'my_src_configure' * environment, line 2481: Called my_src_configure * environment, line 2737: Called cuda_get_host_native_arch * environment, line 1597: Called die * The specific snippet of code: * __nvcc_device_query || die "failed to query the native device" * * If you need support, post the output of `emerge --info '=media-gfx/openvdb-11.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/openvdb-11.0.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0' * S: '/var/tmp/portage/media-gfx/openvdb-11.0.0-r1/work/openvdb-11.0.0'
Created attachment 926828 [details] Build log
Created attachment 926829 [details] Environment
Created attachment 926830 [details] output of emerge --info
Created attachment 926831 [details] output of emerge -pvq
I can confirm this. Seeing it too.. Blender depends on this bug, since it needs the new openvdb to compile...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cb043f9a243ae1393169ecd537e6ea343b7eda commit 09cb043f9a243ae1393169ecd537e6ea343b7eda Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2025-04-28 11:43:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-28 21:32:35 +0000 media-gfx/openvdb: fix cuda sandbox issues Handle missing write permissions when the build user is not in the video group. Setup sandbox permissions as `SANDBOX_PREDICT` masked further failures. Run `nvidia-smi -L` to setup device files so `cuda_add_sandbox` finds those files. Do not use `local -x` as it masks already set values and breaks user-set CUDAARCHS. Closes: https://bugs.gentoo.org/955021 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/openvdb/openvdb-11.0.0-r1.ebuild | 62 +++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 14 deletions(-)
Seems to have built here.