Skip to content
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

ppc64le is no longer available after relase 0.23. #2177

Closed
rpsene opened this issue May 24, 2022 · 14 comments
Closed

ppc64le is no longer available after relase 0.23. #2177

rpsene opened this issue May 24, 2022 · 14 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. triage/support Indicates an issue that is a support question.

Comments

@rpsene
Copy link
Contributor

rpsene commented May 24, 2022

Power is no longer available as part of the releases. Was it removed or is this a CICD issue?

@rpsene rpsene added the kind/bug Categorizes issue or PR as related to a bug. label May 24, 2022
@afdesk
Copy link
Contributor

afdesk commented May 25, 2022

@rpsene thanks for your report. let me take a look at the reason.

@afdesk
Copy link
Contributor

afdesk commented May 25, 2022

The reason is here #1694:

modernc.org/sqlite (technically modernc.org/libc) doesn't support the following pairs and we need to drop those supports for now.
...
*/ppc64le

@afdesk afdesk added triage/support Indicates an issue that is a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels May 25, 2022
@rpsene
Copy link
Contributor Author

rpsene commented May 25, 2022

@afdesk thanks for replying. I do believe the libc issue was recently fixed. We will check.

@DanielCasali
Copy link

DanielCasali commented May 25, 2022

@afdesk Power is supported now on the latest libc v1.16.7 and sqlite v1.17.3 fixed this and I just tested the build after altering go.mod for these versions and running
go get github.com/knqyf263/go-rpmdb/pkg/sqlite3@v0.0.0-20220209103220-0f7a6d951a6d
trivy seems to run fine after build:
[root@power-compare-eu-de-2-bastion-0 trivy]# ./trivy image docker.io/library/golang:alpine
2022-05-25T11:42:48.865Z INFO Need to update DB
2022-05-25T11:42:48.865Z INFO DB Repository: ghcr.io/aquasecurity/trivy-db
2022-05-25T11:42:48.865Z INFO Downloading DB...
32.03 MiB / 32.03 MiB [---------------------------------------------------------------------------------------------------------------------] 100.00% 21.34 MiB p/s 1.7s
2022-05-25T11:43:11.853Z INFO Detected OS: alpine
2022-05-25T11:43:11.853Z INFO This OS version is not on the EOL list: alpine 3.16
2022-05-25T11:43:11.853Z INFO Detecting Alpine vulnerabilities...
2022-05-25T11:43:11.854Z INFO Number of language-specific files: 0

docker.io/library/golang:alpine (alpine 3.16.0)

Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)

[root@power-compare-eu-de-2-bastion-0 trivy]#

@knqyf263
Copy link
Collaborator

Great! Could you open a PR updating those dependencies?
https://github.com/knqyf263/go-rpmdb

@knqyf263 knqyf263 added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label May 26, 2022
@rpsene
Copy link
Contributor Author

rpsene commented Jun 6, 2022

@rpsene
Copy link
Contributor Author

rpsene commented Jun 7, 2022

@knqyf263 the PR with the updates for the go-rpmdb was merged. We can now continue the work on this issue.

@knqyf263
Copy link
Collaborator

knqyf263 commented Jun 7, 2022

Thanks. We need to update go-rpmdb in fanal first.

@rpsene
Copy link
Contributor Author

rpsene commented Jun 7, 2022

@knqyf263
Copy link
Collaborator

knqyf263 commented Jun 8, 2022

Thanks, but it is failing.

@rpsene
Copy link
Contributor Author

rpsene commented Jun 9, 2022

@knqyf263 Fanal is updated aquasecurity/fanal#553 (comment), can we proceed now?

@rpsene
Copy link
Contributor Author

rpsene commented Jun 9, 2022

@knqyf263
Copy link
Collaborator

knqyf263 commented Jun 9, 2022

Thanks, but it is failing.

@knqyf263
Copy link
Collaborator

knqyf263 commented Jun 9, 2022

I think you need to bump fanal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. triage/support Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

4 participants