From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#37482: Guix fails to build libreoffice Date: Sun, 22 Sep 2019 12:28:45 -0600 Message-ID: References: <20190922185206.3ed64af4@interia.pl> <8736gorzqn.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38682) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iC6bX-0007DS-DP for bug-guix@gnu.org; Sun, 22 Sep 2019 14:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iC6bW-0006Lz-Ad for bug-guix@gnu.org; Sun, 22 Sep 2019 14:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iC6bW-0006Lp-6k for bug-guix@gnu.org; Sun, 22 Sep 2019 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iC6bW-00026N-1M for bug-guix@gnu.org; Sun, 22 Sep 2019 14:29:02 -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 , 37482@debbugs.gnu.org, Jan Wielkiewicz On Sun, 2019-09-22 at 19:45 +0200, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Jan, > > Thanks for the report, and sorry you had to learn this the hard > way. > > Jan Wielkiewicz 写道: > > I've recently tried to reconfigure my system, but after about 3 > > hours > > of building libreoffice, the system froze for 2 hours and then > > guix > > threw: > > […] > > > g++: internal compiler error: Killed (program cc1plus) > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See for instructions. > > This message and the freezing above is a tell-tale sign of OOM > (out-of-memory). If you check your dmesg or /var/log/messages at > that time, I'm almost certain you'll see the OOM killer plot its > dastardly deeds. > > > My system is an old ThinkPad with 2GB of RAM and Intel Centrino > > Duo > > processor, but I'm unsure if this was the cause of the build > > failing. > > You may be sure. > > 2 GiB of RAM is simply not enough to build many packages these > days. That's the world we live in. There's nothing Guix can do > to change that. > > You can restrict the number of parallel builds and jobs by > respectively passing --max-jobs=1 and --cores=1 to the daemon. > You can make this permanent by setting (extra-options …) in your > system configuration. > > Even then, some complex executables will simply fail to link with > so little RAM. You can get around too little RAM by using swap, correct? Partition ~8GB as swap and add (swap-devices) in the configuration.