Bug 1873634

Summary: lua-socket does not work on Lua >= 5.3
Product: [Fedora] Fedora Reporter: Michel Alexandre Salim <michel>
Component: lua-socketAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bnocera, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lua-socket-3.0-0.26.rc1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-02 00:33:53 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: 1873635    

Description Michel Alexandre Salim 2020-08-28 20:13:22 UTC
Description of problem:
lua-socket fails on Lua >= 5.3 with

  /usr/lib64/lua/5.4/socket/core.so: undefined symbol: luaL_checkint

Version-Release number of selected component (if applicable):
3.0

How reproducible:
Always

Steps to Reproduce:
1. fedpkg clone lua-logging && cd lua-logging
2. fedpkg mockbuild

Actual results:
Fails with the error above

Expected results:
It should succeed

Additional info:
PR: https://src.fedoraproject.org/rpms/lua-socket/pull-request/4

Let me know if you're busy and I can merge it myself (provenpackager) -- also I'd be happy to comaintain the package if you could add me as an admin

FAS: salimma

Comment 1 Michel Alexandre Salim 2020-08-28 20:29:57 UTC
Errata: affected version is lua-socket-3.0-0.23.rc1.fc33 not 3.0

Also, to repro, use the F32 branch of lua-logging; I retired the package on F33 and master because it's unmaintained upstream and the only dependent, luadoc is also retired.

Comment 2 Bastien Nocera 2020-09-17 11:40:13 UTC
I mentioned in the PR that the minimal fix should be applied straight away.

You can test the fix using:
https://gitlab.freedesktop.org/hadess/git-web-show

Comment 3 Fedora Update System 2020-09-23 10:25:54 UTC
FEDORA-2020-df5cdffc94 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-df5cdffc94

Comment 4 Fedora Update System 2020-09-23 15:26:57 UTC
FEDORA-2020-df5cdffc94 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-df5cdffc94`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-df5cdffc94

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

Comment 5 Fedora Update System 2020-10-02 00:33:53 UTC
FEDORA-2020-df5cdffc94 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.