all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Bryan Ferris <saffsnail@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Too many heap sections
Date: Tue, 12 Dec 2017 17:15:56 +0100	[thread overview]
Message-ID: <878te7q5vn.fsf@gnu.org> (raw)
In-Reply-To: <CABkR=SUvBkH5KBUehEGkbZT_tEaJ16RZgKteZ13a9SrO9Z0Vtg@mail.gmail.com> (Bryan Ferris's message of "Fri, 8 Dec 2017 08:27:02 -0800")

Hi Bryan,

Bryan Ferris <saffsnail@gmail.com> skribis:

> Ludovic: I have one file, jekyll.scm, which contains jekyll and it's
> dependencies, and the only thing I do to it is run `guix package -f
> jekyll.scm`. I had assumed that this command would take care of things like
> compiling the packages. Is this not the case?

It’s definitely the case.

The problem in the file you posted can be seen by running:

  guix graph -e '(load "/tmp/jekyll.scm")' | dot -Tps > t.ps
  evince t.ps

This shows that there’s a cycle: ‘ruby-jekyll’ depends on itself.  This
triggers an infinite loop in Guix (ideally it would diagnose this and
error out.)

The fix is to remove this line from the ‘ruby-jekyll’ definition:

      ("ruby-jekyll" ,ruby-jekyll)

HTH!

Ludo’.

      reply	other threads:[~2017-12-12 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07 20:04 Too many heap sections Bryan Ferris
2017-12-08  1:58 ` Chris Marusich
2017-12-08 10:37 ` Ludovic Courtès
2017-12-08 16:27   ` Bryan Ferris
2017-12-12 16:15     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878te7q5vn.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=saffsnail@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.