Subject: Re: bug#49862: While downloading substitutes: Wrong type argument in position 1 (expecting struct): #f

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 31 Aug 2021 11:44:14 -0400

Hi,

Maxim Cournoyer <[email-masked]> writes:

[...]

> substituting /gnu/store/yqvsc5brbzpk1m7zr8bnyr66kz9q625a-nasm-2.15.05.tar.xz...
> substituting /gnu/store/4fliaxdz084ijlzb6d98sgg76dmz9xp6-net-tools-1.60-0.479bb4a.zip...
> substituting /gnu/store/js6wj0pmd4lqnnkys7f9az4gcm8szfmi-nettle-3.7.3.tar.gz...
> substituting /gnu/store/lz5qmr8bv3wwmja3vw59yjydiy66ni3a-nghttp2-1.44.0.tar.xz...
> process 30234 acquired build slot '/var/guix/offload/127.0.0.1:6666/1'
> normalized load on machine '127.0.0.1' is 0.17
> building /gnu/store/9xadqmcq1z02x93k7c5xpwbwd4a7f1rk-apr-1.6.5.drv...
> eckout 50269 50269
> Backtrace:
>           19 (apply-smob/0 #<thunk 7fd0dfaedf60>)
> In ice-9/boot-9.scm:
>     724:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
> In ice-9/eval.scm:
>     619:8 17 (_ #(#(#<directory (guile-user) 7fd0dfae7c80>)))
> In guix/ui.scm:
>    2185:7 16 (run-guix . _)
>   2148:10 15 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>   1752:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In guix/status.scm:
>     800:4 13 (call-with-status-report _ _)
> In ice-9/boot-9.scm:
>   1752:10 12 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In guix/store.scm:
>    658:37 11 (thunk)
>    1320:8 10 (call-with-build-handler _ _)
>    1320:8  9 (call-with-build-handler #<procedure 7fd0dd3fdfc0 at guix/ui.scm:1155:2 (continue store …> …)
> In guix/scripts/build.scm:
>    699:26  8 (_)
> In guix/store.scm:
>   1388:15  7 (_ #<store-connection 256.99 7fd0dfa699b0> _ _)
>    759:13  6 (process-stderr _ _)
> In unknown file:
>            5 (display "eckout 50269 50269\n@ download-succeeded /gnu/store/1i7b2hrywrp90w5dd9nq6dw788…" …)
> In guix/status.scm:
>    723:16  4 (write! _ _ _)
>    636:15  3 (_ (download-succeeded "/gnu/store/1i7b2hrywrp90w5dd9nq6dw7888wzqkq-mallard-ducktype-…" …) …)
>    272:33  2 (compute-status _ #<<build-status> building: (#<<build> derivation: "/gnu/store/9xadqmcq…> …)
> In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure struct-vtable: Wrong type argument in position 1 (expecting
> struct): #f

Here's a slightly different backtrace of the same problem:

--8<---------------cut here---------------start------------->8---
substitution of /gnu/store/z080ssymr51skixc96aq60rasbjjgjdl-jmtpfs-0.5 complete
substitution of /gnu/store/z5rnmph0r1dpdnml4hx5qr1jj3qqvibm-libchamplain-0.12.16 complete
process 32168 acquired build slot '/var/guix/offload/127.0.0.1:6666/3'
normalized load on machine '127.0.0.1' is 1.00
process 32168 acquired build slot '/var/guix/offload/127.0.0.1:6666/4'
normalized load on machine '127.0.0.1' is 1.00
process 32168 acquired build slot '/var/guix/offload/127.0.0.1:6666/4'
normalized load on machine '127.0.0.1' is 1.00
process 32168 acquired build slot '/var/guix/offload/127.0.0.1:6666/3'
normalized load on machine '127.0.0.1' is 1.00
g/nar/lzip/y21d8a1yk64fc2b7n7ckq83j6hdc75gb-gimp-2.10.24 20010204 15860036

-78.13.0-guix0-preview1 53984758 4063328
 icecat-78.13.0-guix0-preview1  51.5MiB                                                                   Backtrace:
In guix/ui.scm:
  2148:10 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/status.scm:
    820:3 17 (_)
    800:4 16 (call-with-status-report _ _)
In guix/store.scm:
   1320:8 15 (call-with-build-handler _ _)
   1320:8 14 (call-with-build-handler #<procedure 7f3d053078d0 at guix/ui.scm:1155:2 (continue store thing
In guix/build/syscalls.scm:
   1374:3 13 (_)
   1341:4 12 (call-with-file-lock/no-wait _ _ _)
In guix/scripts/package.scm:
   148:19 11 (build-and-use-profile #<store-connection 256.99 7f3d065d0050> "/var/guix/profiles/per-user/m
In guix/store.scm:
  2108:24 10 (run-with-store #<store-connection 256.99 7f3d065d0050> _ #:guile-for-build _ #:system _ #:ta
In guix/profiles.scm:
   1803:2  9 (_ _)
In guix/store.scm:
  1993:12  8 (_ #<store-connection 256.99 7f3d065d0050>)
   1395:5  7 (map/accumulate-builds #<store-connection 256.99 7f3d065d0050> _ _)
  1406:15  6 (_ #<store-connection 256.99 7f3d065d0050> _ _)
   759:13  5 (process-stderr _ _)
In unknown file:
           4 (display "@ substituter-succeeded /gnu/store/y21d8a1yk64fc2b7n7ckq83j6hdc75gb-gimp-2.10.24\n"
In guix/status.scm:
   723:16  3 (write! _ _ _)
    637:6  2 (_ (download-progress "/gnu/store/xj6m19yvs7b54lgafy5b3r10gk6c3k8f-icecat-78.13.0-guix0-previ
In guix/progress.scm:
   223:17  1 (display-download-progress "nar@" _ #:tty? _ #:start-time _ #:transferred _ #:log-port _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure =: Wrong type argument in position 1: #f
--8<---------------cut here---------------end--------------->8---