Bug 2265616 - build a release of neovim 0.95 for EPEL9
Summary: build a release of neovim 0.95 for EPEL9
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: neovim
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-23 06:28 UTC by Danie de Jager
Modified: 2024-07-24 08:19 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-24 08:19:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Danie de Jager 2024-02-23 06:28:49 UTC
Description of problem:
Can the current version of neovim not be made available to EPEL9 as well? I know some of the dependencies for neovim's Fedora build don't match EPEL exactly but I've been able to build from Fedora's SRC RPM, making minor tweaks showing that it should be possible with not too much dependencies needing to be updated or added.

Comment 1 Danie de Jager 2024-02-23 06:32:58 UTC
My biggest hurdle was luajit on ARM64. Once I found that using the one from Fedora instead, my build of Neovim succeeded.

Comment 2 Andreas Schneider 2024-02-27 17:22:41 UTC
Could you create pull requests?

Comment 3 Danie de Jager 2024-02-27 20:00:49 UTC
I regret, I'm not a Fedora package maintainer. I had a look at the Neovim spec file and the dependencies. The dependencies currently used for a 0.9.5 build, for-instance in F38, is not found in EPEL9.

EPEL9 version:
lua-luv - 1.43.0.0-1
No matching package to install: 'libluv-devel >= 1.43.0'
lua-mpack - 1.0.9-2
No matching package to install: 'lua5.1-mpack >= 1.0.11'

When I built the dependencies in COPR, Neovim 0.9.5 for F38 built successfully. 

If the dependency versions used in the Neovim SPEC are arbitrarily chosen to match the version of the corresponding Distro's release would Neovim not build using the older packages? I created one here:
https://src.fedoraproject.org/fork/faramirza/rpms/neovim/tree/epel9

Comment 4 Andreas Schneider 2024-02-28 09:37:29 UTC
I think first the dependencies need to be updated and then neovim. As you're already forked the project, you can also open PR for the changes you did. You can build everything in copr to test if it work and as soon at it works open PR. Then I can merge them and build a new version in a side-tag with all the required dependencies.

Comment 5 Danie de Jager 2024-03-08 10:57:43 UTC
I've logged requests for new versions of lua-luv and lua-mpack to be added to EPEL9.

Comment 6 Danie de Jager 2024-03-08 11:22:01 UTC
also tree-sitter

Comment 7 Andreas Schneider 2024-03-12 12:30:38 UTC
Would you be willing to maintain neovim and its dependencies for epel9?

Comment 8 Danie de Jager 2024-03-20 10:48:55 UTC
Sorry. I've not had any feedback from the other packages maintainer if he'd package newer releases for EPEL9. Do nvim 0.9.5 require those newer versions of lua packages? 

I change the current SPEC for EPEL9 from the older 0.8 version to 0.9.5 but EPEL9 does not have libuv available.

Comment 9 Danie de Jager 2024-03-20 10:49:52 UTC
No matching package to install: 'libuv-devel >= 1.42.0'

Comment 10 Andreas Schneider 2024-03-20 16:12:18 UTC
Try if it works changing it to 1.28.0

Comment 11 Danie de Jager 2024-04-23 08:28:27 UTC
Looks like it built:
https://koji.fedoraproject.org/koji/taskinfo?taskID=116764265

Comment 12 Danie de Jager 2024-04-23 08:31:48 UTC
I'll have to look into why the spec I updated was not using the older version of libluv:
DEBUG util.py:461:  No matching package to install: 'libluv-devel >= 1.43.0'
DEBUG util.py:461:  No matching package to install: 'lua5.1-mpack >= 1.0.11'
DEBUG util.py:461:  No matching package to install: 'pkgconfig(tree-sitter) >= 0.20.8'
DEBUG util.py:461:  Not all dependencies satisfied
DEBUG util.py:461:  Error: Some packages could not be found.

Comment 13 Danie de Jager 2024-04-23 09:40:47 UTC
Sorry. This one attempt failed to build too. Not sure why. It also attempted to build for FC41 which was unexpected.
https://koji.fedoraproject.org/koji/taskinfo?taskID=116766670
Leaving this alone and sticking to COPR.

Comment 14 Danie de Jager 2024-07-24 08:19:42 UTC
closing this for EPEL9 as 0.10.1 is out


Note You need to log in before you can comment on or make changes to this bug.