From: ludo@gnu.org (Ludovic Courtès)
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 3/3] gnu: Add ruby-i18n.
Date: Thu, 02 Oct 2014 10:35:32 +0200 [thread overview]
Message-ID: <87zjde6f8r.fsf@gnu.org> (raw)
In-Reply-To: <CAJ=RwfZtS-Tf=p7a1qD9zx-qoFmeBQDht67oS=AsNdtNhP85HQ@mail.gmail.com> (David Thompson's message of "Wed, 1 Oct 2014 15:49:08 -0400")
"Thompson, David" <dthompson2@worcester.edu> skribis:
> 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?
Yes, notably all the .rb files.
> 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?).
This is fine.
> 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.
Actually it depends. I hadn’t noticed, but since all the .rb source
files are there, uncompressed, that means that if a reference is
embedded in the source, it *will* be scanned correctly by the GC.
So maybe there’s no real problem, after all.
Thanks,
Ludo’.
next prev parent reply other threads:[~2014-10-02 8:35 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
2014-10-02 8:35 ` Ludovic Courtès [this message]
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=87zjde6f8r.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@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.