Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840260 - dev-lang/ruby-3.1.2: dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch can't apply
Summary: dev-lang/ruby-3.1.2: dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-23 07:44 UTC by 12101111
Modified: 2022-04-23 11:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 12101111 2022-04-23 07:44:48 UTC
This patch is upstreamed in 3.1: https://github.com/ruby/ruby/commit/3c593f28ede99b77d4fe3258f9bda78dcee238a3

>>> Unpacking source...
>>> Unpacking ruby-3.1.2.tar.xz to /tmp/portage/dev-lang/ruby-3.1.2/work
>>> Source unpacked in /tmp/portage/dev-lang/ruby-3.1.2/work
>>> Preparing source in /tmp/portage/dev-lang/ruby-3.1.2/work/ruby-3.1.2 ...
 * Applying 010-default-gem-location.patch ...
patching file tool/rbinstall.rb
Hunk #1 succeeded at 956 with fuzz 1 (offset 59 lines).     [ ok ]
 * Applying 900-musl-coroutine.patch ...
patching file configure.ac
Hunk #1 FAILED at 2364.
1 out of 1 hunk FAILED -- saving rejects to file configure. [ !! ]
 * ERROR: dev-lang/ruby-3.1.2::gentoo failed (prepare phase):
 *   patch -p1  failed with /tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 3333:  Called eapply '/tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *             environment, line 2226:  Called _eapply_patch '/tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *             environment, line 2164:  Called __helpers_die 'patch -p1  failed with /tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.1.2::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-lang/ruby-3.1.2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-lang/ruby-3.1.2/temp/environment'.
 * Working directory: '/tmp/portage/dev-lang/ruby-3.1.2/work/ruby-3.1.2'
 * S: '/tmp/portage/dev-lang/ruby-3.1.2/work/ruby-3.1.2'

>>> Failed to emerge dev-lang/ruby-3.1.2, Log file:

>>>  '/tmp/portage/dev-lang/ruby-3.1.2/temp/build.log'

 * Messages for package dev-lang/ruby-3.1.2:

 * ERROR: dev-lang/ruby-3.1.2::gentoo failed (prepare phase):
 *   patch -p1  failed with /tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 3333:  Called eapply '/tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *             environment, line 2226:  Called _eapply_patch '/tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *             environment, line 2164:  Called __helpers_die 'patch -p1  failed with /tmp/portage/dev-lang/ruby-3.1.2/files/3.0/900-musl-coroutine.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.1.2::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-lang/ruby-3.1.2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-lang/ruby-3.1.2/temp/environment'.
 * Working directory: '/tmp/portage/dev-lang/ruby-3.1.2/work/ruby-3.1.2'
 * S: '/tmp/portage/dev-lang/ruby-3.1.2/work/ruby-3.1.2'


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-04-23 09:45:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716ed677401e40178ad311eb70fa8908386f0ed7

commit 716ed677401e40178ad311eb70fa8908386f0ed7
Author:     12101111 <w12101111@gmail.com>
AuthorDate: 2022-04-23 07:43:32 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-04-23 09:45:28 +0000

    dev-lang/ruby: drop upstreamed patch
    
    Bug: https://bugs.gentoo.org/840260
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Signed-off-by: Han PuYu <w12101111@gmail.com>

 dev-lang/ruby/ruby-3.1.1.ebuild | 1 -
 dev-lang/ruby/ruby-3.1.2.ebuild | 1 -
 2 files changed, 2 deletions(-)