Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1283705
Summary: | lua: LUA_CDIR is incorrect on AArch64 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | D. Marlin <dmarlin> | ||||||
Component: | lua | Assignee: | Florian Festi <ffesti> | ||||||
Status: | CLOSED ERRATA | QA Contact: | David Kutálek <dkutalek> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.2 | CC: | dkutalek, ernunes, ffesti, jbastian, jcm, jfeeney, jreznik, lmiksik, thozza, yselkowi | ||||||
Target Milestone: | rc | Keywords: | Patch | ||||||
Target Release: | 7.3 | ||||||||
Hardware: | aarch64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | lua-5.1.4-15.el7 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-04 08:36:49 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: | 1285484 | ||||||||
Attachments: |
|
Description
D. Marlin
2015-11-19 16:07:10 UTC
Created attachment 1096764 [details]
mock build log for AArch64
The issue here is actually with LUA_CDIR incorrectly being /usr/lib instead of /usr/lib64, so this needs to be fixed in lua. Reassigning, with patch forthcoming. Created attachment 1098990 [details]
Patch for rhel-7.3
Is the patch provided sufficient? Any news on 7.3? For Docs: Lua's package.cpath, which is the search path for binary extensions, was incorrect for the AArch64 architecture, causing either binary extensions to be installed into a nonstandard directory, or for extensions installed into the standard location not to be found. A patch has been applied to use the correct directory on AArch64. For QA: package.cpath should be compared with "%{_libdir}/" (note the trailing slash), e.g.: Incorrect on aarch64 (and other 64-bit arches): $ lua -e 'print(package.cpath)' ./?.so;/usr/lib/lua/5.1/?.so;/usr/lib/lua/5.1/loadall.so Correct: $ lua -e 'print(package.cpath)' ./?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so Another test would be to mock rebuild the EPEL lua-bitop package, as the install script uses package.cpath and the spec's %files uses %{_libdir}. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2568.html |