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

Installer will override clang on ubuntu even when clang is already installed #25

Open
Caviarion opened this issue Apr 24, 2022 · 2 comments
Labels
bug Something isn't working fixing Working on fixing this issue
Projects

Comments

@Caviarion
Copy link

Describe the bug
Installer will override clang on ubuntu even when clang-8 is already installed.

To Reproduce
Env:

  • Ubuntu 16.04
  • Run apt install clang-8 lld-8

Steps to reproduce the behavior:

  1. Install rust and cargo normally
  2. cargo build works fine
  3. Install fleet with curl -L get.fleet.rs | sh
  4. Both cargo build and fleet build failed with clang: error: invalid linker name in argument '-fuse-ld=lld'
  5. clang --version suggests that it has been degraded to 3.8

Additional context

  • It seems that the installer only checks whether clang package is installed, leaving the fact that user may have already installed another version of clang or even build manually.
@Caviarion Caviarion added the bug Something isn't working label Apr 24, 2022
@VarunPotti VarunPotti added the fixing Working on fixing this issue label Apr 24, 2022
@suptejas suptejas added this to To-Do in v1.0.0 Apr 25, 2022
@suptejas suptejas moved this from To-Do to In Progress in v1.0.0 Apr 25, 2022
@suptejas suptejas moved this from In Progress to Done in v1.0.0 Apr 28, 2022
@suptejas suptejas moved this from Done to In Progress in v1.0.0 Apr 28, 2022
@GrinderDeveloper
Copy link

Should be handled, mate!

@VarunPotti
Copy link
Contributor

This has been fixed in the development versions of the installer. We now require you to follow a more manual way of installing clang/lld.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixing Working on fixing this issue
Projects
v1.0.0
In Progress
Development

No branches or pull requests

3 participants