GNU bug report logs - #40522
‘guile3.0-guix’ sometimes fails to build on i686 (“Too many heap sections”)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Thu, 9 Apr 2020 12:05:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 40522 <at> debbugs.gnu.org:


Received: (at 40522) by debbugs.gnu.org; 9 Apr 2020 15:33:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 09 11:33:13 2020
Received: from localhost ([127.0.0.1]:54351 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jMZB3-00046V-I5
	for submit <at> debbugs.gnu.org; Thu, 09 Apr 2020 11:33:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35867)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jMZB1-00046H-BP
 for 40522 <at> debbugs.gnu.org; Thu, 09 Apr 2020 11:33:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48890)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jMZAu-0005w4-Qg; Thu, 09 Apr 2020 11:33:05 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42566 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jMZAt-00080C-TW; Thu, 09 Apr 2020 11:33:04 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#40522: =?utf-8?Q?=E2=80=98guile3=2E0-guix=E2=80=99?=
 sometimes fails to build on i686 =?utf-8?Q?=28=E2=80=9CToo?= many heap
 =?utf-8?Q?sections=E2=80=9D=29?=
References: <877dyo50ht.fsf@HIDDEN> <20200409152928.681fd892@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 21 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 09 Apr 2020 17:33:02 +0200
In-Reply-To: <20200409152928.681fd892@HIDDEN> (Danny Milosavljevic's
 message of "Thu, 9 Apr 2020 15:29:28 +0200")
Message-ID: <87v9m81xox.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 40522
Cc: 40522 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi,

Danny Milosavljevic <dannym@HIDDEN> skribis:

> https://github.com/Macaulay2/M2/issues/500 says there it's the Boehm GC b=
eing
> configured for small memory by default.

Hmm, weird.  =E2=80=98core-updates=E2=80=99 is on libgc 8.x (instead of 7.x=
), so we=E2=80=99ll
have to check if the same happens.

> They say setting the environment variable GC_INITIAL_HEAP_SIZE (to
> like "50G") helps.  Not sure why.
>
> Also, there's an environment variable GC_MAXIMUM_HEAP_SIZE.

Looks like an ugly workaround, at best.  :-)

Thanks for checking!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#40522; Package guix. Full text available.

Message received at 40522 <at> debbugs.gnu.org:


Received: (at 40522) by debbugs.gnu.org; 9 Apr 2020 13:29:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 09 09:29:34 2020
Received: from localhost ([127.0.0.1]:53365 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jMXFO-0000nk-D0
	for submit <at> debbugs.gnu.org; Thu, 09 Apr 2020 09:29:34 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:50254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1jMXFM-0000nc-Lu
 for 40522 <at> debbugs.gnu.org; Thu, 09 Apr 2020 09:29:33 -0400
Received: from localhost (unknown [185.128.244.187])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 004CD3362BFC;
 Thu,  9 Apr 2020 15:29:30 +0200 (CEST)
Date: Thu, 9 Apr 2020 15:29:28 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: bug#40522: =?utf-8?Q?=E2=80=98guile3.0-guix=E2=80=99?=
 sometimes fails to build on i686 =?utf-8?Q?(=E2=80=9CToo?= many heap
 =?utf-8?Q?sections=E2=80=9D)?=
Message-ID: <20200409152928.681fd892@HIDDEN>
In-Reply-To: <877dyo50ht.fsf@HIDDEN>
References: <877dyo50ht.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/5ehr1EinlNtdCE2y.wZ=cWS";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 40522
Cc: 40522 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--Sig_/5ehr1EinlNtdCE2y.wZ=cWS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

https://github.com/Macaulay2/M2/issues/500 says there it's the Boehm GC bei=
ng
configured for small memory by default.

They say setting the environment variable GC_INITIAL_HEAP_SIZE (to
like "50G") helps.  Not sure why.

Also, there's an environment variable GC_MAXIMUM_HEAP_SIZE.

--Sig_/5ehr1EinlNtdCE2y.wZ=cWS
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6PIzgACgkQ5xo1VCww
uqWcZgf+McTFyZYI+6r3hyuJir4Nj5AHGznNbTB7ONeQ6mDbHdY+Ly6x7O36rjlx
kjJscOOjP008SaiGYlYpk0OYIWBAaqm5wKqdR7xL38MIoqoK5j1lUZSL4gi+xmER
fVV+U3teQVlhfRRsbgueWPtQ9d5NaVFlw92K639vC7RdU3yIeiMq0vCdTjuGg5GN
Sj3fumBvCOKNXupY1ugTd5u8q+soFSPxcoQNQKi4UUT2ftK4/pBfv24PIMM9cyEK
5ZptcEMiJM7muEEIn9YDYcWjZx1ZzSC3yhS15O3et9rz9zhtaiIJW3G9hEH+iWxa
gvJ5iB8OzPwUKN/DsqjKeAQKNY9j1A==
=OjyL
-----END PGP SIGNATURE-----

--Sig_/5ehr1EinlNtdCE2y.wZ=cWS--




Information forwarded to bug-guix@HIDDEN:
bug#40522; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Apr 2020 12:04:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 09 08:04:20 2020
Received: from localhost ([127.0.0.1]:53335 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jMVut-000592-Pu
	for submit <at> debbugs.gnu.org; Thu, 09 Apr 2020 08:04:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:54311)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jMVus-00058u-5c
 for submit <at> debbugs.gnu.org; Thu, 09 Apr 2020 08:04:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48067)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1jMVur-00076R-56
 for bug-guix@HIDDEN; Thu, 09 Apr 2020 08:04:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44682)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jMVur-0008Iw-1k
 for bug-guix@HIDDEN; Thu, 09 Apr 2020 08:04:17 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37584 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1jMVuq-0002S3-Im
 for bug-guix@HIDDEN; Thu, 09 Apr 2020 08:04:16 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guile3=2E0-guix=E2=80=99?= sometimes fails to
 build on i686 =?utf-8?Q?=28=E2=80=9CToo?= many heap =?utf-8?Q?sections?=
 =?utf-8?Q?=E2=80=9D=29?=
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 21 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 09 Apr 2020 14:04:14 +0200
Message-ID: <877dyo50ht.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

=E2=80=98guile3.0-guix=E2=80=99 occasionally fails to build on i686-linux:

--8<---------------cut here---------------start------------->8---
[ 94%] GUILEC   gnu/services/cuirass.go
[ 94%] GUILEC   gnu/services/cups.go
GC Warning: Failed to expand heap by 8388608 bytes
GC Warning: Failed to expand heap by 8388608 bytes

[...]

GC Warning: Failed to expand heap by 8388608 bytes
GC Warning: Failed to expand heap by 8388608 bytes
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
/gnu/store/7ffcr3knh5jrj3lig4qf4fv0iws51l14-bash-minimal-5.0.7/bin/bash: li=
ne 7: 28331 Aborted                 XDG_CACHE_HOME=3D/nowhere host=3Di686-u=
nknown-linux-gnu srcdir=3D"." ./pre-inst-env /gnu/store/znlp9v4z0pda450bbsf=
qzppqj2m61sz9-guile-next-3.0.2/bin/guile -L "." -L "." --no-auto-compile -s=
 "."/build-aux/compile-all.scm [=E2=80=A6]
--8<---------------cut here---------------end--------------->8---

(From
<https://berlin.guixsd.org/log/czsdfjykhlc4ngjdva17i4rglpnh86fl-guile3.0-gu=
ix-1.0.1-15.0984481>.)

<https://berlin.guixsd.org/search?query=3Dguile3.0-guix+system%3Ai686-linux>
suggests it happens only occasionally.  I suspect it=E2=80=99s more likely =
when
doing =E2=80=98-j 96=E2=80=99 than when doing =E2=80=98-j 4=E2=80=99 becaus=
e the former requires more
memory.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#40522; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 11 Apr 2020 14:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.