<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/classes, branch wrynose</title>
<subtitle>Mirror of git.yoctoproject.org/meta-cloud-services.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=wrynose</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=wrynose'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/'/>
<updated>2026-04-08T16:13:11+00:00</updated>
<entry>
<title>rubyv2.bbclass: strip native RPATHs from gem shared objects</title>
<updated>2026-04-08T16:13:11+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-04-08T15:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=e7f77af2253d2ddc75cf8f7cd1515a58b8971e3e'/>
<id>urn:sha1:e7f77af2253d2ddc75cf8f7cd1515a58b8971e3e</id>
<content type='text'>
Ruby gem native extensions embed the build-time sysroot RPATH in
their .so files, which fails the rpaths QA check. Use chrpath to
strip these after install.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby.bbclass: copy spec files if present in UNPACKDIR</title>
<updated>2024-10-12T01:37:41+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-10-12T01:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=a35cc3d3aac992362f77d7ed0bbedf473a9aab13'/>
<id>urn:sha1:a35cc3d3aac992362f77d7ed0bbedf473a9aab13</id>
<content type='text'>
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>rubyv2: copy gemspec files if provided</title>
<updated>2024-10-12T01:16:45+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-10-12T01:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=4c85c6d55a3d1682464735bf427ffc78723d1ed0'/>
<id>urn:sha1:4c85c6d55a3d1682464735bf427ffc78723d1ed0</id>
<content type='text'>
Rather than generating a spec file from a gem (which we
don't have when building from source) or patching it in,
it is easier if we just provide it on the SRC_URI and
copy it into place.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby/rubyv2: add new rubyv2 bbclass and support external extconf</title>
<updated>2024-10-11T20:14:43+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-10-11T19:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=dc37ea052ed74321c5244938f8d702372f663776'/>
<id>urn:sha1:dc37ea052ed74321c5244938f8d702372f663776</id>
<content type='text'>
When building/installing gems with native components, the target
OS and cross compile settings were not correctly being picked up.

Enhance the existing bbclass with the ability to copy a extconf.rb
from UNPACKDIR, so a recipe can specify fixes in it's own copy of
the file.

We also bring in a class from meta-rubygems which has more advanced
cross compile settings. There are a few minor modifications to
this class (copying of extconf.rb) and some spec generation. But
it is now available if the basic ruby class cannot compile and install
a gem.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby: package plugins in main package</title>
<updated>2024-10-09T23:31:28+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-10-09T23:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=d3acbcf51a36518ca6daa1376da5e54623285e7a'/>
<id>urn:sha1:d3acbcf51a36518ca6daa1376da5e54623285e7a</id>
<content type='text'>
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>global: overrides conversion</title>
<updated>2021-08-01T03:49:54+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2021-08-01T03:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=0cffcd09a44b2a58452a5bb13714bfc47d6546bf'/>
<id>urn:sha1:0cffcd09a44b2a58452a5bb13714bfc47d6546bf</id>
<content type='text'>
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>Added SRCNAME variable to allow bitbake recipe unfriendly gem names</title>
<updated>2020-02-27T22:15:56+00:00</updated>
<author>
<name>Nathan Hartman</name>
<email>hnathan918@gmail.com</email>
</author>
<published>2020-02-20T19:56:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=c67f5df7b32932782f4352d58e5de6715af3838e'/>
<id>urn:sha1:c67f5df7b32932782f4352d58e5de6715af3838e</id>
<content type='text'>
Signed-off-by: Nathan Hartman &lt;hnathan918@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>ruby.bbclass: pass LDFLAGS via dldflags to avoid QA warnings</title>
<updated>2016-07-25T03:08:07+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-07-22T18:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=f8af5af088e290a8efbdec0998ca11e4b6a65efb'/>
<id>urn:sha1:f8af5af088e290a8efbdec0998ca11e4b6a65efb</id>
<content type='text'>
Ruby makes use of the lesser known DLDFLAGS to compose flags passed to
the linker. Since DLDFLAGS is composed of arch, ldflags and dldflags
instead of overwriting DLDFLAGS we drop the correct flags into
dldflags. (lowercase vs uppercase)

This will avoid the following QA warnings, such as:
No GNU_HASH in the elf binary: './tmp/work/core2-64-overc-linux/ruby-shadow/2.4.1-r0/packages-split/ruby-shadow/usr/lib64/ruby/gems/2.2.0/gems/ruby-shadow-2.4.1/lib/shadow.so'
No GNU_HASH in the elf binary: './tmp/work/core2-64-overc-linux/ruby-shadow/2.4.1-r0/packages-split/ruby-shadow/usr/lib64/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/ruby-shadow-2.4.1/shadow.so' [ldflags]

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby: fix TypeError exception triggered by python3</title>
<updated>2016-06-07T13:40:46+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2016-06-07T13:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=e2e920747f0bb3b41def94c7c462fa908aebd9b2'/>
<id>urn:sha1:e2e920747f0bb3b41def94c7c462fa908aebd9b2</id>
<content type='text'>
The error appears as follows:

ERROR: Failure expanding variable RUBY_GEM_VERSION, expression was
${@get_rubygemsversion("build/tmp/sysroots/x86_64-linux/usr/bin")}
which triggered exception TypeError: can't use a string pattern on
a bytes-like object

Adding an explicit utf-8 decode makes it work again.

Similar fixes appear in git://git.pokylinux.org/poky 3e309e0aad

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby-shadow: Work around cross compile gem problem</title>
<updated>2016-01-19T13:50:53+00:00</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2016-01-15T21:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=9ed0aef7b244773a9db644090b4e361fa7b3eea8'/>
<id>urn:sha1:9ed0aef7b244773a9db644090b4e361fa7b3eea8</id>
<content type='text'>
Prior to this commit it is not possible to cross build a ruby gem.  In
fact even on the x86 system the object files for the native gem are
generated with the wrong compiler (the host compiler instead of the
cross compiler).

A better way to fix this in the future would be to use only gems that
supported cross compile tool called rake.  For now the bbclass can
modify the extconf.rb just before creating the gem and insert some
code into the Makefile so as to honor the cross compile environment.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
