panettone: nix-build -A web.panettone fails due to git error

#96
Opened by aspen at 2021-03-27T15·55+00

obviously this is only on my machine (since it's passing in CI), but I get the following error:

❯ nix-build -A web.panettone --show-trace
error: Could not read 68260dbf320c01089c8cee54ef32c800eefcde7f
fatal: Failed to traverse parents of commit 789e972d75dfe1e8432a11a8fa1b13b1b5ecb469
error: while evaluating the attribute 'LD_LIBRARY_PATH' of the derivation 'panettone' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'makeSearchPathOutput' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/strings.nix:164:5, called from /home/grfn/code/depot/nix/buildLisp/default.nix:199:17:
while evaluating 'makeSearchPath' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/strings.nix:144:5, called from /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/strings.nix:164:11:
while evaluating 'allNative' at /home/grfn/code/depot/nix/buildLisp/default.nix:89:23, called from /home/grfn/code/depot/nix/buildLisp/default.nix:199:38:
while evaluating 'flatten' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:137:13, called from /home/grfn/code/depot/nix/buildLisp/default.nix:90:5:
while evaluating 'allDeps' at /home/grfn/code/depot/nix/buildLisp/default.nix:82:13, called from /home/grfn/code/depot/nix/buildLisp/default.nix:198:18:
while evaluating 'toposort' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:454:22, called from /home/grfn/code/depot/nix/buildLisp/default.nix:82:20:
while evaluating 'flatten' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:137:13, called from /home/grfn/code/depot/nix/buildLisp/default.nix:83:5:
while evaluating anonymous function at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:139:21, called from /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:139:10:
while evaluating 'flatten' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:137:13, called from /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:139:24:
while evaluating anonymous function at /home/grfn/code/depot/nix/buildLisp/default.nix:83:32, called from undefined position:
while evaluating the attribute 'lispDeps' at /home/grfn/code/depot/nix/buildLisp/default.nix:180:14:
while evaluating 'allDeps' at /home/grfn/code/depot/nix/buildLisp/default.nix:82:13, called from /home/grfn/code/depot/nix/buildLisp/default.nix:153:18:
while evaluating 'toposort' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:454:22, called from /home/grfn/code/depot/nix/buildLisp/default.nix:82:20:
while evaluating anonymous function at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/lib/lists.nix:645:24, called from /home/grfn/code/depot/nix/buildLisp/default.nix:82:44:
while evaluating the attribute 'buildCommand' of the derivation 'puri-cllib' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'text' of the derivation 'compile.lisp' at /nix/store/9jyxn4plxi5g1737dr7k112f6zg15ggc-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating anonymous function at /home/grfn/code/depot/nix/buildLisp/default.nix:58:43, called from undefined position:
program 'git' failed with exit code 128

  1. Seems like some builtins.fetchGit is failing in third_party.lisp. Maybe we should convert all those to derivations so we get better errors.

    sterni at 2021-03-27T15·59+00

  2. so I also get this on building third_party.lisp.drakma, but evaluating the src derivation there is not actually failing

    aspen at 2021-03-27T16·00+00

  3. Fixed by https://cl.tvl.fyi/c/depot/+/2691

    aspen at 2021-03-27T16·10+00

  4. grfn closed this issue at 2021-03-27T16·10+00