From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Subject: bug#37482: Guix fails to build libreoffice Date: Mon, 23 Sep 2019 02:45:35 +0200 Message-ID: <20190923024535.39385299@kompiuter> References: <20190922185206.3ed64af4@interia.pl> <8736gorzqn.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53091) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCCUN-00074F-E1 for bug-guix@gnu.org; Sun, 22 Sep 2019 20:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCCUM-0005H2-BW for bug-guix@gnu.org; Sun, 22 Sep 2019 20:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCCUL-0005Gl-Tt for bug-guix@gnu.org; Sun, 22 Sep 2019 20:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCCUL-0003VQ-PD for bug-guix@gnu.org; Sun, 22 Sep 2019 20:46:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8736gorzqn.fsf@nckx> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 37482@debbugs.gnu.org On Sun, 22 Sep 2019 19:45:52 +0200 Tobias Geerinckx-Rice wrote: > 2 GiB of RAM is simply not enough to build many packages these=20 > days. That's the world we live in. There's nothing Guix can do=20 > to change that. Sad, guess I have to buy more RAM. > You can restrict the number of parallel builds and jobs by=20 > respectively passing --max-jobs=3D1 and --cores=3D1 to the daemon.=20 > You can make this permanent by setting (extra-options =E2=80=A6) in your= =20 > system configuration. Cool, didn't know about this option. > Even then, some complex executables will simply fail to link with=20 > so little RAM. >=20 > Your issue is different: the exact same libreoffice might have=20 > built fine if you had 4 GiB of RAM, or 3, or 5, or 2 with swap,=20 > but only if your weren't also running any (Guix or other) builds=20 > at the time, or watching a movie, or had the room thermostat=20 > turned up, or use Gnome 3, all beneath a gibbous moon. All these=20 > things, and many more, will cause builds to fail or succeed=20 > =E2=80=98randomly=E2=80=99. I actually have a 10GB sized swap file created on an SSD and defined in the config.scm, but it didn't help. I'm also using Mate, but I can try without any DE. The only two things running in the background were Mate, mate terminal, Guix and %desktop-services. > I personally think the annoyances of =E2=80=98helpful=E2=80=99 warnings=20 > (=3Dextremely inaccurate guesses) would far outweigh any purported=20 > benefit. >=20 > Kind regards, >=20 > T G-R Is there a way to skip building libreoffice, if the substitute isn't available? >Or just how quickly it can destroy an SSD. Even more fun... Waiting for a powerful libre computer from from the ground, because running on old ThinkPads forever isn't the right solution. Thanks for explanations and help, Jan Wielkiewicz