(address . bug-guix@gnu.org)
`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
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).
```