| Summary: | dev-lang/ruby-3.1.1 - patch -p1 failed with /var/tmp/portage/dev-lang/ruby-3.1.1/files/3.0/900-musl-coroutine.patch | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo musl team <musl> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aladjev.andrew, ruby, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
dev-lang:ruby-3.1.1:20220312-224545.log emerge-history.txt environment etc.portage.tar.bz2 temp.tar.bz2 |
||
|
Description
Toralf Förster
2022-03-13 09:28:27 UTC
Created attachment 766912 [details]
emerge-info.txt
Created attachment 766913 [details]
dev-lang:ruby-3.1.1:20220312-224545.log
Created attachment 766914 [details]
emerge-history.txt
Created attachment 766915 [details]
environment
Created attachment 766916 [details]
etc.portage.tar.bz2
Created attachment 766917 [details]
temp.tar.bz2
Hello, thank you for bug report. `900-musl-coroutine.patch` has been created for ruby 2.7 and ruby 3.0. Fix has been applied to upstream (and updated too) started from ruby 3.1.0 https://github.com/ruby/ruby/blame/v3_1_0/configure.ac#L2592-L2596. We can see that our fix is not required for ruby:3.1+ anymore. Today I've reproduced this issue, than removed file `/var/db/repos/gentoo/dev-lang/ruby/files/3.1/900-musl-coroutine.patch` and updated test image `i686-unknown-linux-gnu` with ruby 3.1. All my ruby application tests works perfect. So I think we may just remove `files/3.1/900-musl-coroutine.patch` and issue can be resolved. Thank you. For me workaround looks as follows: rm /var/db/repos/gentoo/dev-lang/ruby/files/3.1/900-musl-*.patch sed -i 's/use elibc_musl/[false]/' /var/db/repos/gentoo/dev-lang/ruby/ruby-3.1.1.ebuild ebuild /var/db/repos/gentoo/dev-lang/ruby/ruby-3.1.1.ebuild manifest *** This bug has been marked as a duplicate of bug 839552 *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5b8f7263012b2746647fbca64937e6900d16ff commit 4b5b8f7263012b2746647fbca64937e6900d16ff Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-19 19:10:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-19 19:10:59 +0000 dev-lang/ruby: drop unnecessary musl patch for 3.1 Closes: https://bugs.gentoo.org/835038 Closes: https://bugs.gentoo.org/839552 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ruby/files/3.1/900-musl-coroutine.patch | 28 ------------------------ 1 file changed, 28 deletions(-) (In reply to Andrew Aladjev from comment #7) > Hello, thank you for bug report. > > `900-musl-coroutine.patch` has been created for ruby 2.7 and ruby 3.0. Fix > has been applied to upstream (and updated too) started from ruby 3.1.0 > https://github.com/ruby/ruby/blame/v3_1_0/configure.ac#L2592-L2596. We can > see that our fix is not required for ruby:3.1+ anymore. > > Today I've reproduced this issue, than removed file > `/var/db/repos/gentoo/dev-lang/ruby/files/3.1/900-musl-coroutine.patch` and > updated test image `i686-unknown-linux-gnu` with ruby 3.1. All my ruby > application tests works perfect. > > So I think we may just remove `files/3.1/900-musl-coroutine.patch` and issue > can be resolved. > > Thank you. thank you! *** This bug has been marked as a duplicate of bug 839552 *** |