Subject: Failed to compute the derivation for Guix when running‘guix pull’

From: Mathieu Lirzin <[email-masked]>
Date: Sun, 28 Apr 2019 21:58:36 +0200

Hello,

I am getting the following error when running ‘guix pull’.

--8<---------------cut here---------------start------------->8---
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	7fc0e3d
Computing Guix derivation for 'x86_64-linux'...  Backtrace:
In ice-9/psyntax.scm:
  1182:24 19 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10 18 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/eval.scm:
   293:34 17 (_ #<module (#{ g203}#) 1d34320>)
In ice-9/boot-9.scm:
   2874:4 16 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2887:24 15 (_)
   222:29 14 (map1 _)
   222:17 13 (map1 (((gnu packages algebra)) ((gnu packages #)) (#) ?))
  2800:17 12 (resolve-interface (gnu packages algebra) #:select _ # _ ?)
In ice-9/threads.scm:
    390:8 11 (_ _)
In ice-9/boot-9.scm:
  2726:13 10 (_)
In ice-9/threads.scm:
    390:8  9 (_ _)
In ice-9/boot-9.scm:
  2994:20  8 (_)
   2312:4  7 (save-module-excursion _)
  3014:26  6 (_)
In unknown file:
           5 (primitive-load-path "gnu/packages/algebra" #<procedure?>)
In ice-9/eval.scm:
    619:8  4 (_ #f)
   626:19  3 (_ #<directory (gnu packages algebra) 1c04960>)
   182:19  2 (proc #<directory (gnu packages algebra) 1c04960>)
   142:16  1 (compile-top-call _ (7 . deprecate-package) ((5 . "?") ?))
In unknown file:
           0 (%resolve-variable (7 . deprecate-package) #<directory ?>)

ERROR: In procedure %resolve-variable:
error: deprecate-package: unbound variable
-guix pull: error: You found a bug: the program '/gnu/store/xay3k110nvzsihgy7bff2khnvbhg467c-compute-guix-derivation'
failed to compute the derivation for Guix (version: "7fc0e3dbbbe96fc6ead2edbd98902120b6985000"; system: "x86_64-linux";
host version: "60ecacdeaae83164d0e876d81c4891d6a973fac0"; pull-version: 1).
--8<---------------cut here---------------end--------------->8---

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37