This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 33a4d67776 GH-44358: [Packaging][Debian] Add workaround for CUDA
include path (#44359)
33a4d67776 is described below
commit 33a4d67776eee53205b7b4e51edc50c0b68c6187
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Oct 10 08:00:21 2024 +0900
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 <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/tasks/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 c6a09da2df..257d005656 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