Subject: Re: bug#65495: Error from compute-guix-derivation

From: Simon Tournier <[email-masked]>
Date: Tue, 05 Sep 2023 17:01:46 +0200

Hi,

Thanks for your report.

On Thu, 24 Aug 2023 at 12:52, Richard Lawrence <[email-masked]> wrote:

> I ran "guix pull" for the first time in a while this morning and got the
> following error, which guix asked me to report here:
>
> ./guix/store.scm:1417:15: In procedure loop:
> ERROR:
>   1. &store-protocol-error:
>       message: "build of `/gnu/store/wfck89415b22gqq25fi0mypgrw8vw1c8-ghostscript-9.56.1.drv' failed"
>       status: 1
> guix pull: error: You found a bug: the program '/gnu/store/2h6lpkk5030gcaavxpa54lgss0n5g0vz-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "39fa1ef033fda82cb1d122e0d1675b51acb1db34"; system: "x86_64-linux";
> host version: "a79950af1568c262a79fc0cdfd391b7328c058cf"; pull-version: 1).
>
> Complete output below. For what it's worth, I suspect this is related to
> the disk running out of space during the build. After guix errored out,
> df reports that my root partition is 100% full.

Maybe you could run “guix gc” for collecting some free space.

Well,

    guix time-machine --commit=a79950af1568c262a79fc0cdfd391b7328c058cf \
      -- time-machine --commit=39fa1ef033fda82cb1d122e0d1675b51acb1db34 \
      -- describe

runs for me.  Maybe we could detect if enough free space is around
before launching the heavy computations and/or download.

Cheers,
simon