Skip to content

fix: excessive go binary warnings#1424

Merged
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:fix/excessive-go-binary-warnings
Dec 23, 2022
Merged

fix: excessive go binary warnings#1424
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:fix/excessive-go-binary-warnings

Conversation

@kzantow
Copy link
Copy Markdown
Contributor

@kzantow kzantow commented Dec 22, 2022

This PR fixes excessive Go binary parse errors, e.g.:

[0000]  INFO syft version: 0.62.3
[0011]  INFO identified distro: Red Hat Enterprise Linux 8.7 (Ootpa)
[0011]  INFO cataloging image
[0017]  WARN unable to read golang buildinfo error=not a Go executable file=/usr/bin/bash
[0017]  WARN golang cataloger: bin parsing: number of builds and readers doesn't match
[0017]  WARN unable to read golang buildinfo error=not a Go executable file=/usr/bin/brotli
[0017]  WARN golang cataloger: bin parsing: number of builds and readers doesn't match
[0017]  WARN unable to read golang buildinfo error=not a Go executable file=/usr/bin/busctl
[0017]  WARN golang cataloger: bin parsing: number of builds and readers doesn't match
<snip ... another 2000 lines of the same 2 warnings for various files>

Fixes #1403

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow requested a review from a team December 22, 2022 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Excessive "unable to read golang buildinfo error=not a Go executable file" warnings in versions after v0.62.1

2 participants