From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2LonHX11MWZhcwEAqHPOHw:P1 (envelope-from ) for ; Wed, 01 May 2024 00:49:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2LonHX11MWZhcwEAqHPOHw (envelope-from ) for ; Wed, 01 May 2024 00:49:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MOWUFFh3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714517373; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D9jqYdRfC/iAQ7PgOaDZ3jdYmzQiISPY4CTW2uZFUnY=; b=SMaocdsDIlUdqqiElHvioRZW8mGFlpZpo2PELPkTx1A/1BI8UkDyszD0yQU+TyNbRwq0L9 byJKpsjAGyCpfG18xg5CCRKk1dZzIjy/kIBOk2TpuBBowkb6dRPlnJUQpn1ttJlDUuafof P2W4jUvbd5QSkrC8LZCKhReEJFnkL5frhx0FKxFwZWp/dRDyPX8gA2fVRPKZOR27uRuKNj XweiPy9rqYlhDlSBV72tOSLllx78cMi3+dWj7pHJn0dO56UmTQfO1voORG+MGRbt2IRwuU CSa49lOjQxiWLTDKuGahpWnATwp8wT/PJp8CiqI/EpGz3sNo0XI9q4EtVp2lnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MOWUFFh3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714517373; a=rsa-sha256; cv=none; b=UitoSgE+4XZ1pADRogyzdtyfNKPkRgHNtPswu/XPkbCUjLWJK9f7mExkLsXxmp47on36HM 5ecucfb0+yNjumlko4dhUBCzQHpxEpPuwyV9ip5YoBazqkphHQUe9SLEeC6kC5DpH+9r1m Hq2o7kZLGlAKSADQaw3r2X048FqTwvS4Mc4Xhzb+TvwRdC7UcON0G3eUPLyvKa3eMqVlP6 DKqloeL6tLodyZP+voB6S1aboIaIHP5VbNLR0rPJt4O9lDSJPDsGLnOldsR42UX3+L/OSD jJYKzOiyYKY586O/SQZjME2h7ooCJ1Rm4yPOw1U7sczDnWHJ8FqoDfxH27reLQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3691916AD1 for ; Wed, 1 May 2024 00:49:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1wH6-00040z-WF; Tue, 30 Apr 2024 18:48:37 -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 ) id 1s1rNK-0002ji-5x for bug-guix@gnu.org; Tue, 30 Apr 2024 13:34:44 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1rNJ-00081T-SU for bug-guix@gnu.org; Tue, 30 Apr 2024 13:34:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1rNe-0006Sr-HR for bug-guix@gnu.org; Tue, 30 Apr 2024 13:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70659: Too many heap sections on guix pull Resent-From: Peacememories Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Apr 2024 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 70659@debbugs.gnu.org Received: via spool by 70659-submit@debbugs.gnu.org id=B70659.171449849324827 (code B ref 70659); Tue, 30 Apr 2024 17:35:02 +0000 Received: (at 70659) by debbugs.gnu.org; 30 Apr 2024 17:34:53 +0000 Received: from localhost ([127.0.0.1]:60545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1rNT-0006SM-6U for submit@debbugs.gnu.org; Tue, 30 Apr 2024 13:34:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1pVF-0004yK-2t for 70659@debbugs.gnu.org; Tue, 30 Apr 2024 11:34:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 47EB9240106 for <70659@debbugs.gnu.org>; Tue, 30 Apr 2024 17:34:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714491258; bh=kyMHezwKCH5MHhhk+O6XXXnTTWyJtVzS+Cq9aU1Kpn0=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:Message-ID:From; b=MOWUFFh3KzGcy8ftuFwZ7cEVbM5H0omkRFKYmlbTNvA3wKeY5G8YL9dw993FrR8u4 Ze++7F2FvBRlVRhbAt9kmW045fMM8ZvGZiAzju4GzrpFUxdJHEOFM3+ExTpPWSzCcw RjC8lLC2oSgbU/pMrJYsjJqqAJh/AnOgRCXNCKs5Srz+IF6GnDVHmDPRIYqZp2Ryvt PrrIzrI2roOfgcGd9DOHWZAk9atDwxpMOlRzNllP92xAWXUA81Yv3B5TJII/5O7MDl TNXn73ak2cf6fk+R6g6o/oISX0pE1NsUbM/91NWFYFJvz9Xe+Hp9iof9+ZVm1fjVNR Z7DRYp5Kl9+og== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTPPj57yMz6tvr; Tue, 30 Apr 2024 17:34:17 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Tue, 30 Apr 2024 15:34:17 +0000 From: Peacememories In-Reply-To: <87ikzzxlj0.fsf@gnu.org> References: <15f7f98e-245f-40f0-af6d-66df42a1c5cf@posteo.net> <87ikzzxlj0.fsf@gnu.org> Message-ID: <6458e7390af2b1f97ced47e0a885e470@posteo.net> X-Mailman-Approved-At: Tue, 30 Apr 2024 13:34:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 30 Apr 2024 18:48:35 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.41 X-Spam-Score: 2.41 X-Migadu-Queue-Id: 3691916AD1 X-Migadu-Scanner: mx13.migadu.com X-TUID: AaCDiiSVIoBj Hi, thanks for the quick reply! On 30.04.2024 11:11, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Peacememories skribis: >=20 >> `guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the >> following log. >>=20 >> The same happened to me when trying GUIX on NixOS 23.11 via the >> `services.guix` option. >>=20 >> ``` >>=20 >> hint: Consider installing the `glibc-locales' package and defining >> `GUIX_LOCPATH', along these lines: >>=20 >> =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/= locale" >>=20 >> See the "Application Setup" section in the manual, for more info. >>=20 >> 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/g= it/guix.git=C2=A0=C2=A0 ddf3759 >=20 > [...] >=20 >> -Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS >> guix pull: error: You found a bug: the program >=20 > 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). >=20 > Commit df3d30819e650a490ef39dd6692740bb13263c75 fixes that; you should > be able to pull now. I can indeed confirm that (1) Using an older commit caused the error to disappear (2) Pulling the newest version now seems to work as well >=20 > I would recommend upgrading guix-daemon though, as noted in: >=20 > https://guix.gnu.org/manual/devel/en/html_node/Upgrading-Guix.html >=20 > One of the main reasons to do so is this: >=20 >=20 > https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-= cve-2024-27297/ I'll definitely update guix on the WSL installation (I had just done the=20 initial installation which presumably comes with an older version), but=20 I think I'll hold off on the update in NixOS. For one, trying to change=20 the binary and service definition under Nix' nose seems dangerous, but=20 also it seems that Nix already backported the CVE fix you mentioned=20 (https://github.com/NixOS/nixpkgs/blob/12430e43bd9b81a6b4e79e64f87c624ade70= 1eaf/pkgs/by-name/gu/guix/package.nix#L47-L58) Just thought I'd mention that here in case anyone stumbles across this=20 in a similar situation All the best, Peacememories >=20 > Thanks for reporting the bug! >=20 > Ludo=E2=80=99.