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

Bug 917665

Summary: app-editors/neovim-9999 - patch -p1 failed with neovim-0.9.1-cmake-darwin.patch
Product: Gentoo Linux Reporter: squatted_posture785
Component: Current packagesAssignee: Brahmajit Das <brahmajit.xyz>
Status: RESOLVED FIXED    
Severity: normal CC: mortezadadgar97, proxy-maint, vim
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/33924
https://github.com/gentoo/gentoo/pull/34185
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info-neovim-9999.log
emerge-pqv-neovim-9999.log
build.log
updated neovim-9999-cmake-darwin.patch

Description squatted_posture785 2023-11-21 09:42:42 UTC
Created attachment 875270 [details]
emerge-info-neovim-9999.log

A couple of days ago, app-editors/neovim-9999 started to fail compiling
whereas I used to update the package every day just fine.

Commenting out
"${FILESDIR}/${PN}-0.9.1-cmake-darwin.patch"

in the ebuild solves the issue.
Comment 1 squatted_posture785 2023-11-21 09:43:14 UTC
Created attachment 875271 [details]
emerge-pqv-neovim-9999.log
Comment 2 squatted_posture785 2023-11-21 09:43:24 UTC
Created attachment 875272 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2023-11-21 21:11:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974e1883f6ad1d910a4778850a3378c327dadeec

commit 974e1883f6ad1d910a4778850a3378c327dadeec
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-11-21 06:20:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-21 21:09:55 +0000

    app-editors/neovim: Rebase patch from upstream
    
    Closes: https://bugs.gentoo.org/917665
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33924
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 13 +++++++++++++
 app-editors/neovim/neovim-9999.ebuild                   |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)
Comment 4 squatted_posture785 2023-11-22 09:34:41 UTC
The issue persists on my end after updating to https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974e1883f6ad1d910a4778850a3378c327dadeec



 * ERROR: app-editors/neovim-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/app-editors/neovim-9999/files/neovim-9999-cmake-darwin.patch



Likewise, commenting out
"${FILESDIR}/${PN}-9999-cmake-darwin.patch" 

in the ebuild fixes the issue.
Comment 5 mortezadadgar97 2023-12-03 07:10:14 UTC
now neovim-9999-cmake-darwin.patch need to be rebased again a line is from source code
Comment 6 mortezadadgar97 2023-12-03 07:12:03 UTC
Created attachment 876505 [details, diff]
updated neovim-9999-cmake-darwin.patch
Comment 7 squatted_posture785 2023-12-03 10:03:08 UTC
(In reply to mortezadadgar97 from comment #6)
> Created attachment 876505 [details, diff] [details, diff]
> updated neovim-9999-cmake-darwin.patch

Can confirm the package builds just fine with this.
Comment 8 Larry the Git Cow gentoo-dev 2023-12-28 04:46:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=651728e2b139dd5c51d1bbdeb4f9cbb18f22d486

commit 651728e2b139dd5c51d1bbdeb4f9cbb18f22d486
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-12-09 06:18:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-28 04:46:20 +0000

    app-editors/neovim: Rebase patch from upstream
    
    Closes: https://bugs.gentoo.org/917665
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34185
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)