summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby
Commit message (Collapse)AuthorAgeFilesLines
* ruby-ptest : some ptest fixesJiaying Song9 days3-1/+36
| | | | | | | | | | | | | | | | | | | | - Skip the test_rm_r_no_permissions test under the root user, as deletion always succeeds. - Filter out tests under the -ext- directory in run-ptest. Due to the commit [1],the packaging of .so test files under the .ext directory was removed. As a result, adjust the test filtering rules to avoid test failures caused by missing files. - Add installation of rdoc.rb and did_you_mean.rb files in do_install_ptest to ensure complete test dependencies. [1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/ruby?id=4d4485442830bb52b152f0419f4ff9f1d581d46a (From OE-Core rev: a581617945848e5970859510e6fb8e4ccdb26f95) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.4.3 -> 3.4.4Wang Mingyu2025-06-053-7/+7
| | | | | | | | | | | | 0002-Obey-LDFLAGS-for-the-link-of-libruby.patch 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch refreshed for 3.4.4 (From OE-Core rev: 33d75adff3c100d4c16a9dc51dd19f48e20cf328) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.4.2 -> 3.4.3Divya Chellam2025-04-201-1/+1
| | | | | | | | | | | | | | | This includes CVE-fix for CVE-2025-27219, CVE-2025-27220 and CVE-2025-27221 Changes between 3.4.2 -> 3.4.3 ============================== https://github.com/ruby/ruby/compare/v3_4_2...v3_4_3 (From OE-Core rev: d739c52558af986c2ce4c65e1197e8d524d14d22) Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.4.1 -> 3.4.2Wang Mingyu2025-02-181-2/+2
| | | | | | | | | License-Update: Added copyright for vendored turbo_tests. (From OE-Core rev: 8537992eba7adf40c58b0cc35fd87f690fd045c2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.3.6 -> 3.4.1Alexander Kanavin2025-01-108-36/+36
| | | | | | | | | | | | | | | License-update: formatting Exclude aclocal, as aclocal.m4 is hand-maintained (similar to recent tweaks elsewhere in core). Find rbconfig.rb directly in ${D}, as grepping ruby's internal file produces bogus results now. (From OE-Core rev: f395c84d460acc44c633a6819efac68ca7829e6c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.3.5 -> 3.3.6Wang Mingyu2024-11-182-4/+4
| | | | | | | | | | | 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch refreshed for 3.3.6 (From OE-Core rev: f1be2b0edfa9f11de350e9e0d979bc0c6e0b85a4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Add init.rb file to PTEST installation pathJiaying Song2024-11-011-1/+1
| | | | | | | | | | | | | | | | | This patch copies the init.rb file to the tool testing directory in the PTEST installation path during installation. This modification can address the following errors: BEGIN: /usr/lib64/ruby/ptest /usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `require_relative': cannot load such file -- /usr/lib64/ruby/ptest/tool/test/init (LoadError) from /usr/lib64/ruby/ptest/tool/test/runner.rb:4:in `<top (required)>' from ./test/runner.rb:5:in `require_relative' from ./test/runner.rb:5:in `<main>' (From OE-Core rev: 4f9fd1255d5a75e3597e6c8ab3fc243b17fca583) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.3.4 -> 3.3.5Yogita Urade2024-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes fix for CVE-2024-41123 & CVE-2024-41946 Changelog ========= d3ab7be8ca merge revision(s) 657f4b99f61: [Backport #20667] c69d59e9b2 Sync tool/lib/core_assertions.rb from master cf9a6c2b63 merge revision(s) a3562c2a0abf1c2bdd1d50377b4f929580782594: [Backport #20701] d83b5633b1 merge revision(s) 992596fb7af18a7f472589a607d0eb3fbb03b49a: [Backport #20344] b210c86a02 merge revision(s) 97449338d6cb42d9dd7c9ca61550616e7e6b6ef6: [Backport #20649] 6a4e79533b merge revision(s) 1870505f478cc75993b296b7144a45137ace6937: [Backport #20651] e0e23e7d5e merge revision(s) 29500e30346: [Backport #20667] 7b954e7bc6 Allow failures in Travis ppc64le and s390x 937964f346 Merge URI-0.13.1 for Ruby 3.3 (#11466) ac8d50e52e [Backport 3.3] [Bug #20691] Fix use-after-free in WeakKeyMap#clear (#11443) 8657de70aa [Backport 3.3] [Bug #20688] Fix use-after-free for WeakMap and WeakKeyMap (#11439) 9ae91eb2aa Backport warning feature for bundled gems from master (#11420) 66312ad913 Re-initialize vm->ractor.sched.lock after fork (#11372) 4d11a0960d Added bootstrap job for release workflow 65cca99b30 parse.y: const_decl_path don't replace destination node by a literal (#11314) f85c7deacc Update RubyGems 3.5.16 and Bundler 2.5.16 for Ruby 3.3 (#11252) 0922afa95b [Bug #20654] Fix floor and ceil when ndigits is large (#11277) ce565cd4b8 [Bug #20653] Fix memory leak in String#start_with? when regexp times out (#11255) 6d744837ab [Bug #20088] Fix ARCH_FLAG for cross compiling 7571ad42f4 [Bug #20650] Fix memory leak in Regexp capture group when timeout (#11244) 4667f8ec10 bundled_gems.rb: Add a fast path (#11221) 425e468d25 [Backport #20633] Fix the condition for `atomic_signal_fence` (#11166) 3427a1679a retry on cancelling of `getaddrinfo` (#11131) (From OE-Core rev: 0291e93cc1457aa4e214c2bf730447178eb07c04) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Make docs generation deterministicRichard Purdie2024-09-111-0/+1
| | | | | | | | | The presence or lack of nroff on the host was changing the doc type. Set it explicitly to be deterministic and reproducible. (From OE-Core rev: f5053abb8957acf358b518ee3c76146dc5f4eb6c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.3.0 -> 3.3.4Ross Burton2024-07-218-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.3.4: This release fixes a regression in Ruby 3.3.3 that dependencies are missing in the gemspec of some bundled gems: net-pop, net-ftp, net-imap, and prime [Bug like Heroku. If your bundle install runs correctly now, you may not have this issue. 3.3.3: This release includes: RubyGems 3.5.11 Bundler 2.5.11 REXML 3.2.8 strscan 3.0.9 --dump=prism_parsetree is replaced by --parser=prism --dump=parsetree Invalid encoding symbols raise SyntaxError instead of EncodingError Memory leak fix in Ripper parsing Bugfixes for YJIT, **{}, Ripper.tokenize, RubyVM::InstructionSequence#to_binary, --with-gmp, and some build environments 3.3.2: This release includes many bug-fixes. See the GitHub releases for further details. 3.3.1: This release includes security fixes. Please check the topics below for details. CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc CVE-2024-27280: Buffer overread vulnerability in StringIO (From OE-Core rev: 498ee932187b9c09d14892783eb92ae03fbfd533) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: remove obsolete build dependencesRoss Burton2024-04-231-1/+1
| | | | | | | | | | | | | | | | Ruby 3.3.0 no longer bundles the readline module[1] so readline is no longer a build dependency[2]. Ruby 3.2.0 no longer bundles the gdbm module[3] so gdbm is no longer a build dependency. [1] https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535 [2] https://github.com/ruby/ruby/commit/172077232e7f40b4dfedf6a5434c252b3d326fab (From OE-Core rev: b616e260855a9d8fbf5c1b6a1b49278673b24d7f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.2.2 -> 3.3.0Alexander Kanavin2024-04-1612-216/+48
| | | | | | | | | | | | | | | | | | | | Rebase: ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch Drop: ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch (merged upstream) ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch ruby/remove_has_include_macros.patch (code rewritten upstream) (From OE-Core rev: 6e3326838f888912a76e9a1ce77fb76550d27169) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3/ruby/shadow: Revert add libxcrypt-native dependency"Richard Purdie2023-05-291-1/+1
| | | | | | | | | | | | | This reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db. This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012. This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c. The dependencies should not be a -native in the target case. Revert these whilst the proper patch is worked out. (From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: add libxcrypt-native dependencyMarkus Volk2023-05-281-1/+1
| | | | | | | | | crypt.h is otherwise taken from the host machine (From OE-Core rev: 167c2c9f15c1bfe401c0512e420a76fa1379c012) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.2.1 -> 3.2.2Wang Mingyu2023-04-131-1/+1
| | | | | | | | (From OE-Core rev: b261bc704839b12769118f6f1c4207f3d19fe4fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.2.0 -> 3.2.1Alexander Kanavin2023-02-201-2/+2
| | | | | | | | | | License-Update: additional items under MIT (From OE-Core rev: 5e894cf7ddec6cb8f59d0d256e818548d041da74) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Update the patch statusKhem Raj2023-01-261-1/+1
| | | | | | | | | | It has been submitted to github as requested by ruby ml (From OE-Core rev: 2e21de700540fc2703fe39b93bf3894a4eb6d1d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Use C11 _Alignof to define ALIGN_OF when possibleKhem Raj2023-01-242-0/+53
| | | | | | | | (From OE-Core rev: 5f01957c596673604516df42008b91551915967f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.1.3 -> 3.2.0Alexander Kanavin2023-01-063-15/+12
| | | | | | | | (From OE-Core rev: 6b544ba8e80bee83030976a98e47e0a66a216ec9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependenciesCarlos Alberto Lopez Perez2022-12-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit development [1] and I need the tools below to be extended with the class nativesdk. They work fine on the SDK after this change. The needs are because: 1) gperf and unifdef are required by the WebKit build system at build time. 2) gi-docgen is required by the WebKit build system when CMake option 'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on the following python modules that also need to enable nativesdk: python3-markdown, python3-smartypants and python3-typogrify [1] See: - https://github.com/Igalia/meta-webkit/pull/436 - https://bugs.webkit.org/show_bug.cgi?id=249604 (From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.1.2 -> 3.1.3Alexander Kanavin2022-12-182-38/+1
| | | | | | | | (From OE-Core rev: 402254a5f841520b132508c21465111d33b6eb1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: merge .inc into .bbAlexander Kanavin2022-12-182-44/+40
| | | | | | | | (From OE-Core rev: d88ff809b2e78ee49d5da42bb08ff5244e6101af) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: drop capstone supportAlexandre Belloni2022-09-022-1/+37
| | | | | | | | | | Upstream dropped capstone support and this also causing us reproducibility issues. (From OE-Core rev: d2496a904a7099ef0de818180820ad7b40843a08) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: add PACKAGECONFIG for capstoneSteve Sakoman2022-07-141-0/+1
| | | | | | | | | | | | | Autobuilder workers were non-deterministically enabling capstone depending on whether the worker had libcapstone installed. Add PACKAGECONFIG for capstone with default off, since ruby does not require capstone support. (From OE-Core rev: a43568be9def6de5a0105a822a79c3c07716ec9c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.1.1 -> 3.1.2zhengruoqin2022-04-191-1/+1
| | | | | | | (From OE-Core rev: 1306c732a39070e12306b0b7a393e2a482c8b326) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.1.0 -> 3.1.1wangmy2022-02-253-25/+31
| | | | | | | | | | | refresh the following patches for 3.1.1: 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch 0006-Make-gemspecs-reproducible.patch (From OE-Core rev: 6ae009ae73fc81de441d57699fee61b6fcc48600) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: fix DEPENDS appendKonrad Weihmann2022-02-161-1/+1
| | | | | | | | | | | | | | | recent change create a blank scope of DEPENDS for class-target, basically leaving out all general dependencies, leading to the effect that ruby will be shipped without the runtime dependencies of zlib, openssl and libffi, making the corresponding gems unusable at runtime. As the class-target scope should be appended only the correct override is append:class-target (From OE-Core rev: 8f92444d388d2406be7d317578908975784d3f22) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: correctly set native/target dependenciesAlexander Kanavin2022-02-121-2/+2
| | | | | | | | | | In particular libffi was missing from native, which led to linking with host libffi instead. (From OE-Core rev: 293c9f879252a814107579542e8fca9af9dde599) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Fix build on riscv/muslKhem Raj2022-02-032-8/+35
| | | | | | | | | | | | This fixes a build issue that started with 3.1 upgrade Fixes | ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1' | dump_machine_register(mctx->__gregs[REG_S1], "s1"); (From OE-Core rev: 1b0a88b6c31f85d70045a61f843302992ae7f94e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: do not parallel installAlexander Kanavin2022-01-261-3/+1
| | | | | | | | | | | | | | | | | | | ruby's makefiles are rebuilding several items on every invocation, even if nothing changed, all of which are factored into libruby.so and cause it to be relinked as well. This does not seem to affect plain make invocation, but does cause races in make install: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695 Rather than figure out how to use make properly and convince upstream of it, let's just do serial installs and file a bug: https://bugs.ruby-lang.org/issues/18506 (From OE-Core rev: 1dc5cdf683133d210658eba9a619b737ec95cfe3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.0.3 -> 3.1.0Alexander Kanavin2022-01-124-30/+44
| | | | | | | | | | | | | | Turn on "link external modules statically" option as otherwise ruby installer tries to do additional building inside installed module directories in do_install which fails horribly. License-Update: additional MIT/BSD items (From OE-Core rev: 4d4485442830bb52b152f0419f4ff9f1d581d46a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: disable rdoc due to non-reproducibilityAlexander Kanavin2022-01-111-0/+3
| | | | | | | | | | | | | The issue is reported upstream: https://bugs.ruby-lang.org/issues/18456 Otherwise I do not feel that further investigation of rdoc's parser to find out the source of non-determinism is worth the time. (From OE-Core rev: 208021f7212a8a790c350ccca720695c5bcbb1ca) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 3.0.2 -> 3.0.3Alexander Kanavin2021-12-091-3/+1
| | | | | | | | | Do not tweak a file that is no longer installed. (From OE-Core rev: 1af0c4ef56d1892f284b6787ccc5a925d023e178) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: fix Upstream-StatusAlexandre Belloni2021-10-232-2/+2
| | | | | | | (From OE-Core rev: c71bb9247e6342b49698c19a0c9512c8a9b54bde) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: disable openssl extensionAlexander Kanavin2021-10-141-0/+5
| | | | | | | | | | | It is incompatible with openssl 3 in currently released versions, and given very marginal use of ruby in oe, I do not think not having it matters. (From OE-Core rev: 7a477de350eaf7095745db81fb03e7ab20188f5a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: fix the reproducibility issueThomas Perrot2021-10-015-0/+162
| | | | | | | | | | | | | | | Apply some changes on the Ruby makefiles in order to fix the reproducibility: - use a fixed timestamp, - sort linked objects, - doesn't use the current date, - and use UTC date. [YOCTO #14268] (From OE-Core rev: 59b07ab51ff932a4632a31675445ba4192bae36b) Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Fix reproducibility issue with LDFLAGSTony Battersby2021-08-122-0/+43
| | | | | | | | | | If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no longer reproducible. Fix this. (From OE-Core rev: c34d5e409b291e69d6ff28ee71acba7055ef3f08) Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issueRichard Purdie2021-08-121-0/+4
| | | | | | (From OE-Core rev: 78da145c2f2fbd58e286e8ce983c2cc0b074e6a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-022-15/+15
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.0.1 -> 3.0.2Alexander Kanavin2021-07-161-1/+1
| | | | | | | | (From OE-Core rev: e75e8258688abb680bfd80393bcb10ef2c46f468) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.0.0 -> 3.0.1zhengruoqin2021-04-181-1/+1
| | | | | | | (From OE-Core rev: b6949a028fd31bd04ed0478fb34a58b971f31e1f) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Do not use ucontext implementation for coroutines on musl/riscvKhem Raj2021-02-181-0/+7
| | | | | | | | | | | | | | | | | The coroutine implementation in ruby has either arch specific implementations or it falls back to slower ucontext API based implementation assuming libc will provide the needed APIs, however musl does not implement ucontext APIs like glibc, therefore fallback is to use libucontext library on musl. However, libucontext is not ported to riscv yet. which means on musl/riscv ruby is unbuildable, however a third option is to use copy implementation for coroutines, which will be not as good performance-wise, but it will do the job, therefore for now use copy implementation for rv32/rv64 when using musl (From OE-Core rev: 3b2b401dbbb8d3aa14a5fd864178f702af3c8115) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update 2.7.2 -> 3.0.0Alexander Kanavin2021-02-096-94/+25
| | | | | | | | | | | | | | | Drop 0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch as files removed upstream. License-Update: formatting Drop autoconf270.patch, as no longer needed with 3.0.0 (I verified against master-next which has the new autoconf). (From OE-Core rev: 8fbf04053845aac24e0c0f1395051b60294e02a3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Fix to work with autoconf 2.70Richard Purdie2021-01-292-0/+35
| | | | | | | | Drop a macro we don't need which was breaking with autoconf 2.70. (From OE-Core rev: 995a0421ab39d62354e56f77eca10e2d176582d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: remove tcl DEPENDSRoss Burton2021-01-081-1/+1
| | | | | | | | | | | | The integrated Tcl/Tk module was removed in Ruby 2.4[1] back in 2016, so this build dependency can be removed. [1] https://github.com/ruby/ruby/commit/303dc3c591e324b6bbc691326d8bea76fe3b8fda (From OE-Core rev: 9f4e181924a83d7b26b11de765c202a9bd036f64) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: fix reproducibilityAlexander Kanavin2020-12-092-0/+33
| | | | | | | (From OE-Core rev: 07c26e3292dbaf71873f71bec2a631f880b2e76d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: update to 2.7.2Chee Yang Lee2020-10-311-2/+2
| | | | | | | | | updates also fix CVE-2020-25613 (From OE-Core rev: fe588448adec9fb5de374fb8b9c2c548068328e6) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 2.7.0 -> 2.7.1zhengruoqin2020-05-241-2/+2
| | | | | | | (From OE-Core rev: 8d9b48bdf25363fb115a6311b031a7e5da8e0d4d) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Link with libucontext on muslKhem Raj2020-04-241-2/+7
| | | | | | | | | | | | | | | | 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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>