[SPARK-56372][INFRA][4.1] Add cmake to CI Docker images for R fs package compilation#55254
Open
zhengruifeng wants to merge 4 commits intoapache:branch-4.1from
Open
[SPARK-56372][INFRA][4.1] Add cmake to CI Docker images for R fs package compilation#55254zhengruifeng wants to merge 4 commits intoapache:branch-4.1from
zhengruifeng wants to merge 4 commits intoapache:branch-4.1from
Conversation
…ompilation Add `cmake` to the `apt-get install` list in CI Docker images (`docs`, `lint`, `sparkr`). The R `fs` package (a transitive dependency of `devtools`, `testthat`, `rmarkdown`) now bundles `libuv v1.52.0`, which requires `cmake` to build. This causes the "Base image build" job to fail with: ``` /bin/bash: line 2: cmake: command not found make: *** [Makevars:44: libuv] Error 127 ERROR: compilation failed for package 'fs' ``` The `fs` compilation failure cascades into: `sass` → `bslib` → `shiny` → `rmarkdown` → `devtools` → `testthat`, breaking the entire R package installation. See https://github.com/apache/spark/actions/runs/24067715329/job/70197367201 No. CI should pass with the updated Docker images. Co-authored-by: Claude code (Opus 4.6) Closes apache#55233 from zhengruifeng/fix_imsage. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon
approved these changes
Apr 9, 2026
- Docs: swap pkgdown/preferably install order so pkgdown 2.0.1 is installed last with upgrade='never', preventing preferably from upgrading pkgdown to a version with build_llm_docs that fails with the old pandoc. - Lint: add types-protobuf for mypy to resolve FieldDescriptor.label.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a cherry-pick of c869549 for branch-4.1.
What changes were proposed in this pull request?
Add
cmaketo theapt-get installlist in CI Docker images (docs,lint,sparkr).Why are the changes needed?
The R
fspackage (a transitive dependency ofdevtools,testthat,rmarkdown) now bundleslibuv v1.52.0, which requirescmaketo build. This causes the "Base image build" job to fail with:The
fscompilation failure cascades into:sass→bslib→shiny→rmarkdown→devtools→testthat, breaking the entire R package installation.Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI should pass with the updated Docker images.
Was this patch authored or co-authored using generative AI tooling?
Co-authored-by: Claude code (Opus 4.6)