guix deploy not copying remote-gexp.scm

OpenSubmitted by pkill9.
Details
3 participants
  • Katherine Cox-Buday
  • Maxim Cournoyer
  • pkill9
Owner
unassigned
Severity
important
P
P
pkill9 wrote on 24 Feb 18:59 +0100
(address . bug-guix@gnu.org)
20210224175945.48437431@runbox.com
I keep getting this error:
```(system-error "open-file" "~A: ~S" ("No such file or directory""/gnu/store/p3ahdfcwa5yd65l5nzsnzshw9s7x3xc7-remote-exp.scm") (2))```
when I try to run `guix deploy`. This is on the remote machine. I canget it to work by using `guix copy` to copy that file from my localmachine to the remote, but i don't know why it isn't copying it overautomatically.
M
M
Maxim Cournoyer wrote on 3 Apr 06:33 +0200
control message for bug #46756
(address . control@debbugs.gnu.org)
87lfa0q96n.fsf@gmail.com
severity 46756 importantquit
M
M
Maxim Cournoyer wrote on 3 Apr 06:38 +0200
Re: bug#46756: guix deploy not copying remote-gexp.scm
(name . pkill9)(address . pkill9@runbox.com)(address . 46756@debbugs.gnu.org)
87im54q8xm.fsf@gmail.com
Hi!
pkill9 <pkill9@runbox.com> writes:
Toggle quote (12 lines)> I keep getting this error:>> ```> (system-error "open-file" "~A: ~S" ("No such file or directory"> "/gnu/store/p3ahdfcwa5yd65l5nzsnzshw9s7x3xc7-remote-exp.scm") (2))> ```>> when I try to run `guix deploy`. This is on the remote machine. I can> get it to work by using `guix copy` to copy that file from my local> machine to the remote, but i don't know why it isn't copying it over> automatically.
I get this as well. Here's the backtrace:
Toggle snippet (43 lines) In ice-9/boot-9.scm: 1731:15 19 (with-exception-handler #<procedure 7fb17c1e8870 at ice-9/boot-9.scm:1815:7 (exn)> _ # _ # …) In guix/status.scm: 793:4 18 (call-with-status-report _ _) In ice-9/boot-9.scm: 1736:10 17 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 636:37 16 (thunk) 1305:8 15 (call-with-build-handler _ _) 1305:8 14 (call-with-build-handler _ _) 1305:8 13 (call-with-build-handler _ _) 1305:8 12 (call-with-build-handler #<procedure 7fb17922a3f0 at guix/ui.scm:1171:2 (continue store …> …) In guix/scripts/deploy.scm: 170:14 11 (_) In guix/store.scm: 1346:2 10 (map/accumulate-builds #<store-connection 256.99 7fb179220870> _ _) In srfi/srfi-1.scm: 586:17 9 (map1 (#<<unresolved> things: (("/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2…>)) In guix/store.scm: 1305:8 8 (call-with-build-handler #<procedure build-accumulator (continue store things mode)> _) In ice-9/boot-9.scm: 1736:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/scripts/deploy.scm: 144:6 6 (_) In guix/store.scm: 2066:24 5 (run-with-store #<store-connection 256.99 7fb179220870> _ #:guile-for-build _ #:system _ # …) In gnu/machine/ssh.scm: 450:6 4 (_ _) In guix/remote.scm: 86:17 3 (_ _) In ice-9/boot-9.scm: 1669:16 2 (raise-exception _ #:continuable? _) 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1669:16: In procedure raise-exception: ERROR: 1. &inferior-exception: arguments: (system-error "open-file" "~A: ~S" ("No such file or directory" "/gnu/store/4q0sl8b1wg6nwiiz6xzhy8iskmyc43gv-remote-exp.scm") (2)) inferior: #f stack: ()
As a workaround, one can build the machine's profile locally (thedefault, so by removing (build-locally? #f) or setting the value to #tin the machines' machine-ssh-configuration). That's not satisfyingthough, as for example for my offload machine I must transfer a systemclosure of near 4 GiB instead of simply allowing it to be builtremotely.
I'm marking this as serious, as it is a severe regression of the 'guixdeploy' facility that prevents its use to scale.
Maxim
K
K
Katherine Cox-Buday wrote on 8 Sep 03:52 +0200
(address . 46756@debbugs.gnu.org)
87tuivx290.fsf@gmail.com
I am also seeing this behavior. Further, using =guix copy= on the offendingstore item doesn't seem to help as it seems like each invocation of=guix deploy= is generating a new version of this file in the store.
As such, I cannot specify =(build-locally? #f)= in my machine configuration.
-- Katherine
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 46756@debbugs.gnu.org