-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
There was a problem hiding this 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)
There was a problem hiding this 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)
There was a problem hiding this 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)
There was a problem hiding this 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.
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)
There was a problem hiding this 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)
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)
There was a problem hiding this 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)
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