Description of problem: lua-json is incompatible with lua-lpeg 1.1.0. There is a fix in rawhide which includes an upstream patch (https://src.fedoraproject.org/rpms/lua-json/c/56c9dcc1cc057377fe946c09cece28a77ec151ae). Please backport this to Fedora 40 as it is making the lmod package unusable. Version-Release number of selected component (if applicable): 1.3.4-6.fc40 How reproducible: Every time Steps to Reproduce: 1. Install the lmod package 2. Run the following command: module --version Actual results: I get the following error: /usr/bin/lua: /usr/share/lua/5.4/json/decode/util.lua:97: attempt to call a string value (field 'version') stack traceback: /usr/share/lua/5.4/json/decode/util.lua:97: in main chunk [C]: in function 'require' /usr/share/lua/5.4/json/decode.lua:12: in main chunk [C]: in function 'require' /usr/share/lua/5.4/json.lua:5: in main chunk [C]: in function 'require' /usr/share/lmod/lmod/libexec/../shells/JsonShell.lua:46: in main chunk [C]: in function 'require' /usr/share/lmod/lmod/libexec/../shells/BaseShell.lua:295: in upvalue 'l_createShellTbl' /usr/share/lmod/lmod/libexec/../shells/BaseShell.lua:327: in function 'BaseShell.isValid' /usr/share/lmod/lmod/libexec/utils.lua:1189: in function 'dynamic_shell' /usr/share/lmod/lmod/libexec/lmod:345: in function 'main' /usr/share/lmod/lmod/libexec/lmod:585: in main chunk [C]: in ? Expected results: A print out of the version of lmod. Additional info:
FEDORA-2024-cb6477601f (lua-json-1.3.4-8.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-cb6477601f
*** Bug 2303169 has been marked as a duplicate of this bug. ***
FEDORA-2024-cb6477601f has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cb6477601f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cb6477601f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-cb6477601f (lua-json-1.3.4-8.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.