Ian Eure <i...@retrospec.tv> writes:

> Noticed that I was building an awful lot of stuff on a `guix system
> reconfigure', so I went to look at CI, and, it’s badly broken.  It
> hasn’t successfully evalutated Guix since #2060816[1] on May 28th.
> Since #2061131 on May 29th[2], all evaluations have failed with:
>
>
>    uncaught throw to %exception: (#<&store-protocol-error     message:
>    "reading file
>    `/gnu/store/9kqd85xgbgdng03nia2q12nl05w5b6yi-sbm-0.9.tar.gz.drv':
>    No such file or directory" status: 1>)
>    In thread:
>    uncaught throw to %exception: (#<&store-protocol-error     message:
>    "reading file
>    `/gnu/store/pap6lnxpgis0agz6ah0nixxd8imlb4d8-cursynth-1.5.tar.zst.drv':
>    No such file or directory" status: 1>)
>    In thread:
>    uncaught throw to %exception: (#<&store-protocol-error     message:
>    "reading file
>    
> `/gnu/store/v49q3wrqda0zypvk4xxhy9fbkjh09p94-emacs-circe-2.14-checkout.drv':
>    No such file or directory" status: 1>)
>
> ...consequently, CI hasn’t build packages for six days.

Actually it does build packages (despite being marked as “failed”,
evaluations have a number of associated builds), just not all of them.

Only now did I find the time to investigate.  The guts of it is a
mismatch (corruption?) between the store database and the store on the
store:

--8<---------------cut here---------------start------------->8---
ludo@berlin ~/src/maintenance/hydra$ guix repl
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guix-user)> ,use(guix)
scheme@(guix-user)> (define s (open-connection ))
scheme@(guix-user)> (valid-path? s 
"/gnu/store/h4nbsvr526rrd1ndfw0ly8x0ak4pg2gp-lchat-0.0.0-4.e3b64e6-checkout.drv")
$1 = #t
scheme@(guix-user)> (file-exists? 
"/gnu/store/h4nbsvr526rrd1ndfw0ly8x0ak4pg2gp-lchat-0.0.0-4.e3b64e6-checkout.drv")
$2 = #f
--8<---------------cut here---------------end--------------->8---

I’ll look into repairing it.

Ludo’.

Reply via email to