From: Waldemar Brodkorb <wbx@openadk.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2] ruby: bump version to 3.2.2
Date: Mon, 18 Sep 2023 10:26:39 +0200 [thread overview]
Message-ID: <ZQgJv2wMCnd6ka0G@waldemar-brodkorb.de> (raw)
In-Reply-To: <20230917130023.GX415981@scaer>
Hi Yann, all,
Yann E. MORIN wrote,
> On 2023-09-16 14:20 +0200, Waldemar Brodkorb spake thusly:
> > Patch is included upstream, remove it and the reference in .checkpackageignore.
> >
> > Host build fails with following error:
> > <internal:/buildroot/output/build/host-ruby-3.2.2/lib/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- psych (LoadError)
> > from <internal:/buildroot/output/build/host-ruby-3.2.2/lib/rubygems/core_ext/kernel_require.rb>:85:in `require'
> > from /buildroot/output/build/host-ruby-3.2.2/lib/rubygems.rb:608:in `load_yaml'
> >
> > Fix it by adding host-libyaml to the dependencies.
> >
> > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> > ---
> > v1->v2:
> > - add failure for host build requested by Thomas Petazzoni
>
> You provided the error message of the build failure for the host
> variant, that explains why host-ruby needs host-libyaml. That's good.
>
> But I think that what Thomas requested, was to explain why the target
> variant does not need libyaml.
>
> Indeed, it looks like host-ruby is trying to load libyaml at runtime,
> so it would kinda make sense that it would also need it at runtime on
> the target...
>
> A runtime test would be great, and would resolve the issue. ;-)
I sent an runtime test to the list. THis show that ruby should work
without libyaml on the target. It is an optional feature for the
target.
best regards
Waldemar
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-09-18 8:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-16 12:20 [Buildroot] [PATCH v2] ruby: bump version to 3.2.2 Waldemar Brodkorb
2023-09-17 13:00 ` Yann E. MORIN
2023-09-18 8:26 ` Waldemar Brodkorb [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=ZQgJv2wMCnd6ka0G@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
--cc=yann.morin.1998@free.fr \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox