build-x86-01: building 5iiispby8vsc97p0azxwv2zllpgnxyfd-cuda13.5-cuda_cudart-13.5.37.drv source: sourcing buildRedistHook.bash (hostOffset=-1) (targetOffset=0) buildRedistHookRegistration: added unpackCudaLibSubdir to postUnpackHooks buildRedistHookRegistration: added unpackCudaPkgConfigDirs to postUnpackHooks buildRedistHookRegistration: added patchCudaPkgConfig to prePatchHooks buildRedistHookRegistration: added checkCudaFhsRefs to postInstallCheckHooks buildRedistHookRegistration: added checkCudaNonEmptyOutputs to postInstallCheckHooks buildRedistHookRegistration: added fixupCudaPropagatedBuildOutputsToOut to postFixupHooks buildRedistHookRegistration: added checkCudaHasStubsIffIncludeRemoveStubsFromRunpathHook to postFixupHooks Sourcing auto-add-driver-runpath-hook Using autoAddDriverRunpath Sourcing fix-elf-files.sh Sourcing mark-for-cudatoolkit-root-hook Running phase: unpackPhase unpacking source archive /nix/store/h423ql8abcjbraacsix5xw71lil4jzgj-cuda_cudart-13.5.37-source source root is cuda_cudart-13.5.37-source renamed '/build/cuda_cudart-13.5.37-source/pkg-config/cuda-13.5.pc' -> '/build/cuda_cudart-13.5.37-source/share/pkgconfig/cuda-13.5.pc' renamed '/build/cuda_cudart-13.5.37-source/pkg-config/cudart-13.5.pc' -> '/build/cuda_cudart-13.5.37-source/share/pkgconfig/cudart-13.5.pc' Running phase: patchPhase patchCudaPkgConfig: patching /build/cuda_cudart-13.5.37-source/share/pkgconfig/cuda-13.5.pc patchCudaPkgConfig: patching /build/cuda_cudart-13.5.37-source/share/pkgconfig/cudart-13.5.pc patchCudaPkgConfig: creating unversioned symlink for /build/cuda_cudart-13.5.37-source/share/pkgconfig/cuda-13.5.pc patchCudaPkgConfig: creating unversioned symlink for /build/cuda_cudart-13.5.37-source/share/pkgconfig/cudart-13.5.pc postPatch: patching ./share/pkgconfig/cudart-13.5.pc postPatch: patching ./share/pkgconfig/cuda-13.5.pc Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: installPhase runPhase: moving tree to output out postInstall: creating versioned symlink for libcuda.so stub 'libcuda.so.1' -> 'libcuda.so' Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37 shrinking /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/stubs/libcuda.so shrinking /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/libcudart.so.13.5.37 checking for references to /build/ in /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37... patching script interpreter paths in /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37 stripping (with command strip and flags -S -p) in /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib postFixup: installing stub removal runpath hook automatically fixing dependencies for ELF files {'add_existing': True, 'append_rpaths': [PosixPath('$ORIGIN')], 'extra_args': [], 'ignore_missing': [], 'keep_libc': False, 'libs': [PosixPath('/nix/store/myhwfdgqm39yms5clinafii9i1nmq43h-gcc-16.2.0-lib/lib'), PosixPath('/nix/store/ypsql8www9zp7jbi5mxvs51hi1p6js8k-cuda13.5-cuda_crt-13.5.37/lib'), PosixPath('/nix/store/q07fipdw36ibp0ykghf5ydjrd1dkbz5k-cuda13.5-cccl-13.3.5.0.6/lib')], 'paths': [PosixPath('/nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37')], 'preserve_origin': False, 'recursive': True, 'relativize_rpath': False, 'runtime_dependencies': [], 'structured_logs': False} searching for dependencies of /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/libcudart.so.13.5.37 libstdc++.so.6 -> found: /nix/store/myhwfdgqm39yms5clinafii9i1nmq43h-gcc-16.2.0-lib/lib libgcc_s.so.1 -> found: /nix/store/qk6cz4ba571znqrsyhma192y8h50yi05-gcc-16.2.0-libgcc/lib setting RPATH to: /nix/store/myhwfdgqm39yms5clinafii9i1nmq43h-gcc-16.2.0-lib/lib:/nix/store/qk6cz4ba571znqrsyhma192y8h50yi05-gcc-16.2.0-libgcc/lib:$ORIGIN searching for dependencies of /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/stubs/libcuda.so setting RPATH to: $ORIGIN auto-patchelf: 0 dependencies could not be satisfied autoFixElfFiles: using addDriverRunpath to fix /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/stubs/libcuda.so autoFixElfFiles: using addDriverRunpath to fix /nix/store/y2dc9n2agwb0qgd800h0z21j3sj8hhb1-cuda13.5-cuda_cudart-13.5.37/lib/libcudart.so.13.5.37 Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing checkCudaFhsRefs: checking for FHS references...