From 6cf715fa8ec734350e1b68af4a5659cb7c14d1bf Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 10 Oct 2024 06:12:11 +0900 Subject: [PATCH] GH-44358: [Packaging][Debian] Add workaround for CUDA include path This is not happen on Debian GNU/Linux stable and unstable. This is happen only on Debian GNU/Linux testing. So this may be a temporary problem. --- .../linux-packages/apache-arrow/apt/debian-trixie/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile index c6a09da2dfd5c..257d005656657 100644 --- a/dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile +++ b/dev/tasks/linux-packages/apache-arrow/apt/debian-trixie/Dockerfile @@ -82,6 +82,9 @@ RUN \ valac \ zlib1g-dev && \ if apt list | grep '^nvidia-cuda-toolkit/'; then \ - apt install -y -V ${quiet} nvidia-cuda-toolkit; \ + apt install -y -V ${quiet} nvidia-cuda-toolkit && \ + # GH-44358: Workaround for non-existent path error + mkdir -p \ + /usr/lib/nvidia-cuda-toolkit/include/$(dpkg-architecture -qDEB_HOST_MULTIARCH); \ fi && \ apt clean