Subject: bug#59072: guix pull bug report

From: 范啟能 <[email-masked]>
Date: Sun, 6 Nov 2022 12:30:38 +0800

Hi,I found a bug during "guix pull", hope it will be useful.

> $ guix pull
>
> Updating channel 'guix' from Git repository at '
>> https://mirror.sjtu.edu.cn/git/guix.git'...
>
> Authenticating channel 'guix', commits 9edb3f6 to a6c90c2 (4,476 new
>> commits)...
>
> guix pull: warning: pulled channel 'guix' from a mirror of
>> https://git.savannah.gnu.org/git/guix.git, which might be stale
>
> Updating channel 'flat' from Git repository at '
>> https://github.com/flatwhatson/guix-channel.git'...
>
> Updating channel 'nonguix' from Git repository at '
>> https://gitlab.com/nonguix/nonguix'...
>
> Authenticating channel 'nonguix', commits 897c1a4 to cbc4c65 (121 new
>> commits)...
>
> Updating channel 'guix-gaming-games' from Git repository at '
>> https://gitlab.com/guix-gaming-channels/games.git'...
>
> Authenticating channel 'guix-gaming-games', commits c23d64f to 6817cb7 (9
>> new commits)...
>
> Building from these channels:
>
>   guix-gaming-gameshttps://gitlab.com/guix-gaming-channels/games.git
>> 6817cb7
>
>   nonguix   https://gitlab.com/nonguix/nonguix cbc4c65
>
>   flat      https://github.com/flatwhatson/guix-channel.git e57424b
>
>   guix      https://mirror.sjtu.edu.cn/git/guix.git a6c90c2
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> guix substitute: warning: while fetching
>> https://mirror.sjtu.edu.cn/guix/nar/gzip/gxj1a7n7a3s8xbyqvk8ax3pa651p59dc-config.scm:
>> server is somewhat slow
>
> guix substitute: warning: try `--no-substitutes' if the problem persists
>
>  config.scm  501B
>>
>> 29KiB/s 00:00 [##################] 100.0%
>
> guix substitute: warning: while fetching
>> https://mirror.sjtu.edu.cn/guix/nar/gzip/7d62nbghky2xpyis0sc6mcr8y415ksmc-git.scm:
>> server is somewhat slow
>
> guix substitute: warning: try `--no-substitutes' if the problem persists
>
>  git.scm  101B
>>
>> 182KiB/s 00:00 [##################] 100.0%
>
>  hash.scm  130B
>>
>> 38KiB/s 00:00 [##################] 100.0%
>
>  module-import  2KiB
>>
>> 442KiB/s 00:00 [##################] 100.0%
>
>  module-import  2KiB
>>
>> 472KiB/s 00:00 [##################] 100.0%
>
>  module-import-compiled  1.2MiB
>>
>>  295KiB/s 00:04 [##################] 100.0%
>
>  module-import-compiled  1.2MiB
>>
>>  798KiB/s 00:02 [##################] 100.0%
>
> building
>> /gnu/store/gmccj3nkwd0maajs88p3n49x6xdw93sr-compute-guix-derivation.drv...
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
>  curl-7.84.0-doc  667KiB
>>
>> 1.4MiB/s 00:00 [##################] 100.0%
>
>  guile-gnutls-3.7.9  98KiB
>>
>> 278.8MiB/s 00:00 [##################] 100.0%
>
>  nghttp2-1.44.0-lib  86KiB
>>
>> 207.2MiB/s 00:00 [##################] 100.0%
>
>  openssl-1.1.1l  1.6MiB
>>
>>  729KiB/s 00:02 [##################] 100.0%
>
>  mit-krb5-1.19.2  1.0MiB
>>
>> 429KiB/s 00:02 [##################] 100.0%
>
>  curl-7.84.0  389KiB
>>
>> 134KiB/s 00:03 [##################] 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> -substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...
>> 100.0%
>
> -Backtrace:
>
>           18 (primitive-load
>> "/gnu/store/izm5wcncfddbm2a7a05jj50jn43wrfnp-compute-guix-derivation")
>
> In ice-9/eval.scm:
>
>     155:9 17 (_ _)
>
>     159:9 16 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?)
>> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
>
> In ice-9/boot-9.scm:
>
>     152:2 15 (with-fluid* _ _ _)
>
>     152:2 14 (with-fluid* _ _ _)
>
> In ./guix/store.scm:
>
>   2170:24 13 (run-with-store #<store-connection 256.99 7f0e35469140>
>> #<procedure 7f0e1e4da050 at ./guix/self.scm:12?> ?)
>
>    1998:8 12 (_ #<store-connection 256.99 7f0e35469140>)
>
> In ./guix/gexp.scm:
>
>    299:22 11 (_ #<store-connection 256.99 7f0e35469140>)
>
>    1180:2 10 (_ #<store-connection 256.99 7f0e1cd088c0>)
>
>    1046:2  9 (_ #<store-connection 256.99 7f0e1cd088c0>)
>
>     892:4  8 (_ #<store-connection 256.99 7f0e1cd088c0>)
>
> In ./guix/store.scm:
>
>   2055:12  7 (_ #<store-connection 256.99 7f0e1cd088c0>)
>
>   1407:13  6 (map/accumulate-builds #<store-connection 256.99
>> 7f0e1cd088c0> #<procedure 7f0e29febd80 at ./guix/stor?> ?)
>
>    1403:5  5 (map/accumulate-builds #<store-connection 256.99
>> 7f0e1cd088c0> #<procedure 7f0e1a24b1e0 at ./guix/stor?> ?)
>
>   1419:15  4 (_ #<store-connection 256.99 7f0e1cd088c0>
>> ("/gnu/store/j48v18vdw9zmgp2grdk5xdkylh8zzy2l-guile-ssh-?" ?) ?)
>
>   1419:15  3 (loop #f)
>
>    713:11  2 (process-stderr #<store-connection 256.99 7f0e1cd088c0> _)
>
> 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/izm5wcncfddbm2a7a05jj50jn43wrfnp-compute-guix-derivation'
>
> failed to compute the derivation for Guix (version:
>> "a6c90c293d5b0c77d3e1e967546fe0aadc53a102"; system: "x86_64-linux";
>
> host version: "92769ab2828b53ce41200e8beb8789a12863ee53"; pull-version: 1).
>
> Please report the COMPLETE output above by email to <[email-masked]>.
>
>
>
-- 
Best regards,
范啟能 Kenny Fan
Software Engineering 2014
School of Data and Computer Science
Sun Yat-Sen University