lorri icon indicating copy to clipboard operation
lorri copied to clipboard

Lorri fails to evaluate my project

Open lovesegfault opened this issue 5 years ago • 1 comments

Describe the bug Trying to use lorri with my project chromaprint_sys and it fails to evaluate.

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/lovesegfault/chromaprint_sys
  2. cd chromaprint_sys
  3. direnv allow
  4. journalctl --user -e -u lorri - see the error

Expected behavior

For it to work, like it does with other projects and as nix-shell works

Metadata

Mar 13 19:24:48 foucault systemd[2453]: Stopping Lorri Daemon...
Mar 13 19:24:48 foucault systemd[2453]: lorri.service: Succeeded.
Mar 13 19:24:48 foucault systemd[2453]: Stopped Lorri Daemon.
Mar 13 19:24:48 foucault lorri[28650]: Mar 13 19:24:48.480 INFO ready
Mar 13 19:24:48 foucault systemd[2453]: Started Lorri Daemon.
Mar 13 19:24:51 foucault lorri[28650]: Mar 13 19:24:51.888 INFO build status, message: BuildEvent(Started { nix_file: Shell("/home/bemeurer/src/chromaprint_sys/shell.nix"), reason: ProjectAdded(Shell("/home/bemeurer/src/chromaprint_sys/shell.nix")) })
Mar 13 19:24:55 foucault lorri[28650]: Mar 13 19:24:55.163 INFO build status, message: BuildEvent(Failure { nix_file: Shell("/home/bemeurer/src/chromaprint_sys/shell.nix"), failure: Exit { cmd: "\"nix-build\" \"--out-link\" \"/tmp/.tmpyvoAlx/result\" \"--\" \"/tmp/.tmpg0Zkyf/result\"", status: Some(100), logs: [LogLine("these derivations will be built:"), LogLine("  /nix/store/azcinppfwsbzp692qbdl73n5vgz3flqd-lorri-wrapped-project-rust_chromaprint_sys-0.2.0.drv"), LogLine("building \'/nix/store/azcinppfwsbzp692qbdl73n5vgz3flqd-lorri-wrapped-project-rust_chromaprint_sys-0.2.0.drv\'..."), LogLine("Error: _assignFirst found no valid variant!"), LogLine("builder for \'/nix/store/azcinppfwsbzp692qbdl73n5vgz3flqd-lorri-wrapped-project-rust_chromaprint_sys-0.2.0.drv\' failed with exit code 1"), LogLine("error: build of \'/nix/store/azcinppfwsbzp692qbdl73n5vgz3flqd-lorri-wrapped-project-rust_chromaprint_sys-0.2.0.drv\' failed")] } })
$ lorri info
lorri version: 1.0
GC roots exist, shell_gc_root: "/home/bemeurer/.cache/lorri/gc_roots/686c430a98655f8c35684747742bea6d/gc_root/shell_gc_root"
$ uname -a
Linux foucault 5.5.8 #1-NixOS SMP Thu Mar 5 15:45:26 UTC 2020 x86_64 GNU/Linux

Additional context

I observed this failure with lorri 1.0 as well as master, which is what I am using now.

lovesegfault avatar Mar 14 '20 02:03 lovesegfault

It appears that

Error: _assignFirst found no valid variant!

Is the relevant log line here. Not sure what to do with that though.

curiousleo avatar Mar 16 '20 08:03 curiousleo