Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931143

Summary: net-libs/nodejs-20.12.1:0 riscv patch fails to apply
Product: Gentoo Linux Reporter: Andrew Cameron <apcameron>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: apcameron, jstein, riscv
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Info
Environment
pqv log

Description Andrew Cameron 2024-05-03 18:16:51 UTC
Created attachment 892213 [details]
Build log

[ ok ]
>>> Unpacking source...
>>> Unpacking node-v20.12.1.tar.xz to /var/tmp/portage/net-libs/nodejs-20.12.1/work
>>> Source unpacked in /var/tmp/portage/net-libs/nodejs-20.12.1/work
>>> Preparing source in /var/tmp/portage/net-libs/nodejs-20.12.1/work/node-v20.12.1 ...
 * Applying nodejs-20.11.0-riscv.patch ...
patching file common.gypi
Hunk #1 FAILED at 36.
1 out of 1 hunk FAILED -- saving rejects to file common.gypi.rej
patching file deps/v8/src/builtins/riscv/builtins-riscv.cc
Hunk #1 FAILED at 1512.
1 out of 1 hunk FAILED -- saving rejects to file deps/v8/src/builtins/riscv/builtins-riscv.cc.rej
patching file deps/v8/src/codegen/riscv/assembler-riscv-inl.h
Hunk #1 FAILED at 128.
Hunk #2 FAILED at 159.
Hunk #3 FAILED at 187.
3 out of 3 hunks FAILED -- saving rejects to file deps/v8/src/codegen/riscv/assembler-riscv-inl.h.rej
patching file deps/v8/src/codegen/riscv/assembler-riscv.h
Hunk #1 FAILED at 286.
1 out of 1 hunk FAILED -- saving rejects to file deps/v8/src/codegen/riscv/assembler-riscv.h.rej
patching file deps/v8/src/execution/riscv/simulator-riscv.cc
Hunk #1 FAILED at 1781.
Hunk #2 FAILED at 1830.
Hunk #3 FAILED at 4692.
Hunk #4 FAILED at 4709.
4 out of 4 hunks FAILED -- saving rejects to file deps/v8/src/execution/riscv/simulator-riscv.cc.rej
patching file deps/v8/src/regexp/riscv/regexp-macro-assembler-riscv.cc
Hunk #1 FAILED at 1211.
1 out of 1 hunk FAILED -- saving rejects to file deps/v8/src/regexp/riscv/regexp-macro-assembler-riscv.cc.rej
 [ !! ]
 * ERROR: net-libs/nodejs-20.12.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/net-libs/nodejs-20.12.1/files/nodejs-20.11.0-riscv.patch
Comment 1 Andrew Cameron 2024-05-03 18:17:45 UTC
Created attachment 892214 [details]
Info
Comment 2 Andrew Cameron 2024-05-03 18:18:18 UTC
Created attachment 892215 [details]
Environment
Comment 3 Andrew Cameron 2024-05-03 18:19:18 UTC
Created attachment 892216 [details]
pqv log
Comment 4 Larry the Git Cow gentoo-dev 2024-05-04 04:10:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee2eaa3b2ec43722625205305265cbe69dfb1fa

commit 8ee2eaa3b2ec43722625205305265cbe69dfb1fa
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2024-05-04 03:43:23 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2024-05-04 04:10:21 +0000

    net-libs/nodejs: drop riscv patch for 20.12.2 and 22.1.0
    
    Closes: https://bugs.gentoo.org/931143
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 net-libs/nodejs/nodejs-20.12.2.ebuild | 3 ---
 net-libs/nodejs/nodejs-22.1.0.ebuild  | 3 ---
 2 files changed, 6 deletions(-)