[Buildroot] [PATCH v2] ruby: bump version to 3.2.2

Waldemar Brodkorb wbx at openadk.org
Mon Sep 18 08:26:39 UTC 2023


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 at 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



More information about the buildroot mailing list