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

go-licenense fails with go mod go 1.23.0 #20271

Open
medyagh opened this issue Jan 15, 2025 · 1 comment
Open

go-licenense fails with go mod go 1.23.0 #20271

medyagh opened this issue Jan 15, 2025 · 1 comment

Comments

@medyagh
Copy link
Member

medyagh commented Jan 15, 2025

make generate-licenses fails with go mod go 1.23.0

W0115 22:04:16.095548   13843 library.go:101] "github.com/klauspost/cpuid" contains non-Go code that can't be inspected for further dependencies:
/home/jenkins/go/pkg/mod/github.com/klauspost/[email protected]/cpuid_amd64.s
E0115 22:04:16.908003   13843 library.go:117] Package expvar does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0115 22:04:17.004589   13843 library.go:117] Package runtime/metrics does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0115 22:04:17.293032   13843 library.go:117] Package database/sql does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
W0115 22:04:18.735358   13843 library.go:101] "github.com/aregm/cpuid" contains non-Go code that can't be inspected for further dependencies:
/home/jenkins/go/pkg/mod/github.com/aregm/[email protected]/cpuidlow_amd64.s
F0115 22:04:18.833290   13843 main.go:77] some errors occurred when loading direct and transitive dependency packages
make: *** [Makefile:1272: generate-licenses] Error 1
Build step 'Execute shell' marked build as failure
[WS-CLEANUP] Deleting project workspace...

so I had to downgraade it
#20270

we need to fix that after release and bump back to oldest k8s, since the apimachinary needs newest golang

@afbjorklund
Copy link
Collaborator

The complaints about assembler files seems like an old bug with go-licenses:

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

No branches or pull requests

2 participants