GNU bug report logs - #70659
Too many heap sections on guix pull

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: Peacememories <peacememories@HIDDEN>; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.
bug closed, send any further explanations to 70659 <at> debbugs.gnu.org and Peacememories <peacememories@HIDDEN> Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 70659) by debbugs.gnu.org; 30 Apr 2024 09:12:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 05:12:04 2024
Received: from localhost ([127.0.0.1]:59250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1jWt-00065K-VC
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:12:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59506)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1s1jWr-00064q-UI
 for 70659 <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:12:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1s1jWR-0006w1-0c; Tue, 30 Apr 2024 05:11:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=UlEmdiHW8l3uzuEERT8TPbI8FoH48Ohg8eyXBv2FmjQ=; b=KsufreVoa96CWplHr9uB
 aRGS/RPLLnulQ5J/ML/3Z4TXlPrrEL6/bGn1xN9ur8Ozhj/yoTJgzlqcehPkeVx4iVFDBTyUf85OB
 ynfnhFBoMNfeh4tRt4gC7ais2HeH3+36pDJ7rg+/MP3xuEeAMipr/HcnJSqe0djkKxhzj/lLCodCG
 y3PqjxRbClYu0/hRmKdTwmmX7KmWlojqqTsvuna0I5bAwY/hqhAnMdTU+CnKFLiRsER6ZpWpq4FIe
 RGpRNS6zAwGzyZ1baBMvYxZ9FOXDLNt8rvV3PN1tZ7XGuzBokyK8QeJBKQFN5eJvU7/72xUEdKSTH
 JYxMbXzSfEQIFQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Peacememories <peacememories@HIDDEN>
Subject: Re: bug#70659: Too many heap sections on guix pull
In-Reply-To: <15f7f98e-245f-40f0-af6d-66df42a1c5cf@HIDDEN>
 (peacememories@HIDDEN's message of "Mon, 29 Apr 2024 23:36:29
 +0000")
References: <15f7f98e-245f-40f0-af6d-66df42a1c5cf@HIDDEN>
Date: Tue, 30 Apr 2024 11:11:31 +0200
Message-ID: <87ikzzxlj0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70659
Cc: 70659 <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: -3.3 (---)

Hi,

Peacememories <peacememories@HIDDEN> skribis:

> `guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the
> following log.
>
> The same happened to me when trying GUIX on NixOS 23.11 via the
> `services.guix` option.
>
> ```
>
> hint: Consider installing the `glibc-locales' package and defining
> `GUIX_LOCPATH', along these lines:
>
> =C2=A0=C2=A0=C2=A0=C2=A0 guix install glibc-locales
> =C2=A0=C2=A0=C2=A0=C2=A0 export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/l=
ocale"
>
> See the "Application Setup" section in the manual, for more info.
>
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (29,446 new
> commits)...
> Building from this channel:
> =C2=A0 guix=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 https://git.savannah.gnu.org/gi=
t/guix.git=C2=A0=C2=A0 ddf3759

[...]

> -Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
> guix pull: error: You found a bug: the program

Thanks for the report.  As someone confirmed on IRC, this was caused by
7cef6b7ba555a9dfaf6d09cb7e112b0df77d5114, which introduced a circular
dependency, but only for those systems running a version of guix-daemon
lacking =E2=80=9Cbuiltin:git-download=E2=80=9D (added in Sept. 2023).

Commit df3d30819e650a490ef39dd6692740bb13263c75 fixes that; you should
be able to pull now.

I would recommend upgrading guix-daemon though, as noted in:

  https://guix.gnu.org/manual/devel/en/html_node/Upgrading-Guix.html

One of the main reasons to do so is this:

  https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-=
cve-2024-27297/

Thanks for reporting the bug!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#70659; Package guix. Full text available.
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 submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 02:05:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 22:05:17 2024
Received: from localhost ([127.0.0.1]:59023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1crs-0006kr-Bb
	for submit <at> debbugs.gnu.org; Mon, 29 Apr 2024 22:05:16 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37638)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <peacememories@HIDDEN>) id 1s1aYT-00052a-4y
 for submit <at> debbugs.gnu.org; Mon, 29 Apr 2024 19:37:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <peacememories@HIDDEN>)
 id 1s1aY2-0003Bb-NV
 for bug-guix@HIDDEN; Mon, 29 Apr 2024 19:36:39 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <peacememories@HIDDEN>)
 id 1s1aY0-0007vT-4k
 for bug-guix@HIDDEN; Mon, 29 Apr 2024 19:36:38 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id AE3D2240103
 for <bug-guix@HIDDEN>; Tue, 30 Apr 2024 01:36:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1714433791; bh=WogUqbOEMbToOzhtOjdHuKK7+U656K0/yYHPstC9+Tg=;
 h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:
 Content-Transfer-Encoding:From;
 b=gH0CPtZ7JSSAsrMDD8z4U0k7mQIVp7mfc+1Hjy4+6mBQAezxg1DCaFQP4yhGa2LCZ
 rmHGgfSuQ0AdwSxqBoFiXaYlmCPt0KKk1UQdT4lEOEIlEYJGrsNWP9bLUUvr2DNqiz
 nUJRYOYcSODIVAAIfXoUbjddlY+/TXKb1FxRrF4XQ9fSCMP/ro2BXSgBYrzb7y/FSW
 ahHN9CrYEoh8YVSzFIVhdJ3myTQVEbj26swc2jwCskTY7Wvtw6OsOC191XyeK6GPl/
 UILO6TFLZtnMtW4sM/GN9eAdJcBkR2YZbJcw85gd7TmqDj0urYAKTL47OE13B3P3nc
 ehJrjI7wWIohA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VT08b1H86z9rxB
 for <bug-guix@HIDDEN>; Tue, 30 Apr 2024 01:36:30 +0200 (CEST)
Message-ID: <15f7f98e-245f-40f0-af6d-66df42a1c5cf@HIDDEN>
Date: Mon, 29 Apr 2024 23:36:29 +0000
MIME-Version: 1.0
Content-Language: en-US
To: bug-guix@HIDDEN
From: Peacememories <peacememories@HIDDEN>
Subject: Too many heap sections on guix pull
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=185.67.36.66;
 envelope-from=peacememories@HIDDEN; helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 29 Apr 2024 22:05:11 -0400
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: -0.0 (/)

`guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the 
following log.

The same happened to me when trying GUIX on NixOS 23.11 via the 
`services.guix` option.

```

hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:

      guix install glibc-locales
      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (29,446 new 
commits)...
Building from this channel:
   guix      https://git.savannah.gnu.org/git/guix.git   ddf3759
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
  libffi-3.3 51KiB 1.6MiB/s 00:00 [##################] 100.0%
  libgc-8.0.4 214KiB 3.4MiB/s 00:00 [##################] 100.0%
  libunistring-0.9.10 
492KiB                                              10.0MiB/s 00:00 
[##################] 100.0%
  pkg-config-0.29.2 
209KiB                                                16.0MiB/s 00:00 
[##################] 100.0%
  guile-3.0.7 8.0MiB 19.6MiB/s 00:00 [##################] 100.0%
building /gnu/store/al0d6f30wj4f4w68v2gqdkb367v75f4x-config.scm.drv...
building /gnu/store/60h4f5jy7x05bgwjxp41gg5wsypaixn6-git.scm.drv...
building /gnu/store/n5w7gbkyyiav73f9yypafvw2n6z5jq8n-hash.scm.drv...
building /gnu/store/mjcskqgqppfcbbcrzjq8x8p40dvi7lga-module-import.drv...
building /gnu/store/zl24x57fyqvprbj5mswvp18hlvkc9psr-module-import.drv...
building 
/gnu/store/2hzp43qwskbgc7hv89plg1bkybkgn754-module-import-compiled.drv...
building 
/gnu/store/8rsjc2q0070qcf6p82ji3xd9kwcwri1c-module-import-compiled.drv...
building 
/gnu/store/lhdxqiwgiiz2jzvgsww9wn7gpfr9mfwc-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
  bash-static-5.1.16 
700KiB                                               2.69GiB/s 00:00 
[##################] 100.0%
  glibc-2.35 8.5MiB 147.1MiB/s 00:00 [##################] 100.0%
  bash-minimal-5.1.16 
588KiB                                               2.5MiB/s 00:00 
[##################] 100.0%
  gcc-11.3.0-lib 
4.8MiB                                                   15.3MiB/s 00:00 
[##################] 100.0%
  bash-minimal-5.1.16 
589KiB                                              2.03GiB/s 00:00 
[##################] 100.0%
  libffi-3.4.4 60KiB 291.5MiB/s 00:00 [##################] 100.0%
  libgc-8.2.2 218KiB 2.5MiB/s 00:00 [##################] 100.0%
  libunistring-1.0 
661KiB                                                 15.5MiB/s 00:00 
[##################] 100.0%
  pkg-config-0.29.2 
209KiB                                                 878KiB/s 00:00 
[##################] 100.0%
  guile-3.0.9 8.1MiB 38.9MiB/s 00:00 [##################] 100.0%
  guile-3.0.9-debug 
7.8MiB                                                19.4MiB/s 00:00 
[##################] 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
-^-
-Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
guix pull: error: You found a bug: the program 
'/gnu/store/yqlyxi9w9rhlm23mdj8231yfa7m7ywm0-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"ddf3759645ba76ef532658a257ae74fe0b1788b5"; system: "x86_64-linux";
host version: "1.4.0"; pull-version: 1).

```





Acknowledgement sent to Peacememories <peacememories@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70659; 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: Tue, 30 Apr 2024 09:15:02 UTC

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