Nikita Karetnikov <nik...@karetnikov.org> skribis: > I suppose it shouldn't fail like this:
Indeed. :-) > # ./pre-inst-env guix package -i gnutls > accepted connection from pid 23127, uid 0 > The following package will be installed: > gnutls-3.1.9.1 > /nix/store/7k65yjwz4xs6vfyqggi77lbacj5hwcz7-gnutls-3.1.9.1 > > guix package: error: build failed: substituter > `/home/guix-test/nix/scripts/substitute-binary' failed: Backtrace: > In ice-9/boot-9.scm: > 157: 9 [catch #t #<catch-closure 9258ef0> ...] > In unknown file: > ?: 8 [apply-smob/1 #<catch-closure 9258ef0>] > In ice-9/boot-9.scm: > 63: 7 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 6 [eval # #] > In ice-9/boot-9.scm: > 2320: 5 [save-module-excursion #<procedure 91a3e80 at ice-9/boot-9.scm:3961:3 > ()>] > 3966: 4 [#<procedure 91a3e80 at ice-9/boot-9.scm:3961:3 ()>] > In unknown file: > ?: 3 [load-compiled/vm > "/root/.cache/guile/ccache/2.0-LE-4-2.0/home/guix-test/scripts/guix.go"] > In guix/ui.scm: > 403: 2 [guix-main "/home/guix-test/scripts/guix" "substitute-binary" > "--query"] > In guix/scripts/substitute-binary.scm: > 422: 1 [guix-substitute-binary "--query"] > In ice-9/threads.scm: > 99: 0 [loop (#)] > > ice-9/threads.scm:99:22: In procedure loop: > ice-9/threads.scm:99:22: In procedure string-append: Wrong type (expecting > string): #f Unfortunately, the backtrace isn’t helpful because of threads, and I can’t reproduce it. Could you replace ‘par-map’ with ‘map’ and try again? You can also add ‘pk’ calls in ‘lookup-narinfo’ and similar to get more details. TIA, Ludo’.