unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix pull issue
@ 2018-08-30  5:11 vikram sai balaji ulaganathan
  2018-09-01 14:52 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: vikram sai balaji ulaganathan @ 2018-08-30  5:11 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 6466 bytes --]

For a few weeks now, I have been trying to get guix pull to update
everything but get the below error. Guix is at .15.0
Any help is appreciated
[35/39] Compiling './guix/serialization.scm'...
[36/39] Compiling './guix/sets.scm'...
[37/39] Compiling './guix/store.scm'...
[38/39] Compiling './guix/ui.scm'...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; gnu/packages.scm:92:33: warning: non-literal format string
;;; gnu/packages.scm:108:16: warning: non-literal format string
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; guix/build/download.scm:176:4: warning: possibly unbound variable
`set-certificate-credentials-x509-trust-data!'
;;; guix/build/download.scm:182:15: warning: possibly unbound variable
`make-certificate-credentials'
;;; guix/build/download.scm:191:20: warning: possibly unbound variable
`x509-certificate-format/pem'
;;; guix/build/download.scm:199:2: warning: possibly unbound variable
`session-peer-certificate-chain'
;;; guix/build/download.scm:201:5: warning: possibly unbound variable
`import-x509-certificate'
;;; guix/build/download.scm:201:5: warning: possibly unbound variable
`x509-certificate-format/der'
;;; guix/build/download.scm:210:10: warning: possibly unbound variable
`x509-certificate-matches-hostname?'
;;; guix/build/download.scm:215:2: warning: possibly unbound variable
`peer-certificate-status'
;;; guix/build/download.scm:234:13: warning: possibly unbound variable
`certificate-status->string'
;;; guix/build/download.scm:229:20: warning: possibly unbound variable
`x509-certificate-dn'
;;; guix/build/download.scm:246:18: warning: possibly unbound variable
`make-session'
;;; guix/build/download.scm:246:18: warning: possibly unbound variable
`connection-end/client'
;;; guix/build/download.scm:255:8: warning: possibly unbound variable
`set-session-server-name!'
;;; guix/build/download.scm:255:8: warning: possibly unbound variable
`server-name-type/dns'
;;; guix/build/download.scm:259:4: warning: possibly unbound variable
`set-session-transport-fd!'
;;; guix/build/download.scm:260:4: warning: possibly unbound variable
`set-session-default-priority!'
;;; guix/build/download.scm:266:4: warning: possibly unbound variable
`set-session-priorities!'
;;; guix/build/download.scm:268:4: warning: possibly unbound variable
`set-session-credentials!'
;;; guix/build/download.scm:272:34: warning: possibly unbound variable
`make-certificate-credentials'
;;; guix/build/download.scm:280:8: warning: possibly unbound variable
`handshake'
;;; guix/build/download.scm:282:15: warning: possibly unbound variable
`error/warning-alert-received'
;;; guix/build/download.scm:287:23: warning: possibly unbound variable
`alert-description->string'
;;; guix/build/downoad.scm:287:50: warning: possibly unbound variable
`alert-get'
;;; guix/build/download.scm:288:15: warning: possibly unbound variable
`handshake'
;;; guix/build/download.scm:303:18: warning: possibly unbound variable
`session-record-port'
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; missing interface for module (gnutls)
;;; guix/discovery.scm:89:22: warning: non-literal format string
;;; guix/ui.scm:171:5: warning: non-literal format string
;;; guix/ui.scm:316:2: warning: non-literal format string
;;; guix/ui.scm:334:22: warning: non-literal format string
;;; guix/ui.scm:362:13: warning: non-literal format string
;;; guix/ui.scm:355:7: warning: non-literal f
/Backtrace:
In guix/store.scm:
  1451:38 19 (_ #<build-daemon 256.97 14b2fa0>)
  1040:10 18 (add-file-tree-to-store #<build-daemon 256.97 14b2fa0> # …)
In guix/serialization.scm:
    364:9 17 (dump "guix-packages-base-source")
In srfi/srfi-1.scm:
    640:9 16 (for-each #<procedure 65cda20 at guix/serialization.sc…> …)
In guix/serialization.scm:
   371:23 15 (_ "gnu")
    364:9 14 (dump "guix-packages-base-source/gnu")
In srfi/srfi-1.scm:
    640:9 13 (for-each #<procedure 65cd9f0 at guix/serialization.sc…> …)
In guix/serialization.scm:
   371:23 12 (_ "packages")
    364:9 11 (dump "guix-packages-base-source/gnu/packages")
In srfi/srfi-1.scm:
    640:9 10 (for-each #<procedure 65cd9c0 at guix/serialization.sc…> …)
In guix/serialization.scm:
   371:23  9 (_ "bootstrap")
    364:9  8 (dump "guix-packages-base-source/gnu/packages/bootstrap")
In srfi/srfi-1.scm:
    640:9  7 (for-each #<procedure 65cd8d0 at guix/serialization.sc…> …)
In guix/serialization.scm:
   371:23  6 (_ "armhf-linux")
    364:9  5 (dump "guix-packages-base-source/gnu/packages/bootstrap…")
In srfi/srfi-1.scm:
    640:9  4 (for-each #<procedure 65cd870 at guix/serialization.sc…> …)
In guix/serialization.scm:
   371:23  3 (_ "bash")
   357:13  2 (dump _)
    225:6  1 (write-contents-from-port #<input: gnu/packages/bootst…> …)
In unknown file:
           0 (sendfile #<input-output: file 10> #<input: gnu/packag…> …)

ERROR: In procedure sendfile:
In procedure sendfile: Input/output error
Backtrace:
           9 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
  1579:12  8 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  7 (catch _ _ #<procedure 7fd0184879b8 at guix/ui.scm:611…> …)
    829:9  6 (catch _ _ #<procedure 7fd0184879d0 at guix/ui.scm:729…> …)
    829:9  5 (catch _ _ #<procedure 7fd0150f03d0 at guix/scripts/pu…> …)
In guix/scripts/pull.scm:
   505:22  4 (_)
In guix/store.scm:
  1555:24  3 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/pull.scm:
    264:2  2 (_ _)
In ice-9/eval.scm:
   191:27  1 (_ #(#(#<directory (build-self) 4c82e60> #<procedu…>) …))
Thanks
Vikram

[-- Attachment #2: Type: text/html, Size: 7926 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guix pull issue
  2018-08-30  5:11 Guix pull issue vikram sai balaji ulaganathan
@ 2018-09-01 14:52 ` Ludovic Courtès
  2018-09-01 15:41   ` vikram sai balaji ulaganathan
  2018-09-04  0:01   ` vikram sai balaji ulaganathan
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2018-09-01 14:52 UTC (permalink / raw)
  To: vikram sai balaji ulaganathan; +Cc: help-guix

Hello,

vikram sai balaji ulaganathan <tayirvadai.vikram@gmail.com> skribis:

> For a few weeks now, I have been trying to get guix pull to update
> everything but get the below error. Guix is at .15.0

What does “uname -srvm” return on this machine?

> In guix/serialization.scm:
>    371:23  3 (_ "bash")
>    357:13  2 (dump _)
>     225:6  1 (write-contents-from-port #<input: gnu/packages/bootst…> …)
> In unknown file:
>            0 (sendfile #<input-output: file 10> #<input: gnu/packag…> …)
>
> ERROR: In procedure sendfile:
> In procedure sendfile: Input/output error

Guix internally relies on the sendfile(2) system call to efficiently
communicate with the build daemon.  Here, it could be that the storage
device where those files are is dysfunctional, or that the file system
is corrupt, or that something is wrong with the kernel.

Does “dmesg | tail” show any useful hint when invoked right after the
error?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guix pull issue
  2018-09-01 14:52 ` Ludovic Courtès
@ 2018-09-01 15:41   ` vikram sai balaji ulaganathan
  2018-09-04  0:01   ` vikram sai balaji ulaganathan
  1 sibling, 0 replies; 6+ messages in thread
From: vikram sai balaji ulaganathan @ 2018-09-01 15:41 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

Thanks, I'll run the command and let you know.

On Sat, Sep 1, 2018, 10:57 AM Ludovic Courtès <ludo@gnu.org> wrote:

> Hello,
>
> vikram sai balaji ulaganathan <tayirvadai.vikram@gmail.com> skribis:
>
> > For a few weeks now, I have been trying to get guix pull to update
> > everything but get the below error. Guix is at .15.0
>
> What does “uname -srvm” return on this machine?
>
> > In guix/serialization.scm:
> >    371:23  3 (_ "bash")
> >    357:13  2 (dump _)
> >     225:6  1 (write-contents-from-port #<input: gnu/packages/bootst…> …)
> > In unknown file:
> >            0 (sendfile #<input-output: file 10> #<input: gnu/packag…> …)
> >
> > ERROR: In procedure sendfile:
> > In procedure sendfile: Input/output error
>
> Guix internally relies on the sendfile(2) system call to efficiently
> communicate with the build daemon.  Here, it could be that the storage
> device where those files are is dysfunctional, or that the file system
> is corrupt, or that something is wrong with the kernel.
>
> Does “dmesg | tail” show any useful hint when invoked right after the
> error?
>
> Thanks,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1626 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guix pull issue
  2018-09-01 14:52 ` Ludovic Courtès
  2018-09-01 15:41   ` vikram sai balaji ulaganathan
@ 2018-09-04  0:01   ` vikram sai balaji ulaganathan
  2018-09-04  4:25     ` vikram sai balaji ulaganathan
  1 sibling, 1 reply; 6+ messages in thread
From: vikram sai balaji ulaganathan @ 2018-09-04  0:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

Uname shows Linux 4.17.13-gnu #1 SMP 1x86_64

dmesg is not revealing anything. dmesg is not updating for this operation
Is there another command that needs to be run or do I have restart guix
daemon.

Thanks
Vikram

On Sat, Sep 1, 2018, 10:57 AM Ludovic Courtès <ludo@gnu.org> wrote:

> Hello,
>
> vikram sai balaji ulaganathan <tayirvadai.vikram@gmail.com> skribis:
>
> > For a few weeks now, I have been trying to get guix pull to update
> > everything but get the below error. Guix is at .15.0
>
> What does “uname -srvm” return on this machine?
>
> > In guix/serialization.scm:
> >    371:23  3 (_ "bash")
> >    357:13  2 (dump _)
> >     225:6  1 (write-contents-from-port #<input: gnu/packages/bootst…> …)
> > In unknown file:
> >            0 (sendfile #<input-output: file 10> #<input: gnu/packag…> …)
> >
> > ERROR: In procedure sendfile:
> > In procedure sendfile: Input/output error
>
> Guix internally relies on the sendfile(2) system call to efficiently
> communicate with the build daemon.  Here, it could be that the storage
> device where those files are is dysfunctional, or that the file system
> is corrupt, or that something is wrong with the kernel.
>
> Does “dmesg | tail” show any useful hint when invoked right after the
> error?
>
> Thanks,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1926 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guix pull issue
  2018-09-04  0:01   ` vikram sai balaji ulaganathan
@ 2018-09-04  4:25     ` vikram sai balaji ulaganathan
  2018-09-04  8:21       ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: vikram sai balaji ulaganathan @ 2018-09-04  4:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 5266 bytes --]

Turned verbosity of daemon to 5 and I got the below

downgrading to read lock on `/var/guix/temproots/1572'
locking path
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv'
lock acquired on
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv.lock'
recursively deleting path
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv'
|   /gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv' has
hash
`d9ddde832ca6671a86815f293a4d175cf8abad16146670c6d8030bf1edcd5e85'
linking
‘/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv’ to
‘/gnu/store/.links/11ayrpnz22q3v3370rhl2snspy2w2x6klaazh631lrx65j1xxpfr’
lock released on
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv.lock'
Backtrace:
          19 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1205:22 18 (thunk)
  1138:25 17 (bag->derivation #<build-daemon 256.97 1826f50> #<<bag…> …)
In srfi/srfi-1.scm:
   592:29 16 (map1 (("source" #<origin "mirror://gnu/guile/guil…>) …))
   592:17 15 (map1 (("pkgconfig" #<package pkg-config@0.29.2 gn…>) …))
In guix/packages.scm:
   926:16 14 (expand-input #<build-daemon 256.97 1826f50> #<package…> …)
   881:14 13 (cache! #<weak-table 255/443> #<package pkg-config@0.2…> …)
In unknown file:
          12 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1205:22 11 (thunk)
  1138:25 10 (bag->derivation #<build-daemon 256.97 1826f50> #<<bag…> …)
In srfi/srfi-1.scm:
   592:29  9 (map1 (("source" #<origin ("http://fossies.org/lin…>) …))
   592:29  8 (map1 (("tar" #<package tar@1.30 gnu/packages/boot…>) …))
   592:29  7 (map1 (("gzip" #<package gzip@1.9 gnu/packages/boo…>) …))
   592:17  6 (map1 (("bzip2" #<package bzip2@1.0.6 gnu/packages…>) …))
In guix/packages.scm:
   926:16  5 (expand-input #<build-daemon 256.97 1826f50> #<package…> …)
   881:14  4 (cache! #<weak-table 255/443> #<package bzip2@1.0.6 gn…> …)
In unknown file:
           3 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1205:22  2 (thunk)
  1138:25  1 (bag->derivation #<build-daemon 256.97 1826f50> #<<bag…> …)
In srfi/srfi-1.scm:
   592:17  0 (map1 (("source" #<origin "https://web.archive.org…>) …))

srfi/srfi-1.scm:592:17: In procedure map1:
Throw to key `srfi-34' with args `(#<condition &nix-protocol-error
[message: "error parsing derivation
`/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv':
expected string `Derive(['"
status: 1] 7e7f300>)'.
Backtrace:
           9 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
  1579:12  8 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  7 (catch _ _ #<procedure 7f0f8aa7e9b8 at guix/ui.scm:611…> …)
    829:9  6 (catch _ _ #<procedure 7f0f8aa7e9d0 at guix/ui.scm:729…> …)
    829:9  5 (catch _ _ #<procedure 7f0f876e73d0 at guix/scripts/pu…> …)
In guix/scripts/pull.scm:
   505:22  4 (_)
In guix/store.scm:
  1555:24  3 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/pull.scm:
    264:2  2 (_ _)
In ice-9/eval.scm:
   191:27  1 (_ #(#(#<directory (build-self) 4a8c640> #<procedu…>) …))
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("invalid build re…" …) …)

ERROR: In procedure scm-error:
invalid build result (#<derivation
/gnu/store/c8sw72swmyhy0b25hgbz3b3pjvv73vd6-compute-guix-derivation.drv =>
/gnu/store/5ijqxijd3qgrfwgzncx9jcq9ivqlgkgm-compute-guix-derivation
49b5690> "")

Thanks. Any help would be appreciated.
Vikram

On Mon, Sep 3, 2018, 8:01 PM vikram sai balaji ulaganathan <
tayirvadai.vikram@gmail.com> wrote:

> Uname shows Linux 4.17.13-gnu #1 SMP 1x86_64
>
> dmesg is not revealing anything. dmesg is not updating for this operation
> Is there another command that needs to be run or do I have restart guix
> daemon.
>
> Thanks
> Vikram
>
> On Sat, Sep 1, 2018, 10:57 AM Ludovic Courtès <ludo@gnu.org> wrote:
>
>> Hello,
>>
>> vikram sai balaji ulaganathan <tayirvadai.vikram@gmail.com> skribis:
>>
>> > For a few weeks now, I have been trying to get guix pull to update
>> > everything but get the below error. Guix is at .15.0
>>
>> What does “uname -srvm” return on this machine?
>>
>> > In guix/serialization.scm:
>> >    371:23  3 (_ "bash")
>> >    357:13  2 (dump _)
>> >     225:6  1 (write-contents-from-port #<input: gnu/packages/bootst…> …)
>> > In unknown file:
>> >            0 (sendfile #<input-output: file 10> #<input: gnu/packag…> …)
>> >
>> > ERROR: In procedure sendfile:
>> > In procedure sendfile: Input/output error
>>
>> Guix internally relies on the sendfile(2) system call to efficiently
>> communicate with the build daemon.  Here, it could be that the storage
>> device where those files are is dysfunctional, or that the file system
>> is corrupt, or that something is wrong with the kernel.
>>
>> Does “dmesg | tail” show any useful hint when invoked right after the
>> error?
>>
>> Thanks,
>> Ludo’.
>>
>

[-- Attachment #2: Type: text/html, Size: 7181 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Guix pull issue
  2018-09-04  4:25     ` vikram sai balaji ulaganathan
@ 2018-09-04  8:21       ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2018-09-04  8:21 UTC (permalink / raw)
  To: vikram sai balaji ulaganathan; +Cc: help-guix

Hi,

vikram sai balaji ulaganathan <tayirvadai.vikram@gmail.com> writes:

> srfi/srfi-1.scm:592:17: In procedure map1:
> Throw to key `srfi-34' with args `(#<condition &nix-protocol-error
> [message: "error parsing derivation
> `/gnu/store/bp0hyahbn3f60b954rfcz0vqlmc7lhzj-bzip2-1.0.6.tar.gz.drv':
> expected string `Derive(['"

What are the contents of this derivation file?

Mine looks like this:

--8<---------------cut here---------------start------------->8---
Derive([("out","/gnu/store/bjpalrv9f49d2k40p7ga0y6dwdys9w5j-bzip2-1.0.6.tar.gz","sha256","a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd")],[],["/gnu/store/45895gr0x2ajy61y7v18jikwgsv8arh7-mirrors","/gnu/store/wvbspgpk15aq6kcf2f67xjai1fbkbyqc-content-addressed-mirrors"],"x86_64-linux","builtin:download",[],[("content-addressed-mirrors","/gnu/store/wvbspgpk15aq6kcf2f67xjai1fbkbyqc-content-addressed-mirrors"),("impureEnvVars","http_proxy https_proxy LC_ALL LC_MESSAGES LANG COLUMNS"),("mirrors","/gnu/store/45895gr0x2ajy61y7v18jikwgsv8arh7-mirrors"),("out","/gnu/store/bjpalrv9f49d2k40p7ga0y6dwdys9w5j-bzip2-1.0.6.tar.gz"),("preferLocalBuild","1"),("url","\"https://web.archive.org/web/20180624184806/http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz\"")])
--8<---------------cut here---------------end--------------->8---

Could it be that it is an empty file?  If that the case your file system
may be corrupt.

--
Ricardo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-04  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-30  5:11 Guix pull issue vikram sai balaji ulaganathan
2018-09-01 14:52 ` Ludovic Courtès
2018-09-01 15:41   ` vikram sai balaji ulaganathan
2018-09-04  0:01   ` vikram sai balaji ulaganathan
2018-09-04  4:25     ` vikram sai balaji ulaganathan
2018-09-04  8:21       ` Ricardo Wurmus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).