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

Indirect dependency u-root is broken #22

Open
scj643 opened this issue Oct 21, 2024 · 6 comments
Open

Indirect dependency u-root is broken #22

scj643 opened this issue Oct 21, 2024 · 6 comments

Comments

@scj643
Copy link

scj643 commented Oct 21, 2024

Related to: Foxboron/sbctl#394

The package that uses u-root needs to be updated because it depends on intel-go/cpuid

@scj643
Copy link
Author

scj643 commented Oct 21, 2024

https://github.com/hugelgupf/vmtest is the direct dependency with the issue

@scj643
Copy link
Author

scj643 commented Oct 21, 2024

A temp workaround is to add this to go.mod

replace (
	github.com/intel-go/cpuid v0.0.0-20200819041909-2aa72927c3e2  => github.com/aregm/cpuid v0.0.0-20200819041909-2aa72927c3e2
)

@Foxboron
Copy link
Owner

Thanks, I'll fix this and forward push to sbctl!

@Foxboron
Copy link
Owner

@scj643 What error are you actually seeing here though? I have a hard time figuring out how this is pulled into the project through vmtest.

@scj643
Copy link
Author

scj643 commented Oct 21, 2024

GOROOT=/usr/lib/golang #gosetup
GOPATH=/home/scj643/go #gosetup
/usr/lib/golang/bin/go list -modfile=/home/scj643/devel/secureboot/sbctl-upstream/go.mod -m -json -mod=mod all #gosetup
go: github.com/intel-go/[email protected]: invalid version: unknown revision 2aa72927c3e2

I dug through the cache greping for 20200819041909-2aa72927c3e2

@Foxboron
Copy link
Owner

I've PRed hugelgupf/vmtest#129 but i'm still very confused how this actually works considering it's not listed in go.sum.

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