Subject: bug#48571: guix pull fails with failed to compute the derivation for Guix

From: "Dr. Arne Babenhauserheide" <[email-masked]>
Date: Fri, 21 May 2021 18:40:52 +0200

Hi,

I get a failure when using guix pull. Using --no-substitutes makes the
pull work, though.

Log:

$ guix pull 
Kanal „flat“ wird vom Git-Repository auf „https://github.com/flatwhatson/guix-channel.git“ aktualisiert …
Kanal „guix“ wird vom Git-Repository auf „https://git.savannah.gnu.org/git/guix.git“ aktualisiert …
Kanal „guix“, Commits 9edb3f6 bis 1a06caf werden authentifiziert (3 neue Commits) …
Von diesen Kanälen wird erstellt:
  guix      https://git.savannah.gnu.org/git/guix.git	1a06caf
  flat      https://github.com/flatwhatson/guix-channel.git	eba45f4
 libtiff-4.2.0-doc  358KiB                                                                                          2.4MiB/s 00:00 [##################] 100.0%

 curl-7.76.0-doc  624KiB                                                                                            3.5MiB/s 00:00 [##################] 100.0%

 curl-7.76.0  385KiB                                                                                                9.4MiB/s 00:00 [##################] 100.0%

substitute: Liste der Substitute von „https://ci.guix.gnu.org“ wird aktualisiert … 100.0%
 compute-guix-derivation  1003B                                                                                     406KiB/s 00:00 [##################] 100.0%

 graphviz-2.42.3-doc                                                                                                      5.29GiB/s 00:00 | 3.9MiB transferred

Backtrace:
In guix/ui.scm:
  2164:12 19 (run-guix-command _ . _)
In guix/scripts/substitute.scm:
    652:2 18 (guix-substitute . _)
In unknown file:
          17 (with-continuation-barrier #<procedure thunk ()>)
In ice-9/boot-9.scm:
  1736:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          15 (apply-smob/0 #<thunk 7fded9a11340>)
In ice-9/boot-9.scm:
  1736:10 14 (with-exception-handler _ _ #:unwind? _ # _)
  1736:10 13 (with-exception-handler _ _ #:unwind? _ # _)
  1731:15 12 (with-exception-handler #<procedure 7fded8ec27b0 at ic?> ?)
In guix/scripts/substitute.scm:
   701:17 11 (_)
    410:7 10 (process-substitution _ "/gnu/store/grb6fymvw0rz75gcm9?" ?)
In ice-9/boot-9.scm:
  1736:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
    419:9  8 (_)
In ice-9/boot-9.scm:
  1731:15  7 (with-exception-handler #<procedure 7fded9e6d210 at ic?> ?)
  1669:16  6 (raise-exception _ #:continuable? _)
  1667:16  5 (raise-exception _ #:continuable? _)
  1669:16  4 (raise-exception _ #:continuable? _)
  1764:13  3 (_ #<&compound-exception components: (#<&error> #<&irri?>)
  1669:16  2 (raise-exception _ #:continuable? _)
  1667:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
Backtrace:
In ice-9/boot-9.scm:
  1736:10  4 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
           3 (apply-smob/0 #<thunk 7fdedb566520>)
In ice-9/boot-9.scm:
    718:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 7fdedb569c80>)))
In guix/ui.scm:
  2164:12  0 (run-guix-command _ . _)

guix/ui.scm:2164:12: In procedure run-guix-command:
Backtrace:
          15 (primitive-load "/gnu/store/z3db00laqj4wvhk06fvn8ivgnahy1ma7-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 14 (_ _)
    159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 12 (with-fluid* _ _ _)
    152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
  2076:24 10 (run-with-store #<store-connection 256.99 7f80a6ccf3c0> _ #:guile-for-build _ #:system _ #:target _)
   1910:8  9 (_ _)
In ./guix/gexp.scm:
   256:18  8 (_ _)
   1137:2  7 (_ _)
   1003:2  6 (_ _)
    849:4  5 (_ _)
In ./guix/store.scm:
  1958:12  4 (_ #<store-connection 256.99 7f80a6ccf3c0>)
   1372:5  3 (map/accumulate-builds #<store-connection 256.99 7f80a6ccf3c0> _ _)
  1383:15  2 (_ #<store-connection 256.99 7f80a6ccf3c0> _ _)
   729:11  1 (process-stderr #<store-connection 256.99 7f80a6ccf3c0> _)
In ./guix/serialization.scm:
     80:6  0 (read-int #<input-output: file 10>)

./guix/serialization.scm:80:6: In procedure read-int:
ERROR:
  1. &nar-error:
      file: #f
      port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/z3db00laqj4wvhk06fvn8ivgnahy1ma7-compute-guix-derivation'
failed to compute the derivation for Guix (version: "1a06cafc07b5ab6a46ea174937694fe8df7fd24a"; system: "x86_64-linux";
host version: "a74de6c41d0af7bfc8b81aac49d8bf1ae7a49cdb"; pull-version: 1).
Please report it by email to <[email-masked]>.

$ guix --version
guix (GNU Guix) a74de6c41d0af7bfc8b81aac49d8bf1ae7a49cdb
Copyright © 2021 die Guix-Autoren
Lizenz GPLv3+: GNU GPL Version 3 oder neuer <http://gnu.org/licenses/gpl.html>
Dies ist freie Software: Sie können sie ändern und weitergeben.
Es gibt keine Garantie, soweit gesetzlich zulässig.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken