Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917665 - app-editors/neovim-9999 - patch -p1 failed with neovim-0.9.1-cmake-darwin.patch
Summary: app-editors/neovim-9999 - patch -p1 failed with neovim-0.9.1-cmake-darwin.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Brahmajit Das
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-11-21 09:42 UTC by squatted_posture785
Modified: 2023-12-28 04:46 UTC (History)
3 users (show)

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


Attachments
emerge-info-neovim-9999.log (emerge-info-neovim-9999.log,15.46 KB, text/x-log)
2023-11-21 09:42 UTC, squatted_posture785
Details
emerge-pqv-neovim-9999.log (emerge-pqv-neovim-9999.log,103 bytes, text/x-log)
2023-11-21 09:43 UTC, squatted_posture785
Details
build.log (build.log,3.20 KB, text/x-log)
2023-11-21 09:43 UTC, squatted_posture785
Details
updated neovim-9999-cmake-darwin.patch (neovim-9999-cmake-darwin.patch,297 bytes, patch)
2023-12-03 07:12 UTC, mortezadadgar97
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)