* bug#70659: Too many heap sections on guix pull
@ 2024-04-29 23:36 Peacememories
2024-04-30 9:11 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Peacememories @ 2024-04-29 23:36 UTC (permalink / raw)
To: 70659
`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).
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#70659: Too many heap sections on guix pull
2024-04-29 23:36 bug#70659: Too many heap sections on guix pull Peacememories
@ 2024-04-30 9:11 ` Ludovic Courtès
2024-04-30 15:34 ` Peacememories
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2024-04-30 9:11 UTC (permalink / raw)
To: Peacememories; +Cc: 70659
Hi,
Peacememories <peacememories@posteo.net> 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:
>
> 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
[...]
> -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 “builtin:git-download” (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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#70659: Too many heap sections on guix pull
2024-04-30 9:11 ` Ludovic Courtès
@ 2024-04-30 15:34 ` Peacememories
0 siblings, 0 replies; 3+ messages in thread
From: Peacememories @ 2024-04-30 15:34 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 70659
Hi, thanks for the quick reply!
On 30.04.2024 11:11, Ludovic Courtès wrote:
> Hi,
>
> Peacememories <peacememories@posteo.net> 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:
>>
>> 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
>
> [...]
>
>> -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 “builtin:git-download” (added in Sept. 2023).
>
> 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
>
> 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/
I'll definitely update guix on the WSL installation (I had just done the
initial installation which presumably comes with an older version), but
I think I'll hold off on the update in NixOS. For one, trying to change
the binary and service definition under Nix' nose seems dangerous, but
also it seems that Nix already backported the CVE fix you mentioned
(https://github.com/NixOS/nixpkgs/blob/12430e43bd9b81a6b4e79e64f87c624ade701eaf/pkgs/by-name/gu/guix/package.nix#L47-L58)
Just thought I'd mention that here in case anyone stumbles across this
in a similar situation
All the best,
Peacememories
>
> Thanks for reporting the bug!
>
> Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-30 22:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 23:36 bug#70659: Too many heap sections on guix pull Peacememories
2024-04-30 9:11 ` Ludovic Courtès
2024-04-30 15:34 ` Peacememories
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).