This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new bcb5b996dc8e [SPARK-54141][INFRA] Add `libwebp-dev` to fix
`dev/infra/Dockerfile` building
bcb5b996dc8e is described below
commit bcb5b996dc8e14f82a9491100255c8d96415ea42
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Nov 2 15:05:06 2025 -0800
[SPARK-54141][INFRA] Add `libwebp-dev` to fix `dev/infra/Dockerfile`
building
### What changes were proposed in this pull request?
This PR aims to add `libwebp-dev` to fix `dev/infra/Dockerfile` building.
### Why are the changes needed?
To fix `build_infra_images_cache` GitHub Action job
-
https://github.com/apache/spark/actions/workflows/build_infra_images_cache.yml
<img width="545" height="88" alt="Screenshot 2025-11-02 at 14 56 19"
src="https://github.com/user-attachments/assets/f70d6093-6574-40f3-a097-ba5c9086f3c1"
/>
The root cause is identical with other Dockerfile failure.
```
#13 578.4 -------------------------- [ERROR MESSAGE]
---------------------------
#13 578.4 <stdin>:1:10: fatal error: ft2build.h: No such file or directory
#13 578.4 compilation terminated.
#13 578.4
--------------------------------------------------------------------
#13 578.4 ERROR: configuration failed for package 'ragg'
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs. Especially, `Cache base image` test.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52840 from dongjoon-hyun/SPARK-54141.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 689851eae71a04cfe03baebbd8b6beb526f94f23)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/infra/Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile
index 873d57206311..afab64a67b5e 100644
--- a/dev/infra/Dockerfile
+++ b/dev/infra/Dockerfile
@@ -49,6 +49,7 @@ RUN apt-get update && apt-get install -y \
libpython3-dev \
libssl-dev \
libtiff5-dev \
+ libwebp-dev \
libxml2-dev \
nodejs \
npm \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]