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

rls doesn't build #77108

Closed
bbigras opened this issue Jan 6, 2020 · 4 comments
Closed

rls doesn't build #77108

bbigras opened this issue Jan 6, 2020 · 4 comments
Labels
0.kind: bug Something is broken 0.kind: regression Something that worked before working no longer 6.topic: rust

Comments

@bbigras
Copy link
Contributor

bbigras commented Jan 6, 2020

Describe the bug
A clear and concise description of what the bug is.

on master (254d6e5)

   Compiling rls-rustc v0.6.0 (/build/rustc-1.40.0-src/src/tools/rls/rls-rustc)
error[E0463]: can't find crate for `rustc`
 --> src/tools/rls/rls-rustc/src/lib.rs:4:1
  |
4 | extern crate rustc;
  | ^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `rls-rustc`.
warning: build failed, waiting for other jobs to finish...
error: build failed
builder for '/nix/store/bbjm5mgxyfmxj72ypnv7x65588icm9hh-rls-1.40.0.drv' failed with exit code 101
error: build of '/nix/store/bbjm5mgxyfmxj72ypnv7x65588icm9hh-rls-1.40.0.drv' failed

To Reproduce
Steps to reproduce the behavior:

  1. cd nixpkgs
  2. nix-build -A rls

Expected behavior

Screenshots

Additional context

Metadata

  • system: "x86_64-linux"
  • host os: Linux 4.19.92, NixOS, 20.03pre208171.2e8fc97dbfa (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.1
  • channels(root): "nixos-20.03pre208171.2e8fc97dbfa"
  • channels(bbigras2): "home-manager, nixos-19.09-19.09.1776.b926503738c"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@bbigras bbigras added the 0.kind: bug Something is broken label Jan 6, 2020
@bbigras
Copy link
Contributor Author

bbigras commented Jan 6, 2020

cc @symphorien

@symphorien
Copy link
Member

It seems like it has been caused by rust-lang/rust#64823
I will have a look next week-end.

@bjornfor bjornfor added the 0.kind: regression Something that worked before working no longer label Jan 20, 2020
@bjornfor
Copy link
Contributor

bjornfor commented Jan 29, 2020

Fixed on master (tested at 13a4b48).

@bbigras
Copy link
Contributor Author

bbigras commented Jan 29, 2020

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 0.kind: regression Something that worked before working no longer 6.topic: rust
Projects
None yet
Development

No branches or pull requests

4 participants