GH-50318: [R][CI] Install missing libpng-dev for test-r-linux-as-cran#50328
Merged
Conversation
|
|
Member
Author
|
@github-actions crossbow submit test-r-linux-as-cran |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the test-r-linux-as-cran CI failure by ensuring the Ubuntu/Debian system dependencies include libpng-dev, which is needed to compile the png R package from source in the CRAN-style environment.
Changes:
- Add
libpng-devto theapt-get installdependency list for the R CI system-deps script. - Document
libpngas a required system dependency in the script comments.
Comment on lines
44
to
48
| apt-get) | ||
| apt-get install -y libcurl4-openssl-dev libssl-dev libuv1-dev | ||
| apt-get install -y libcurl4-openssl-dev libpng-dev libssl-dev libuv1-dev | ||
| ;; | ||
| apk) | ||
| $PACKAGE_MANAGER add curl-dev openssl-dev libuv-dev |
|
Revision: d2645b4 Submitted crossbow builds: ursacomputing/crossbow @ actions-97f1925c38
|
Member
Author
|
The job is still failing but the png R package failure is fixed: https://github.com/ursacomputing/crossbow/actions/runs/28560424956/job/84676787021#step:5:17952 |
raulcd
approved these changes
Jul 2, 2026
raulcd
pushed a commit
that referenced
this pull request
Jul 2, 2026
…#50328) ### Rationale for this change We need `libpng-dev` for the png R package. ### What changes are included in this PR? Install `libpng-dev`. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #50318 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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.
Rationale for this change
We need
libpng-devfor the png R package.What changes are included in this PR?
Install
libpng-dev.Are these changes tested?
Yes.
Are there any user-facing changes?
No.