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

can't build lapce on ubuntu #1095

Closed
vuhailongkl97 opened this issue Sep 8, 2022 · 2 comments
Closed

can't build lapce on ubuntu #1095

vuhailongkl97 opened this issue Sep 8, 2022 · 2 comments
Labels
A-dev Area: general development experience within Lapce codebase question A question about the editor

Comments

@vuhailongkl97
Copy link

Dear authors,

Lapce Version

newest source code

System information

Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Describe the bug

I can't build the lapce on my ubuntu

Additional information

This commonly includes:

cargo build --release                           
error: failed to load manifest for workspace member `/home/long/lapce/lapce-ui`

Caused by:
  failed to load manifest for dependency `lapce-core`

Caused by:
  failed to parse manifest at `/home/long/lapce/lapce-core/Cargo.toml`

Caused by:
  namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line

after that I try

cargo build --release -Z namespaced-features
    Updating crates.io index
error: failed to get `Inflector` as a dependency of package `lapce-ui v0.2.0 (/home/long/lapce/lapce-ui)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to authenticate when downloading repository: [email protected]:rust-lang/crates.io-index

  * attempted ssh-agent authentication, but no usernames succeeded: `git`

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
  Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

  ; class=Ssh (23); code=Eof (-20)

however the problem still happened.
Please help me check it. Thanks

@panekj
Copy link
Collaborator

panekj commented Sep 8, 2022

You need at least Rust 1.62 to build it

@MinusGix MinusGix added question A question about the editor A-dev Area: general development experience within Lapce codebase labels Sep 9, 2022
@vuhailongkl97
Copy link
Author

vuhailongkl97 commented Sep 9, 2022

got it. it still happened even if I used rust 1.62 to build. I found that the problem was explained here : rust-lang/cargo#3381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dev Area: general development experience within Lapce codebase question A question about the editor
Projects
None yet
Development

No branches or pull requests

3 participants