Bug 2192164

Summary: luarocks-3.9.1 installs to /usr/lib instead of /usr/lib64
Product: [Fedora] Fedora Reporter: "FeRD" (Frank Dana) <ferdnyc>
Component: luarocksAssignee: Michel Lind <michel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: epel-packagers-sig, ktdreyer, lua-packagers-sig, michel, mikioma
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: luarocks-3.9.2-1.fc38 luarocks-3.9.2-1.fc37 luarocks-3.9.2-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-27 01:17:33 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:

Description "FeRD" (Frank Dana) 2023-04-30 02:21:00 UTC
Description of problem:

I messed up.

As I detail at the end of this Fedora Discussions thread[1], when I submitted the PR for the luarocks-3.9.1 update, I mistakenly dropped the Fedora patch that was correcting the default arch-specific library install dir to /usr/lib64 instead of /usr/lib.

So, without that patch, luarocks installs to the wrong library directory.

[1]: https://discussion.fedoraproject.org/t/luarocks-does-not-install-into-lib64-folder-but-lib-instead/80762/9

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

luarocks-3.9.1-1.fc39 (luarocks on f38 and f37 is also affected; possibly EPEL as well)

How reproducible:

100%

Steps to Reproduce:
1. `sudo luarocks --global install LuaFileSystem`
2. `ls /usr/lib64/lua/5.4/lfs.so`
3. `ls /usr/lib/lua/5.4/lfs.so`

Actual results:

2: ls: cannot access '/usr/lib64/lua/5.4/lfs.so': No such file or directory
3: /usr/lib/lua/5.4/lfs.so

Expected results:

2: /usr/lib64/lua/5.4/lfs.so
3: ls: cannot access '/usr/lib/lua/5.4/lfs.so': No such file or directory


Additional info:

I've already submitted a PR [2] to correct this on rawhide. I'll be happy to submit backport PRs for f38 and f37 as well, if need be. Any chance we could get new builds, to correct this unfortunate screw-up on my part?

(I'll even add in an update to luarocks-3.9.2, since that's been released now, so we kill two birds with one bodhi update.)

Comment 1 Michel Lind 2023-05-17 17:55:14 UTC
Oops, thanks for letting me know! Will review today and handle the backports

Comment 2 Fedora Update System 2023-05-18 16:01:11 UTC
FEDORA-EPEL-2023-cf1443546c has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-cf1443546c

Comment 3 Fedora Update System 2023-05-18 16:01:14 UTC
FEDORA-2023-7bf7e8f76e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7bf7e8f76e

Comment 4 Fedora Update System 2023-05-18 16:01:17 UTC
FEDORA-2023-c7102144c9 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c7102144c9

Comment 5 Fedora Update System 2023-05-19 02:00:54 UTC
FEDORA-EPEL-2023-cf1443546c 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-2023-cf1443546c

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

Comment 6 Fedora Update System 2023-05-19 02:05:02 UTC
FEDORA-2023-c7102144c9 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c7102144c9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c7102144c9

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

Comment 7 Fedora Update System 2023-05-19 02:20:21 UTC
FEDORA-2023-7bf7e8f76e has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7bf7e8f76e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7bf7e8f76e

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

Comment 8 Fedora Update System 2023-05-27 01:17:33 UTC
FEDORA-2023-7bf7e8f76e has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-05-27 01:25:27 UTC
FEDORA-2023-c7102144c9 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-05-27 01:57:27 UTC
FEDORA-EPEL-2023-cf1443546c has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.