Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 2, 2025

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.

#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.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Nov 2, 2025
@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Nov 2, 2025

Could you review this INFRA PR when you have some time, @peter-toth and @attilapiros ?

@peter-toth
Copy link
Contributor

Yeah, I know this problem. Thanks @dongjoon-hyun for the fix.

@dongjoon-hyun
Copy link
Member Author

Thank you so much, @peter-toth !

@dongjoon-hyun
Copy link
Member Author

I verified this locally too. As a release manager, I'm going to merge this to recover branch-4.1 immediately.

dongjoon-hyun added a commit that referenced this pull request Nov 2, 2025
…int/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 25aa49a)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-54140 branch November 2, 2025 21:42
@dongjoon-hyun
Copy link
Member Author

Merged to master/4.1 for Apache Spark 4.1.0.

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Nov 2, 2025

For the record, Base image build step passed in this PR.

Unlike master branch, branch-4.1 seems to have a new Cache base image issue.

dongjoon-hyun added a commit that referenced this pull request Nov 3, 2025
…/Dockerfile`

### What changes were proposed in this pull request?

This PR aims to add `libwebp-dev` to all `dev/spark-test-image/*/Dockerfile`.

### Why are the changes needed?

Like we hit this issue before, this happens at all related docker images.
- #52290
- #52838

I checked `dev` directory.
- https://github.com/apache/spark/tree/branch-4.1/dev

To put it simply consistent with `spark-rm/Dockerfile` behavior, we need this additionally 13 places because `libwebp-dev` is used only 3 times while `libtiff5-dev` is used 16 times.

```
$ git grep libtiff5-dev dev | wc -l
      16

$ git grep libwebp-dev dev | wc -l
       3
```

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Manual review.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #52846 from dongjoon-hyun/SPARK-54148.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
dongjoon-hyun added a commit that referenced this pull request Nov 3, 2025
…/Dockerfile`

### What changes were proposed in this pull request?

This PR aims to add `libwebp-dev` to all `dev/spark-test-image/*/Dockerfile`.

### Why are the changes needed?

Like we hit this issue before, this happens at all related docker images.
- #52290
- #52838

I checked `dev` directory.
- https://github.com/apache/spark/tree/branch-4.1/dev

To put it simply consistent with `spark-rm/Dockerfile` behavior, we need this additionally 13 places because `libwebp-dev` is used only 3 times while `libtiff5-dev` is used 16 times.

```
$ git grep libtiff5-dev dev | wc -l
      16

$ git grep libwebp-dev dev | wc -l
       3
```

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Manual review.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #52846 from dongjoon-hyun/SPARK-54148.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit f5bd5d0)
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants