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 a5d844123788 [SPARK-54140][INFRA] Add `libwebp-dev` to fix
`dev/spark-test-image/lint/Dockerfile` building
a5d844123788 is described below
commit a5d8441237887fec9e226db17b3d95783fe462b2
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Nov 2 13:42:09 2025 -0800
[SPARK-54140][INFRA] Add `libwebp-dev` to fix
`dev/spark-test-image/lint/Dockerfile` building
### What changes were proposed in this pull request?
This PR aims to add `libwebp-dev` to fix
`dev/spark-test-image/lint/Dockerfile` building in both `master` and
`branch-4.1`.
### Why are the changes needed?
Currently, `dev/spark-test-image/lint/Dockerfile` fails to build.
- For master branch, it wasn't revealed yet because we use the cached image.
- For `branch-4.1`, it is currently breaking the CIs.
- https://github.com/apache/spark/tree/branch-4.1
-
https://github.com/apache/spark/actions/runs/19015025991/job/54307102990
```
#9 454.6 -------------------------- [ERROR MESSAGE]
---------------------------
#9 454.6 <stdin>:1:10: fatal error: ft2build.h: No such file or directory
#9 454.6 compilation terminated.
#9 454.6
--------------------------------------------------------------------
#9 454.6 ERROR: configuration failed for package 'ragg'
#9 454.6 * removing '/usr/local/lib/R/site-library/ragg'
```
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs. Especially, `Base image build` job.
-
https://github.com/dongjoon-hyun/spark/actions/runs/19018354185/job/54309542386
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52838 from dongjoon-hyun/SPARK-54140.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 25aa49a3cdfb84c2038289aab3b4f7b4a8445d2c)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/spark-test-image/lint/Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/spark-test-image/lint/Dockerfile
b/dev/spark-test-image/lint/Dockerfile
index 3b603d4ab4a6..07ff9c90b759 100644
--- a/dev/spark-test-image/lint/Dockerfile
+++ b/dev/spark-test-image/lint/Dockerfile
@@ -46,6 +46,7 @@ RUN apt-get update && apt-get install -y \
libpng-dev \
libssl-dev \
libtiff5-dev \
+ libwebp-dev \
libxml2-dev \
nodejs \
npm \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]