Skip to content

can't build v5.3.1 on previously reliable platform #28

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

Closed
rphair opened this issue Mar 5, 2023 · 1 comment
Closed

can't build v5.3.1 on previously reliable platform #28

rphair opened this issue Mar 5, 2023 · 1 comment

Comments

@rphair
Copy link

rphair commented Mar 5, 2023

Describe the bug
When compiling as per instructions for v5.3.0 and every version we successfully built before that, the build fails with the following error:

$ git checkout v5.3.1
$ cargo install --path . --force
  Installing cncli v5.3.1 (/home/spo/src/cncli)
    Updating crates.io index
error: failed to compile `cncli v5.3.1 (/home/spo/src/cncli)`, intermediate artifacts can be found at `/home/spo/src/cncli/target`
Caused by:
  cannot produce proc-macro for `ctor v0.1.26` as the target `x86_64-unknown-linux-gnu` does not support these crate types

Desktop (please complete the following information):

  • OS: Ubuntu 22.10
  • cargo 1.67.1 (8ecd4f20a 2023-01-10)

Additional context
Both the release notes for this version and this Rust issue (rust-lang/rust#78210) mention +crt-static. The release notes don't currently say why this option is mentioned... maybe it's a compiler option that needs to be added to the build process (or taken away from it)? Note except for building cardano-node I am a Rust n00b.

@AndrewWestberg
Copy link
Collaborator

See the new build instructions:

cargo install --path . --force --target x86_64-unknown-linux-gnu

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