Skip to content

Suppress benign eXIf warnings from libpng 1.6.47 #22861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

Aiden2244
Copy link
Contributor

@Aiden2244 Aiden2244 commented Apr 3, 2025

Closes #22728, unblocks #22862, and towards #22836

Modifies list of custom, drake-specific adjustments to libpng to disable eXIf read support. Disabling this option effectively suppresses the libpng warning: eXIf: invalid output that we would observe running the drake vtk rendering tests on Linux. As eXIf chunks are optional and tend to contain image metadata (particularly metadata relevant to images taken with physical cameras, e.g. aperture and shutter speed), reads for these kinds of chunks can be safely disabled for the rendered test images used for this test suite.


This change is Reviewable

Copy link
Contributor Author

@Aiden2244 Aiden2244 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@jwnimmer-tri +@BetsyMcPhail for feature review please.

Reviewable status: LGTM missing from assignees jwnimmer-tri(platform),BetsyMcPhail, missing label for release notes (waiting on @Aiden2244)

Copy link
Contributor

@BetsyMcPhail BetsyMcPhail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to combine this change with #22862 so that CI can confirm that the warnings are suppressed?

Reviewable status: LGTM missing from assignees jwnimmer-tri(platform),BetsyMcPhail, missing label for release notes (waiting on @Aiden2244)

Copy link
Contributor Author

@Aiden2244 Aiden2244 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Added to this pr as two separate commits.

Reviewable status: LGTM missing from assignees jwnimmer-tri(platform),BetsyMcPhail, commits need curation (https://drake.mit.edu/reviewable.html#curated-commits), missing label for release notes (waiting on @Aiden2244)

Copy link
Contributor

@BetsyMcPhail BetsyMcPhail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally, I ran bazel test //geometry/render_vtk:internal_render_engine_vtk_test --test_output=streamed and confirmed the warnings no longer appeared.

-@jwnimmer-tri +@sammy-tri for platform review per schedule.

:lgtm:

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: LGTM missing from assignee sammy-tri(platform), commits need curation (https://drake.mit.edu/reviewable.html#curated-commits), missing label for release notes (waiting on @Aiden2244)

@jwnimmer-tri jwnimmer-tri added the release notes: fix This pull request contains fixes (no new features) label Apr 7, 2025
@sammy-tri sammy-tri added the status: commits are properly curated https://drake.mit.edu/reviewable.html#curated-commits label Apr 7, 2025
Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+(status: commits are properly curated) :lgtm:

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: when planning a "properly curated" merge commit the PR must always be rebased onto latest master (waiting on @Aiden2244)

@sammy-tri sammy-tri added status: squashing now https://drake.mit.edu/reviewable.html#curated-commits and removed status: commits are properly curated https://drake.mit.edu/reviewable.html#curated-commits labels Apr 7, 2025
Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-(status: commits are properly curated) +(status: squashing now)

Reviewable status: when planning a "properly curated" merge commit the PR must always be rebased onto latest master (waiting on @Aiden2244)

@sammy-tri sammy-tri merged commit ad1bb22 into RobotLocomotion:master Apr 7, 2025
10 checks passed
@Aiden2244 Aiden2244 deleted the patch-libpng branch April 10, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: fix This pull request contains fixes (no new features) status: squashing now https://drake.mit.edu/reviewable.html#curated-commits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Diagnose problems with libpng 1.6.47 upgrade
4 participants