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

cargo install zeronsd --root /usr/local failed on arm64 ubuntu 2004 #203

Closed
Weaverzhu opened this issue Jan 25, 2023 · 4 comments
Closed

Comments

@Weaverzhu
Copy link

part of the log:

   Compiling typify-macro v0.0.10
   Compiling typify v0.0.10
   Compiling progenitor-impl v0.2.0
   Compiling progenitor-macro v0.2.0
   Compiling progenitor v0.2.0
   Compiling zerotier-central-api v1.1.0
error[E0061]: this function takes 1 argument but 0 arguments were supplied
   --> /root/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zerotier-central-api-1.1.0/build.rs:7:25
    |
7   |     let mut generator = progenitor::Generator::new();
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments
    |                         |
    |                         expected 1 argument
    |
note: associated function defined here
   --> /root/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/progenitor-impl-0.2.0/src/lib.rs:124:12

btw i tried the rustup and the cargo installed by apt. maybe rustup version rustc is much newer, but all got the same output

@Weaverzhu
Copy link
Author

the intall command comes from docs, since there is no package provided for arm64 i have to build it from souce

@glimberg
Copy link
Contributor

glimberg commented Jan 25, 2023

Clone the repo and build from source that way. The version on crates.io is outdated. Unfortunately the crate is currently under @erikh who is no longer with the company and isn't responding to requests to transfer ownership of the crate.

If you clone & build the main branch from github, it builds just fine as a workaround for now

@glimberg
Copy link
Contributor

cargo install --git https://github.com/zerotier/zeronsd --branch main works as well

@Weaverzhu
Copy link
Author

cargo install --git https://github.com/zerotier/zeronsd --branch main works as well

this works well for me

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