<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/ruby, branch 3.2_M3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=3.2_M3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=3.2_M3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-05-24T22:56:03+00:00</updated>
<entry>
<title>ruby: upgrade 2.7.0 -&gt; 2.7.1</title>
<updated>2020-05-24T22:56:03+00:00</updated>
<author>
<name>zhengruoqin</name>
<email>zhengrq.fnst@cn.fujitsu.com</email>
</author>
<published>2020-05-22T22:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8f123a53013a52a1935b50156955b1aae6776268'/>
<id>urn:sha1:8f123a53013a52a1935b50156955b1aae6776268</id>
<content type='text'>
(From OE-Core rev: 8d9b48bdf25363fb115a6311b031a7e5da8e0d4d)

Signed-off-by: Zheng Ruoqin &lt;zhengrq.fnst@cn.fujitsu.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: Link with libucontext on musl</title>
<updated>2020-04-24T13:10:07+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-04-14T17:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cec802aa4df2eb7d0e3096f26adc2c349d615265'/>
<id>urn:sha1:cec802aa4df2eb7d0e3096f26adc2c349d615265</id>
<content type='text'>
coroutines in ruby 2.7+ needs ucontext APIs which are not available in
musl but an external library is available to provide them so use it

Use cached values for ac_cv_func_isnan and ac_cv_func_isinf this is not
detected correctly by configure on musl

on ARM drop using old arm32 implementation of coroutine which is slow and
inefficient

(From OE-Core rev: 406e7a085b0650bdba9f19633dadb7e6ff0149e5)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: Use arm32 for coroutines on 32bit-arm</title>
<updated>2020-03-11T11:44:28+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-03-10T01:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9faf676068c80cf7d269b096ef9cb9d3da7e2a89'/>
<id>urn:sha1:9faf676068c80cf7d269b096ef9cb9d3da7e2a89</id>
<content type='text'>
in 2.7 [2] ruby enabled ucontext for coroutines on arm32 but it does not
work for musl since it uses glibc specific functions e.g.
getcontext/swapcontext/swapcontext also see [1]

This patch reverts back to using arm32 implementation for coroutines on
arm

[1] https://bugs.ruby-lang.org/issues/16455#change-83442
[2] https://github.com/ruby/ruby/commit/6c6bf9ffcbfeb8be9d9c342e7604b74ec819e88a#diff-7fccec8474e2184cd2518046bf39d54cL10

(From OE-Core rev: ea93afa4c1c40d74faf321baa78a29d0ad7d3223)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: install required files for ptest</title>
<updated>2020-02-28T23:11:28+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2020-02-25T09:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7c29dbdf84612e3a604cf7c0a7a698a86dfb0641'/>
<id>urn:sha1:7c29dbdf84612e3a604cf7c0a7a698a86dfb0641</id>
<content type='text'>
After update to 2.7.0, it fails to start ptest of ruby with errors:

| ./test/runner.rb:11:in `require_relative': cannot load such file --
    /usr/lib64/ruby/ptest/tool/test/runner (LoadError)

and

| test/rdoc/test_rdoc_attr.rb: cannot load such file -- rdoc/version
| test/did_you_mean/spell_checking/test_key_name_check.rb: cannot load
    such file -- /usr/lib64/ruby/ptest/lib/did_you_mean

Install the required files for the ptest.

(From OE-Core rev: be161be40c88fbac8ac17776daf3bf178a2e8f5e)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: upgrade 2.6.5 -&gt; 2.7.0</title>
<updated>2020-02-15T10:26:42+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@cn.fujitsu.com</email>
</author>
<published>2020-02-12T18:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=717ba0a25669f469c7698399a79ad21661324edc'/>
<id>urn:sha1:717ba0a25669f469c7698399a79ad21661324edc</id>
<content type='text'>
0003-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch
Removed since it is included in 2.7.0.

refresh the following patch:
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch

add the following patch to solve build error:
0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
[error message]
ERROR: ruby-2.7.0-r0 do_package_qa: QA Issue:
/usr/lib/ruby/gems/2.7.0/gems/racc-1.4.16/bin/y2racc contained in
package ruby requires /usr/local/bin/ruby, but no providers found in
RDEPENDS_ruby? [file-rdeps]

format of file COPYING is updated.
LEGAL notice information is updated.

(From OE-Core rev: 3cdf5da514b424a6d78ba4e1412331b6cf2b3bff)

Signed-off-by: Wang Mingyu &lt;wangmy@cn.fujitsu.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: Remove __has_include and __has_include_next from preprocessed header file</title>
<updated>2020-01-27T16:48:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-26T19:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=614f764707e53acb346a6ab017871f689f114d09'/>
<id>urn:sha1:614f764707e53acb346a6ab017871f689f114d09</id>
<content type='text'>
one of the build steps ruby has is that it generated rb_mjit_header.h
during configure using gcc preprocessor using -dD which emits built-in
defines as well, problem happens when this header is later included in
subsequent compiles, where compiler errors out stating that an existing
internal define is redefined

| /tmp/20200123-2021083-2c601q.h:13849:9: error: "__has_include" cannot be used as a macro name
| 13849 | #define __has_include __has_include
|       |         ^~~~~~~~~~~~~
| compilation terminated due to -Wfatal-errors.

Since compiler already will take care of it internally we can edit it
out from this header file

(From OE-Core rev: b4f0df9a0e998af746bcd84cb81ea4ba0107f989)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>dhcp/ruby/ffpmeg: Use CFLAGS, not TARGET_CFLAGS</title>
<updated>2019-11-07T15:12:00+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-07-03T09:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c960514cc02fc02950c2ad52a1e39ff65a04e83d'/>
<id>urn:sha1:c960514cc02fc02950c2ad52a1e39ff65a04e83d</id>
<content type='text'>
There isn't anything specific about the target in these cases an in
general recipes should touch CFLAGS. This ensures people don't
copy/paste bad example usages. In reality, behaviour is mostly
unchanged.

(From OE-Core rev: ae6e7dd19b6da81090a38792dfdf31b459290466)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby:upgrade 2.6.4 -&gt; 2.6.5</title>
<updated>2019-11-07T15:12:00+00:00</updated>
<author>
<name>Zang Ruochen</name>
<email>zangrc.fnst@cn.fujitsu.com</email>
</author>
<published>2019-11-06T01:20:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8407d14686d49d024baede7d5aa293219b7a140d'/>
<id>urn:sha1:8407d14686d49d024baede7d5aa293219b7a140d</id>
<content type='text'>
(From OE-Core rev: 087ed197ae7c5022a1185c09fc2d38c4acd7bf18)

Signed-off-by: Zang Ruochen &lt;zangrc.fnst@cn.fujitsu.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: some ptest fixes</title>
<updated>2019-10-23T15:30:36+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-10-01T14:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6f4102f4f63cbd14d9d3df8157020c80fae2cdcc'/>
<id>urn:sha1:6f4102f4f63cbd14d9d3df8157020c80fae2cdcc</id>
<content type='text'>
* the (new?) ruby expects some additional compiled libraries
  to run, so we need to copy them as part of ptest.
  Fixes errors like:
  # ruby ./runner.rb ./-ext-/vm/test_at_exit.rb
  Run options:

  # Running tests:

  [1/1] TestVM#test_at_exit = 0.06 s
    1) Failure:
  TestVM#test_at_exit [/usr/lib/ruby/ptest/test/-ext-/vm/test_at_exit.rb:7]:

  1. [1/2] Assertion for "stdout"
     | &lt;["begin", "end"]&gt; expected but was
     | &lt;[]&gt;.

  2. [2/2] Assertion for "stderr"
     | &lt;[]&gt; expected but was
     | &lt;["-:1:in `require': cannot load such file -- -test-/vm/at_exit (LoadError)",
     |  "\tfrom -:1:in `&lt;main&gt;'"]&gt;.

* the 'erb' test can't find the erb binary, as we're not
  running this from within the build directory

(From OE-Core rev: 158d5285372240f6b3502a6c715a2491e37a3118)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ruby: update to v2.6.4</title>
<updated>2019-10-23T15:30:36+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-10-01T09:54:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7fef74ae95bc8d4342b06974f6a651b5ded81054'/>
<id>urn:sha1:7fef74ae95bc8d4342b06974f6a651b5ded81054</id>
<content type='text'>
Most patches had to be refreshed

Note that we can now drop
    EXTRA_AUTORECONF += "--exclude=aclocal"
from the recipe, as ruby upstream now fully supports
runnning aclocal:
    https://github.com/ruby/ruby/pull/1793/commits/df9bf70cd2275a3ddc3108f392214fcc4a9b0859
    https://github.com/ruby/ruby/commit/ec43478f34de262ebdd2922c488e265344b489c3

Also note that 'created.rid' is not being installed
anymore since v2.6.0

While additional LICENSEs were added to the recipe,
they should always have been mentioned in this recipe,
i.e. the license checksum was updated only because:
    * URLs were updated
    * new imported components were mentioned (with no new licenses)
    * formatting was changed
    * dates were updated

(From OE-Core rev: 7124051b3b2e91e81c7b8565104ae9c5bea10be1)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
