Subject: bug#56836: guix pull: error: You found a bug: the program...

From: Maxime Devos <[email-masked]>
Date: Sat, 30 Jul 2022 13:10:58 +0200

block 56836 with 50238
thanks

On 30-07-2022 02:52, DDC via Bug reports for GNU Guix wrote:
> guix pull
> Updating channel 'guix' from Git repository at 
> 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to d1c6b8d (142 new 
> commits)...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git    d1c6b8d
> substitute: updating substitutes from 'https://ci.guix.gnu.org'...   
> 0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: No 
> route to host
> substitute:
> substitute: updating substitutes from 
> 'https://bordeaux.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
> substitute: updating substitutes from 
> 'https://bordeaux.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
> substitute: updating substitutes from 
> 'https://bordeaux.guix.gnu.org'... 100.0%
> building /gnu/store/b67kq2d8b9g8rk5z48dg9hrdf1lvchfr-config.scm.drv...
> building /gnu/store/a3njxjzpsh8by0q4v874p3j4lyq9cmd3-git.scm.drv...
> building /gnu/store/myh50qx8qmq2lmgr78aalrpq0y3r8mz4-hash.scm.drv...
> building /gnu/store/7m0gn8s0jsavpws8aq58lq4p6x5drj0g-module-import.drv...
> building /gnu/store/wahp8yav4jbn838bg23d1pr3nng7g4b6-module-import.drv...
> building 
> /gnu/store/6ajx5gvymcmrgx4mjdqynn1rfrxlbn2j-module-import-compiled.drv...
> building 
> /gnu/store/q1gi153kxlf8nlgsyxb1l78z5sjdh2yf-module-import-compiled.drv...
> building 
> /gnu/store/iv4yvnl3h7rbg3ahjgv4b71d1sv0wn4k-compute-guix-derivation.drv...
> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
>           17 (primitive-load 
> "/gnu/store/5xv3aac4lkfvvgyhs65l7a3r809h6iaj-compute-guix-derivation")
> In ice-9/eval.scm:
>     155:9 16 (_ _)
>     159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> 
> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ice-9/boot-9.scm:
>     152:2 14 (with-fluid* _ _ _)
>     152:2 13 (with-fluid* _ _ _)
> In ./guix/store.scm:
>   2168:24 12 (run-with-store #<store-connection 256.99 7fa396c5eaa0> 
> #<procedure 7fa38afd4cd0 at ./guix/self.scm:12?> ?)
>    1996:8 11 (_ #<store-connection 256.99 7fa396c5eaa0>)
> In ./guix/gexp.scm:
>    300:22 10 (_ #<store-connection 256.99 7fa396c5eaa0>)
>    1181:2  9 (_ #<store-connection 256.99 7fa382ca9050>)
>    1047:2  8 (_ #<store-connection 256.99 7fa382ca9050>)
>     893:4  7 (_ #<store-connection 256.99 7fa382ca9050>)
> In ./guix/store.scm:
>   2053:12  6 (_ #<store-connection 256.99 7fa382ca9050>)
>    1401:5  5 (map/accumulate-builds #<store-connection 256.99 
> 7fa382ca9050> #<procedure 7fa38027cc40 at ./guix/stor?> ?)
>   1417:15  4 (_ #<store-connection 256.99 7fa382ca9050> 
> ("/gnu/store/ljaz2ql0pwxdlxi5as32vp7j8vnh9fd6-guile-ssh-?" ?) ?)
Maybe try tab-expanding 
/gnu/store/ljaz2ql0pwxdlxi5as32vp7j8vnh9fd6-guile-ssh- and doing "guix 
build" on the result to get an useful error message.
> 1417:15  3 (loop #f)
>    711:11  2 (process-stderr #<store-connection 256.99 7fa382ca9050> _)
> In ./guix/serialization.scm:
>    102:11  1 (read-int #<input-output: file 10>)
>      80:6  0 (get-bytevector-n* #<input-output: file 10> 8)
>
> ./guix/serialization.scm:80:6: In procedure get-bytevector-n*:
> ERROR:
>   1. &nar-error:
>       file: #f
>       port: #<input-output: file 10>
> guix pull: error: You found a bug: the program 
> '/gnu/store/5xv3aac4lkfvvgyhs65l7a3r809h6iaj-compute-guix-derivation'
> failed to compute the derivation for Guix (version: 
> "d1c6b8db5a30f9e428d018156dadb12927c485f8"; system: "x86_64-linux";
> host version: "212ca81895b2baa819ea11a308ad21880b84a546"; 
> pull-version: 1).
> Please report the COMPLETE output above by email to <[email-masked]>.
>
This backtrace is almost useless, the guile-ssh is rather hidden and 
might not even be the actual issue.  If 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50238 was applied, we 
would probably have more useful information.

Greetings,
Maxime.