[PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
zhengruifeng opened a new pull request, #55254: URL: https://github.com/apache/spark/pull/55254 This is a cherry-pick of https://github.com/apache/spark/commit/c8695495569e4058a758b111ebc942fc4906494c for branch-4.1. ### What changes were proposed in this pull request? Add `cmake` to the `apt-get install` list in CI Docker images (`docs`, `lint`, `sparkr`). ### Why are the changes needed? 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. ### 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) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
[PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
zhengruifeng opened a new pull request, #55255: URL: https://github.com/apache/spark/pull/55255 This is a cherry-pick of https://github.com/apache/spark/commit/c8695495569e4058a758b111ebc942fc4906494c for branch-4.0. ### What changes were proposed in this pull request? Add `cmake` to the `apt-get install` list in CI Docker images (`docs`, `lint`, `sparkr`). ### Why are the changes needed? 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. ### 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) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
HyukjinKwon commented on PR #55233: URL: https://github.com/apache/spark/pull/55233#issuecomment-4202853642 Merged to master. Can we create backports to other branches? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
HyukjinKwon closed pull request #55233: [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation URL: https://github.com/apache/spark/pull/55233 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
zhengruifeng commented on code in PR #55233: URL: https://github.com/apache/spark/pull/55233#discussion_r3044348834 ## dev/spark-test-image/lint/Dockerfile: ## @@ -99,6 +100,7 @@ RUN python3.12 -m pip install \ 'pytest==7.1.3' \ 'scipy>=1.8.0' \ 'scipy-stubs' \ +'types-protobuf==6.32.1.20260221' \ Review Comment: the refresh of image will upgrade types-protobuf to 7.34.1.20260403 and fails linter https://github.com/zhengruifeng/spark/actions/runs/24069019701/job/70214055939 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
[PR] [SPARK-56372][INFRA] Add cmake to CI Docker images for R fs package compilation [spark]
zhengruifeng opened a new pull request, #55233: URL: https://github.com/apache/spark/pull/55233 ### What changes were proposed in this pull request? ### Why are the changes needed? ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? ### Was this patch authored or co-authored using generative AI tooling? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
