You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/03/17 17:27:44 UTC

(spark) branch branch-4.0 updated: [SPARK-54140][INFRA] Add `libwebp-dev` to fix `dev/spark-test-image/lint/Dockerfile` building

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 5b412855a106 [SPARK-54140][INFRA] Add `libwebp-dev` to fix `dev/spark-test-image/lint/Dockerfile` building
5b412855a106 is described below

commit 5b412855a1068f0f587c0e749452a9f9df58a1d1
Author: Dongjoon Hyun <do...@apache.org>
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 <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 25aa49a3cdfb84c2038289aab3b4f7b4a8445d2c)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit a5d8441237887fec9e226db17b3d95783fe462b2)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 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 e74dac0dee30..1f240136fa68 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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org