Too many heap sections: Increase MAXHINCR or MAX_HEAP_SEC

  • Done
  • quality assurance status badge
Details
4 participants
  • Guillaume Le Vaillant
  • Tobias Geerinckx-Rice
  • Sharlatan Hellseher
  • zimoun
Owner
unassigned
Submitted by
Sharlatan Hellseher
Severity
normal

Debbugs page

Sharlatan Hellseher wrote 4 years ago
(address . bug-guix@gnu.org)
CAO+9K5pT9G=98pA0XSY3Af8FguRNZ=wBMddwD0xH_iv0mhF-MQ@mail.gmail.com
./pre-inst-env guix build sbcl-cffi ;;; note: source file
/home/hellseher/code/guix/gnu/packages/lisp-xyz.scm ;;; newer than
compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go Too many
heap sections: Increase MAXHINCR or MAX_HEAP_SECS
Aborted
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
Guillaume Le Vaillant wrote 4 years ago
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 46624@debbugs.gnu.org)
87blchjdco.fsf@yamatai
Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

Toggle quote (6 lines)
> ./pre-inst-env guix build sbcl-cffi ;;; note: source file
> /home/hellseher/code/guix/gnu/packages/lisp-xyz.scm ;;; newer than
> compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go Too many
> heap sections: Increase MAXHINCR or MAX_HEAP_SECS
> Aborted

With Guix at 5fccdbc079402eee345684bcbd1b1d0306cab1e8 I don't reproduce
this issue.
From the warning and error messages you get, it looks like you changed
something in 'lisp-xyz.scm' and Guix fails to compile it.
Is it the case? If yes, there is probably a bug in the changes you made.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYC7Wpw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+7lQD6AkDN50Vvq9goueR4WM9PfrDAMgwZTTrwLPxP
YwBdvYYBAISomuugJQV/ATBbqD5ICBmsLU4X6rnRE1dduBT3QZgd
=N2Lq
-----END PGP SIGNATURE-----

Tobias Geerinckx-Rice wrote 4 years ago
(name . Guillaume Le Vaillant)(address . glv@posteo.net)
87r1ldkpb5.fsf@nckx
Guillaume Le Vaillant 写道:
Toggle quote (6 lines)
> From the warning and error messages you get, it looks like you
> changed
> something in 'lisp-xyz.scm' and Guix fails to compile it.
> Is it the case? If yes, there is probably a bug in the changes
> you made.

More specifically, it's likely an input cycle (infinite loop of A
needs B needs ... needs A). Guix doesn't [yet] detect these, and
takes them literally until memory is exhausted.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYC7j3g0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15c3gA/2fY30dW1tgPsduIGZYjHB99tGN6mJSQ38gmUTdZ
Muk4AQCV+4xeIzh7OVzGyClFjXHheJoVxStJvJejcwlRp0UWBA==
=+CeQ
-----END PGP SIGNATURE-----

Guillaume Le Vaillant wrote 4 years ago
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 46624-done@debbugs.gnu.org)
87blcg8o68.fsf@yamatai
Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

Toggle quote (21 lines)
> Hi,
>
> Yes it looks like issue on my end only.
> I've doped my local branch pull upstream and I could rebuild it now.
> Issue could be closed.
>
> Thanks
>
> hellseher@guix-base-20210210 ~/code/guix [env]$ ./pre-inst-env guix
> build sbcl-cffi
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/lisp-xyz.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/lisp-xyz.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/emacs-xyz.scm
> ;;; newer than compiled
> /home/hellseher/code/guix/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/games.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/games.go
> ;;; note: source file /home/hellseher/code/guix/gnu/packages/telegram.scm
> ;;; newer than compiled /home/hellseher/code/guix/gnu/packages/telegram.go
> /gnu/store/x9ainb8phlprackcdwl1a8w0xh1bh18g-sbcl-cffi-0.23.0

Ok, closing.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYC90nw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j/cTQEAibyKd3Bp34ejp4ZyoJIkBnOXCr+FXgXzI6EA
cVnvNvYBAJROMO4GK9enS2drJUkULxmqeT0S2cGecNXf+h21/J68
=7dAc
-----END PGP SIGNATURE-----

Closed
zimoun wrote 4 years ago
86pn0pks1e.fsf@gmail.com
Hi Tobias,

On Thu, 18 Feb 2021 at 23:02, Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (4 lines)
> More specifically, it's likely an input cycle (infinite loop of A
> needs B needs ... needs A). Guix doesn't [yet] detect these, and
> takes them literally until memory is exhausted.

Where should this feature go? Under “guix lint” via another checker or
“guix build” walking the graph to detect cycles before really building?


Cheers,
simon
?
Your comment

This issue is archived.

To comment on this conversation send an email to 46624@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 46624
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help