Subject: Re: bug#63852: ‘guix-package-cache.drv’ eats all your memory with‘guix-cran’

From: Ludovic Courtès <[email-masked]>
Date: Mon, 05 Jun 2023 23:58:02 +0200

Ludovic Courtès <[email-masked]> skribis:

> Ludovic Courtès <[email-masked]> skribis:
>
>> Ludovic Courtès <[email-masked]> skribis:
>>
>>> It goes OK until building /gnu/store/6rfaqfq693vda59a55asc4wjjg52ilns-guix-package-cache.drv, which
>>> consumes memory until it gets OOM-killed.
>>
>> The culprit is easily found (here on just the 22K packages of ‘guix’, so
>> less than half of what you get with ‘guix-cran’):
>
> (Beware of “easily” when the guy doesn’t know what he’s talking about.)
>
> Turns out the problem is more pedestrian: ‘r-future-tests’ depends on
> itself.

Here’s a patch to prevent that from happening again:

  https://issues.guix.gnu.org/63917

(We also need to fix the importer.)

Ludo’.