Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: opensubdiv on CUDA #375740

Open
jcaesar opened this issue Jan 22, 2025 · 0 comments
Open

Build failure: opensubdiv on CUDA #375740

jcaesar opened this issue Jan 22, 2025 · 0 comments
Labels
0.kind: build failure A package fails to build

Comments

@jcaesar
Copy link
Contributor

jcaesar commented Jan 22, 2025

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

Build

(import (builtins.getFlake "github:NixOS/nixpkgs/2582766522e754520bf3f883f06560f89870a5ba")
{ system = "x86_64-linux"; config = { cudaSupport = true; allowUnfree = true; }; })
.opensubdiv

(hash is current nixos-unstable-small)

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Relevant log output

[ 63%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/patchTreeBuilder.cpp.o
[ 64%] Building CXX object opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/ompKernel.cpp.o
[ 65%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaEvaluator.cpp.o
[ 65%] Built target vtr_obj
[ 66%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/patchTableFactory.cpp.o
[ 67%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/ptexIndices.cpp.o
[ 68%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/stencilTable.cpp.o
[ 70%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/stencilTableFactory.cpp.o
[ 71%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/refinerSurfaceFactory.cpp.o
[ 72%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaPatchTable.cpp.o
[ 73%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/regularPatchBuilder.cpp.o
[ 74%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/stencilBuilder.cpp.o
[ 75%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/topologyDescriptor.cpp.o
[ 77%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaVertexBuffer.cpp.o
[ 78%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/topologyRefiner.cpp.o
[ 79%] Building CXX object opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cudaGLVertexBuffer.cpp.o
[ 80%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/surface.cpp.o
[ 81%] Building CXX object opensubdiv/far/CMakeFiles/far_obj.dir/topologyRefinerFactory.cpp.o
[ 82%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/surfaceData.cpp.o
[ 83%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/surfaceFactory.cpp.o
[ 85%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/surfaceFactoryCache.cpp.o
[ 86%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/tessellation.cpp.o
[ 86%] Built target osd_gpu_obj
[ 87%] Building CXX object opensubdiv/bfr/CMakeFiles/bfr_obj.dir/vertexDescriptor.cpp.o
[ 87%] Built target osd_cpu_obj
[ 87%] Built target bfr_obj
[ 87%] Built target far_obj
[ 88%] Building CXX object opensubdiv/CMakeFiles/osd_dynamic_cpu.dir/version.cpp.o
[ 89%] Building CXX object opensubdiv/CMakeFiles/osd_static_cpu.dir/version.cpp.o
[ 90%] Linking CXX static library ../lib/libosdCPU.a
[ 91%] Linking CXX shared library ../lib/libosdCPU.so
[ 91%] Built target osd_static_cpu
[ 91%] Built target glLoader_obj
[ 93%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o
[ 93%] Built target osd_dynamic_cpu
[ 94%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o
[ 95%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/osd_dynamic_gpu_generated_cudaKernel.cu.o
Error copying file (if different) from "/build/source/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend.tmp" to "/build/source/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o.depend".
CMake Error at osd_static_gpu_generated_cudaKernel.cu.o.Release.cmake:246 (message):
  Error generating
  /build/source/build/opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/./osd_static_gpu_generated_cudaKernel.cu.o


make[2]: *** [opensubdiv/CMakeFiles/osd_static_gpu.dir/build.make:77: opensubdiv/CMakeFiles/osd_static_gpu.dir/osd/osd_static_gpu_generated_cudaKernel.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:447: opensubdiv/CMakeFiles/osd_static_gpu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Building CXX object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/version.cpp.o
[ 97%] Linking CXX shared library ../lib/libosdGPU.so
[ 97%] Built target osd_dynamic_gpu
make: *** [Makefile:146: all] Error 2

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.8, NixOS, 25.05 (Warbler), j_92ee166_20250115050300
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/store/4xfbp2bkswg3y460kqd6mpdf61pzapqr-source

Notify maintainers

Sadly unmaintained. I'll tag @amarshall, who bumped this last, even though they seem too busy already.


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@jcaesar jcaesar added the 0.kind: build failure A package fails to build label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant