From: "Thompson, David" <dthompson2@worcester.edu>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 3/3] gnu: Add ruby-i18n.
Date: Wed, 1 Oct 2014 15:49:08 -0400 [thread overview]
Message-ID: <CAJ=RwfZtS-Tf=p7a1qD9zx-qoFmeBQDht67oS=AsNdtNhP85HQ@mail.gmail.com> (raw)
In-Reply-To: <877g0j4miz.fsf@gnu.org>
On Wed, Oct 1, 2014 at 3:28 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Hello,
>
> I just noticed this:
>
> $ guix gc --references /gnu/store/whj6j9f34adpzwhfj3qf00fcq9zsb3hp-ruby-i18n-0.6.11
> [nothing here]
>
> Apparently the .gem is +/- a gzip archive, which makes it opaque to the
> GC, hence the above result.
>
> Is it something we should worry about, or is it fine because .gem files
> in general don’t won’t hold any reference to something else?
>
There should be many other files there, too, right? The Ruby source
should be there in plain text. In the case of the i18n gem, it
doesn't depend on any external librararies, so there's no references
to be found since it doesn't directly refer to the Ruby interpreter
that built the gem (should it?). Now, when a gem has other
dependencies, my suspicion is that there also won't be any references,
which is definitely something to worry about. I guess the Ruby build
system needs to be adjusted to do something similar to the shebang
substitution, but for gem paths. That might be really tough to do
reliably, though.
Sorry that I don't have a better answer right now. I guess I should
take a look at how Nix handles this.
Thanks for letting me know.
- Dave
next prev parent reply other threads:[~2014-10-01 19:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-28 15:22 [PATCH 1/3] gnu: Add ruby David Thompson
2014-09-28 15:22 ` [PATCH 2/3] build: Add ruby build system David Thompson
2014-09-28 15:41 ` David Thompson
2014-09-28 15:50 ` Ludovic Courtès
2014-09-28 16:25 ` David Thompson
2014-09-28 18:59 ` Ludovic Courtès
2014-09-28 15:22 ` [PATCH 3/3] gnu: Add ruby-i18n David Thompson
2014-09-28 15:50 ` Ludovic Courtès
2014-10-01 19:28 ` Ludovic Courtès
2014-10-01 19:49 ` Thompson, David [this message]
2014-10-02 8:35 ` Ludovic Courtès
2014-09-28 15:46 ` [PATCH 1/3] gnu: Add ruby Ludovic Courtès
2014-09-28 19:24 ` David Thompson
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='CAJ=RwfZtS-Tf=p7a1qD9zx-qoFmeBQDht67oS=AsNdtNhP85HQ@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/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.