Subject: Re: bug#47428: Problems building the up-to-date "devel" manual for the website

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 07 Jul 2021 14:52:33 -0400

Leo Famulari <[email-masked]> writes:

> On Fri, Apr 02, 2021 at 11:33:57AM +0200, Mathieu Othacehe wrote:
>> 
>> > ). Please consider running po4a-updatepo to refresh it.
>> > Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
>> > ). Please consider running po4a-updatepo to refresh it.
>> > mmap(PROT_NONE) failed
>> > builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)
>> 
>> I worked around it by building this derivation on one core. Looks like
>> the cookbook, website, manual and devel manual are now building fine.
>> 
>> Closing this one,
>
> Awesome, thanks for your work!

I've pushed this with commit af2d6ec092 to master:

modified   guix/self.scm
@@ -410,7 +410,10 @@ a list of extra files, such as '(\"contributing\")."
             ;; Limit thread creation by 'n-par-for-each'.  Going beyond can
             ;; lead libgc 8.0.4 to abort with:
             ;; mmap(PROT_NONE) failed
-            (min (parallel-job-count) 4))
+            ;;
+            ;; FIXME: The above error would still happen when using only 4
+            ;; build jobs, so disable parallelism entirely for the time being.
+            (min (parallel-job-count) 1))
 
           (mkdir #$output)
           (copy-recursively #$documentation "."

To guard about the occasional failures we were still hitting building
the latest manuals for the website.

It won't become effective until the 'guix' used by the berlin gets
updated though.

Closing,

Maxim