From 33a4d67776eee53205b7b4e51edc50c0b68c6187 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 10 Oct 2024 08:00:21 +0900 Subject: [PATCH] GH-44358: [Packaging][Debian] Add workaround for CUDA include path (#44359) ### Rationale for this change 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. ### What changes are included in this PR? Create a non-existent path manually as a workaround. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * GitHub Issue: #44358 Authored-by: Sutou Kouhei Signed-off-by: Sutou Kouhei --- .../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