-
Notifications
You must be signed in to change notification settings - Fork 197
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
bug: broken vendoring in [email protected] #619
Labels
bug
Something isn't working
Comments
Managed to reproduced easily on an empty project. Thanks for the report. Possible fixes (cc @ivokub, thoughts?) :
|
gbotrel
added a commit
that referenced
this issue
Jan 28, 2025
gbotrel
added a commit
that referenced
this issue
Jan 31, 2025
Thank you for the fix. Works for us. 🙂 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using vendoring (
go mod vendor
) and then compiling dependencies, an error appears regarding missing.s
files.I'll demonstrate the compilation error using the gowaves project as an example.
When attempting to build the executable, the following error messages appear from the go compiler.
Go compiler output
The issue does not occur when vendoring is not used.
Expected Behavior
Successful compilation both with and without vendoring.
Actual Behavior
Compilation works fine without vendoring.
With
go mod vendor
compilation fails with the error described above.Steps to Reproduce
go get github.com/consensys/[email protected]
in the project directory (it also updatesgnark-crypto
to0.15.0
)go mod tidy && go mod vendor
in the project directorymake build-node-native
in the project directory which is equivalent togo build -o build/bin/native/node ./cmd/node
Context
Vendoring support is necessary for us in the gowaves project.
Your Environment
The text was updated successfully, but these errors were encountered: