structuredAttrs is enabled Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing setup-cuda-hook Sourcing pytest-check-hook Using pytestCheckPhase source: sourcing removeStubsFromRunpathHook.bash (hostOffset=0) (targetOffset=1) source: added removeStubsFromRunpathHookRegistration to prePhases Sourcing fix-elf-files.sh Running phase: removeStubsFromRunpathHookRegistration removeStubsFromRunpathHookRegistration: added removeStubsFromRunpath to postFixupHooks Running phase: unpackPhase unpacking source archive /nix/store/n7njkx6j67kka2y2vr3kfvp7hiyyzgkq-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/version.txt" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Executing setupCUDAToolkitCompilers no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel -Ccmake.args=-DCUDA_HOST_COMPILER=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/c++ -Ccmake.args=-DCMAKE_CUDA_HOST_COMPILER=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/c++ -Ccmake.args=-DCUDAToolkit_INCLUDE_DIR=/nix/store/19rnzwz6nxpc7caagkfdrfdxwx85rakm-cuda13.2-cuda_nvrtc-13.2.86-include/include\;/nix/store/aijz847bmlqk358la833jq8pxlyxp02q-cuda13.2-libcusolver-12.2.0.11-include/include\;/nix/store/gcyq12pqir5s95ja2a3icqn418zw07fz-cuda13.2-libcublas-13.4.1.3-include/include\;/nix/store/gq49m07rnylvsh85i57c1h5z7ba0r0as-cuda13.2-cuda_cudart-13.2.86/include\;/nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86/include\;/nix/store/3v4xw8dvmis314hqz153f9j8sn2g4baa-cuda13.2-cuda_cccl-13.2.86/include\;/nix/store/19lva3zzxydz4f59bcnrqk7wfx51npkg-cuda13.2-libnpp-13.1.0.59-include/include\;/nix/store/gvn0074x8ssy87mwdf32qgpjqq8w0r8b-cuda13.2-libcusparse-12.7.10.12-include/include\;/nix/store/nsjnjv5q6b5qlksxds9816vd11zs0yw8-cuda13.2-libnvjpeg-13.1.0.59-include/include -Ccmake.args=-DCUDAToolkit_ROOT=/nix/store/aricziwwqr2560dl4y35h275rzwrh481-cuda13.2-cuda_nvrtc-13.2.86-dev\;/nix/store/l5irnnadmpwkhq35kbvnxb3rhyhxy8gd-cuda13.2-libnpp-13.1.0.59-lib\;/nix/store/19rnzwz6nxpc7caagkfdrfdxwx85rakm-cuda13.2-cuda_nvrtc-13.2.86-include\;/nix/store/bvngyv0rd215h6s6sydybb1smg5wkg8i-cuda13.2-libcusparse-12.7.10.12-lib\;/nix/store/aijz847bmlqk358la833jq8pxlyxp02q-cuda13.2-libcusolver-12.2.0.11-include\;/nix/store/gcyq12pqir5s95ja2a3icqn418zw07fz-cuda13.2-libcublas-13.4.1.3-include\;/nix/store/8as6cz6nvnrdlikzdaxva4w135lby71m-cuda13.2-libcusolver-12.2.0.11-lib\;/nix/store/gq49m07rnylvsh85i57c1h5z7ba0r0as-cuda13.2-cuda_cudart-13.2.86\;/nix/store/6z82h60j6m4jfizs3xl8gal1m1pjfwi4-cuda13.2-libcublas-13.4.1.3-dev\;/nix/store/pvnwqhbc4fk0gz112vw3lpn3c88cfaw3-cuda13.2-libnvjpeg-13.1.0.59-dev\;/nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86\;/nix/store/96570gbssplz0k92ca4mz1dmwzn4dgin-cuda13.2-libcusolver-12.2.0.11-dev\;/nix/store/3v4xw8dvmis314hqz153f9j8sn2g4baa-cuda13.2-cuda_cccl-13.2.86\;/nix/store/5fbrrxss7jgr91hv099pdn2cdvrbbqdc-cuda13.2-cuda_nvrtc-13.2.86-lib\;/nix/store/19lva3zzxydz4f59bcnrqk7wfx51npkg-cuda13.2-libnpp-13.1.0.59-include\;/nix/store/ss8n9ygg9wgachd6lr9v48afnpr4902q-cuda13.2-libnpp-13.1.0.59-dev\;/nix/store/5h4x9649bgcxnn6f1994pvwffyh8jfnj-cuda13.2-libnvjpeg-13.1.0.59-lib\;/nix/store/gvn0074x8ssy87mwdf32qgpjqq8w0r8b-cuda13.2-libcusparse-12.7.10.12-include\;/nix/store/6vz5j33hwsb23abjyykib23yqc06a8rx-cuda13.2-libcusparse-12.7.10.12-dev\;/nix/store/nsjnjv5q6b5qlksxds9816vd11zs0yw8-cuda13.2-libnvjpeg-13.1.0.59-include\;/nix/store/p5vq0fja8h5m8syvisyah9cxp3hshik3-cuda13.2-libcublas-13.4.1.3-lib\;/nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86 * Getting build dependencies for wheel... * Building wheel... INFO: Didn't find sha. Is this a git repo? *** scikit-build-core 1.0.2 using CMake 4.4.2 (wheel) *** Configuring CMake... loading initial cache file build/cp313-cp313-linux_aarch64/CMakeInit.txt -- The C compiler identification is GNU 15.3.0 -- The CXX compiler identification is GNU 15.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done /build/pytorch/third_party/ideep/mkl-dnn/third_party/xbyak_aarch64/src/util_impl_linux.h, 444: Can't open MIDR_EL1 sysfs entry Error in cpuinfo: failed to parse the list of possible processors in /sys/devices/system/cpu/possible Error in cpuinfo: failed to parse the list of present processors in /sys/devices/system/cpu/present Error in cpuinfo: failed to parse both lists of possible and present processors -- Performing Test HAS_FLTO_AUTO -- Performing Test HAS_FLTO_AUTO - Success -- Found pybind11: /nix/store/alrall4g802jabxliy4ia8mpslg3kqny-python3.13-pybind11-3.0.4/include (found version "3.0.4") -- Found CUDA: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86 (found version "13.2") -- The CUDA compiler identification is NVIDIA 13.2.86 with host compiler GNU 15.3.0 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Found CUDAToolkit: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/include;/nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/nvvm/include;/nix/store/3v4xw8dvmis314hqz153f9j8sn2g4baa-cuda13.2-cuda_cccl-13.2.86/include (found version "13.2.86") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- PyTorch: CUDA detected: 13.2 -- PyTorch: CUDA nvcc is: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/bin/nvcc -- PyTorch: CUDA toolkit directory: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86 -- PyTorch: Header version is: 13.2 -- Found Python: /nix/store/s81lcrdqrwmvnqdl8h7m711xafjdx17f-python3-3.13.15/bin/python3.13 (found version "3.13.15") found components: Interpreter -- /nix/store/5fbrrxss7jgr91hv099pdn2cdvrbbqdc-cuda13.2-cuda_nvrtc-13.2.86-lib/lib/libnvrtc.so shorthash is c65f2b8e -- USE_CUDNN is set to 0. Compiling without cuDNN support -- USE_CUSPARSELT is set to 0. Compiling without cuSPARSELt support -- USE_CUDSS is set to 0. Compiling without cuDSS support -- USE_CUFILE is set to 0. Compiling without cuFile support CMake Warning at /nix/store/3bm97s9sj2li0a8l355ns9mx0prisph0-python3.13-torch-2.13.0-dev/share/cmake/Caffe2/public/cuda.cmake:332 (message): pytorch is not compatible with `CMAKE_CUDA_ARCHITECTURES` and will ignore its value. Please configure `TORCH_CUDA_ARCH_LIST` instead. Call Stack (most recent call first): /nix/store/3bm97s9sj2li0a8l355ns9mx0prisph0-python3.13-torch-2.13.0-dev/share/cmake/Caffe2/Caffe2Config.cmake:86 (include) /nix/store/3bm97s9sj2li0a8l355ns9mx0prisph0-python3.13-torch-2.13.0-dev/share/cmake/Torch/TorchConfig.cmake:62 (find_package) src/torchcodec/_core/CMakeLists.txt:21 (find_package) -- Added CUDA NVCC flags for: -gencode;arch=compute_120,code=sm_120;-gencode;arch=compute_121,code=sm_121 CMake Warning at /nix/store/3bm97s9sj2li0a8l355ns9mx0prisph0-python3.13-torch-2.13.0-dev/share/cmake/Torch/TorchConfig.cmake:22 (message): library kineto not found. Call Stack (most recent call first): /nix/store/3bm97s9sj2li0a8l355ns9mx0prisph0-python3.13-torch-2.13.0-dev/share/cmake/Torch/TorchConfig.cmake:119 (append_torchlib_if_found) src/torchcodec/_core/CMakeLists.txt:21 (find_package) -- Found Torch: /nix/store/v4pi9zy8718jh4dgsnbxdrx1wdkcishq-python3.13-torch-2.13.0-lib/lib/libtorch.so -- Found Python3: /nix/store/s81lcrdqrwmvnqdl8h7m711xafjdx17f-python3-3.13.15/bin/python3.13 (found version "3.13.15") found components: Development Interpreter Development.Module Development.Embed -- Found JPEG: /nix/store/b3wp1gbghp5v6wza2y0qq743isw5rrnr-libjpeg-turbo-3.1.4.1/lib/libjpeg.so (found version "62") -- libjpeg found: building torchcodec with JPEG image decoding support. -- Found ZLIB: /nix/store/8m1ckjz4k9v5ly0dkbyqpaw02kaxrp33-zlib-1.3.2/lib/libz.so (found version "1.3.2") -- Found PNG: /nix/store/203fn0jkr0vy4n7s0m8kfvnfifrnpz7g-libpng-apng-1.6.58/lib/libpng.so (found version "1.6.58") -- libpng found: building torchcodec with PNG image decoding support. -- libwebp found: building torchcodec with WebP image decoding support. -- Adding libavif (decode-only, from S3) as the `avif` target -- Building torchcodec with AVIF image decoding support (libavif from S3). -- Building torchcodec with GIF image decoding support (vendored giflib). -- Building torchcodec with nvJPEG GPU JPEG decoding/encoding support. -- libheif found: building torchcodec with HEIC image decoding support. -- Building and dynamically linking libtorchcodec against the installed FFmpeg libraries. This require pkg-config to be installed. If you have installed FFmpeg from conda, make sure pkg-config is installed from conda as well. CMake Error at /nix/store/xi9gp9n1j1kv208bn3a5zgsgfcqx8lf0-cmake-4.4.2/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:290 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): /nix/store/xi9gp9n1j1kv208bn3a5zgsgfcqx8lf0-cmake-4.4.2/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE) /nix/store/xi9gp9n1j1kv208bn3a5zgsgfcqx8lf0-cmake-4.4.2/share/cmake-4.4/Modules/FindPkgConfig.cmake:562 (find_package_handle_standard_args) src/torchcodec/share/cmake/TorchCodec/ffmpeg_versions.cmake:92 (find_package) src/torchcodec/_core/CMakeLists.txt:737 (add_ffmpeg_target_with_pkg_config) -- Configuring incomplete, errors occurred! *** CMake configuration failed TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build ERROR Backend subprocess exited when trying to invoke build_wheel