From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Korwin-Zmijowski Subject: Re: Failed to connect to guix daemon socket in pure env Date: Thu, 20 Feb 2020 09:13:53 +0100 Message-ID: <9d04adf9788c91b74161fa8af84a33ee9bdb7b6b.camel@korwin-zmijowski.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4gy6-0001ig-S4 for help-guix@gnu.org; Thu, 20 Feb 2020 03:14:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4gy5-0004tT-G7 for help-guix@gnu.org; Thu, 20 Feb 2020 03:13:58 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:53617) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4gy5-0004si-7d for help-guix@gnu.org; Thu, 20 Feb 2020 03:13:57 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: zimoun Cc: help-guix Le jeudi 20 février 2020 à 08:54 +0100, Jeremy Korwin-Zmijowski a écrit : > Le jeudi 20 février 2020 à 08:53 +0100, Jeremy Korwin-Zmijowski a > écrit : > > Le jeudi 20 février 2020 à 01:17 +0100, zimoun a écrit : > > > Hi Jeremy, > > > > > > On Thu, 20 Feb 2020 at 00:33, Jeremy Korwin-Zmijowski > > > wrote: > > > > > > > $ ./pre-inst-env guix package --install-from-file=emacs-ac- > > > > geiser.scm > > > > guix package: error: failed to connect to > > > > `/usr/local/var/guix/daemon- > > > > socket/socket': No such file or directory > > > > > > > > Any idea ? > > > > > > Is the daemon up? > > > As root "systemctl start guix-daemon". > > > > > > Does the simple "guix install foo" work for you? > > > > > > And how have you installed Guix? > > > > > > > > > Cheers, > > > simon > > > > Hey Simon! > > > > Thank you it does help. > > > > Now the process stucks here ("emacs-ac-geiser.scm" is my almost > > hand- > > made definition): > > > > $ ./pre-inst-env guix package --install-from-file=emacs-ac- > > geiser.scm > > [...] > > View build log at > > '/var/log/guix/drvs/9s/6pm5yamchw1b9ywl74lw8rbpgkyk7d-emacs-ac- > > geiser- > > v0.1.drv.bz2'. > > $ bzless /var/log/guix/drvs/9s/6pm5yamchw1b9ywl74lw8rbpgkyk7d- > > emacs- > > ac- > > geiser-v0.1.drv.bz2 > > > > [...] > > starting phase `build' > > Checking /gnu/store/byvq8drq990mkl4v0yc1llg8r3jc8q3v-emacs-ac- > > geiser-v0.1/share/emacs/site-lisp/... > > Compiling /gnu/store/byvq8drq990mkl4v0yc1llg8r3jc8q3v-emacs-ac- > > geiser-v0.1/share/emacs/site-lisp/ac-geiser-v0.1-autoloads.el... > > Compiling /gnu/store/byvq8drq990mkl4v0yc1llg8r3jc8q3v-emacs-ac- > > geiser-v0.1/share/emacs/site-lisp/ac-geiser.el... > > Cannot open load file: No such file or directory, geiser > > command "/gnu/store/wmn02s4a2l5l5zaiv9lwahh808pdlpn4-emacs- > > minimal- > > 26.3/bin/emacs" "--quick" "--batch" "--eval=(progn (setq byte- > > compile-debug t) (byte-recompile-directory (file-name-as- > > directory > > \"/gnu/store/byvq8drq990mkl4v0yc1llg8r3jc8q3v-emacs-ac-geiser- > > v0.1/share/emacs/site-lisp\") 0 1))" failed with status 255 > > > > See whole log in attached "emacs-ac-geiser-v0.1.drv.bz2" file > > > > The same error occurs with : > > $ guix environment --pure guix --ad-hoc emacs emacs-geiser emacs- > > auto- > > complete > > > > or even > > > > $ guix environment --pure guix > > > > > > > > To try from a different angle, I did it all over again with > > > > $ ./pre-inst-env guix import elpa --archive=melpa-stable ac-geiser > > > > I copied the resulted definition in "emacs-ac-geiser-imported.scm" > > > > $ guix environment --pure guix --ad-hoc emacs emacs-geiser emacs- > > auto- > > complete > > > > $ ./pre-inst-env guix package --install-from-file=emacs-ac-geiser- > > imported.scm > > > > Backtrace: > > 14 (apply-smob/1 #) > > In ice-9/boot-9.scm: > > 705:2 13 (call-with-prompt _ _ # > handle?>) > > In ice-9/eval.scm: > > 619:8 12 (_ #(#(#))) > > In guix/ui.scm: > > 1824:12 11 (run-guix-command _ . _) > > In ice-9/boot-9.scm: > > 829:9 10 (catch _ _ # > guix/ui.scm:657?> > > ?) > > 829:9 9 (catch _ _ # > guix/ui.scm:791?> > > ?) > > In guix/scripts/package.scm: > > 951:10 8 (_) > > In guix/status.scm: > > 768:4 7 (call-with-status-report _ _) > > In guix/scripts/package.scm: > > 959:14 6 (_) > > In guix/build/syscalls.scm: > > 1145:4 5 (call-with-file-lock/no-wait _ _ _) > > In guix/scripts/package.scm: > > 897:21 4 (_) > > 608:4 3 (options->installable ((install . #) > > ?) > > ?) > > In srfi/srfi-1.scm: > > 697:23 2 (filter-map # > > . > > #) > > In guix/profiles.scm: > > 316:24 1 (package->manifest-entry # > ?> > > ?) > > In emacs-ac-geiser-imported.scm: > > 24:6 0 (propagated-inputs # > emacs- > > ?>) > > > > emacs-ac-geiser-imported.scm:24:6: In procedure propagated-inputs: > > error: emacs-geiser: unbound variable > > > > > > Don't know what I can do more than the virtual env including emacs- > > geiser already... > > > > Jérémy > > > > And the definitions... haha could help ! Sorry for flooding, but I realized that the issue I created this thread for is solved so I should create another one to go on my next problems. Thank you again Simon ! Cheers, Jérémy