Andreas Enge <andr...@enge.fr> skribis: > Hello, in current master (commit a09f6ed), I get the following: > > $ ./pre-inst-env guix build hello -n > substitute: Backtrace: > substitute: In ice-9/boot-9.scm: > substitute: 157: 12 [catch #t #<catch-closure 1bd3580> ...] > substitute: In unknown file: > substitute: ?: 11 [apply-smob/1 #<catch-closure 1bd3580>] > substitute: In ice-9/boot-9.scm: > substitute: 63: 10 [call-with-prompt prompt0 ...] > substitute: In ice-9/eval.scm: > substitute: 432: 9 [eval # #] > substitute: In ice-9/boot-9.scm: > substitute: 2401: 8 [save-module-excursion #<procedure 1bf0940 at > ice-9/boot-9.scm:4045:3 ()>] > substitute: 4050: 7 [#<procedure 1bf0940 at ice-9/boot-9.scm:4045:3 ()>] > substitute: 1724: 6 [%start-stack load-stack ...] > substitute: 1729: 5 [#<procedure 1c08ea0 ()>] > substitute: In unknown file: > substitute: ?: 4 [primitive-load "/usr/local/guix-git/bin/guix"] > substitute: In ice-9/eval.scm: > substitute: 411: 3 [eval # #] > substitute: 387: 2 [eval # #] > substitute: In ice-9/boot-9.scm: > substitute: 2867: 1 [resolve-interface (guix ui) #:select ...] > substitute: In unknown file: > substitute: ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" > (guix ui)) #f] > substitute: > substitute: ERROR: In procedure scm-error: > substitute: ERROR: no code for module (guix ui) > guix build: error: build failed: substituter `substitute' died unexpectedly > > This even after "make clean-go" and removing any additional .go files in > my guix tree.
The problem is not in your build tree: the error reported here comes from ‘guix substitute’, which is invoked by ‘guix-daemon’. Above, we see that /usr/local/guix-git/bin/guix is being run, so maybe this /usr/local/guix-git installation is corrupt or incomplete? HTH, Ludo’.