Bug 2092881

Summary: Please branch and build lua-bitop for EPEL 9
Product: [Fedora] Fedora EPEL Reporter: Jakub Ruzicka <jakub.ruzicka>
Component: lua-bitopAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: asn, orion, pspacek, redhat-bugzilla, tkrizek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lua-bitop-1.0.2-10.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-12 01:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2044668    

Description Jakub Ruzicka 2022-06-02 13:21:56 UTC
lua-http and by transition knot-resolver depend on lua-bitop.

I've branched and built other lua-* deps for EPEL 9, but I lack rights to branch lua-bitop.

rawhide package builds without modification, so this is really a matter of

    fedpkg request-branch epel9

Please consider adding me (jruzicka) as a package co-maintainer, so I can help with this in the future, as I already need to maintain other lua-* packages needed by knot-resolver.

Thanks 📦

Comment 1 Robert Scheck 2022-06-02 13:37:47 UTC
Why is this needed? Bitwise operations are built-in with Lua >= 5.3, or am I mistaken somehow? See also: https://bugzilla.redhat.com/show_bug.cgi?id=1244167#c2

Comment 2 Jakub Ruzicka 2022-06-02 13:55:03 UTC
Oh, I see!

So this is just an outdated dep.

Thanks and sorry for the noise.

Comment 3 Jakub Ruzicka 2022-06-02 14:38:17 UTC
Not so simple.

knot-resolver currently depends on lua 5.1 compat packages:

Requires: lua5.1-basexx
Requires: lua5.1-cqueues
Requires: lua5.1-http

I'll see if it can work with latest lua packages, but regardless, all the lua-* deps I built have %global luacompatver 5.1 and create lua5.1-* subpackages.

https://src.fedoraproject.org/rpms/compat-lua is built in F37 and EPEL9, so I assume 5.1 compatibility is still maintained? In that case, lua5.1-bitop is required by lua5.1-http.

I'm not experienced with lua packaging, I'm just trying to get knot-resolver to work. Currently, the shortest path is simply building the missing lua5.1-bitop package for lua5.1-http, but I'll be happy to receive better ideas, I found no usable docs on Lua Fedora packaging.

Let me know what you think.

Comment 4 Robert Scheck 2022-06-02 19:39:10 UTC
Oh, Lua 5.1? Then you likely need this branching, yes.

Comment 5 Orion Poplawski 2022-06-03 01:45:49 UTC
Branch requested.

Comment 6 Petr Špaček 2022-06-03 08:39:25 UTC
(In reply to Robert Scheck from comment #4)
> Oh, Lua 5.1? Then you likely need this branching, yes.

The reason is that Knot Resolver users LuaJIT and not vanilla Lua, and LuaJIT is stuck on 5.1.

Comment 7 Fedora Update System 2022-06-03 22:48:55 UTC
FEDORA-EPEL-2022-e3cbc55e18 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e3cbc55e18

Comment 8 Fedora Update System 2022-06-04 01:32:18 UTC
FEDORA-EPEL-2022-e3cbc55e18 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e3cbc55e18

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-06-12 01:49:09 UTC
FEDORA-EPEL-2022-e3cbc55e18 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.