Bug 1007000
Summary: | On aarch64 lua ships plugins in /usr/lib64/ but loads them from /usr/lib/ | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||||||
Component: | lua | Assignee: | Tim Niemueller <tim> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 19 | CC: | cse.cem+redhatbugz, michel, msalter, tim | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-07-04 16:40:32 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: | |||||||||||
Attachments: |
|
Description
Marcin Juszkiewicz
2013-09-11 17:06:32 UTC
Ah, I think this should fix it: diff --git a/lua-5.1.4-autotoolize.patch b/lua-5.1.4-autotoolize.patch index afcb3fb..8b57bb1 100644 --- a/lua-5.1.4-autotoolize.patch +++ b/lua-5.1.4-autotoolize.patch @@ -41813,7 +41813,7 @@ diff -urN lua-5.1.4/src/luaconf.h.template.in lua-5.1.4-autotoolize/src/luaconf. +/** autotools-patch **/ +#define LUA_LDIR "%lua_datadir%/lua/5.1/" +#if defined __alpha__ || defined __ia64__ || defined __powerpc64__ || \ -+ defined __s390x__ || defined __sparc64__ || defined __x86_64__ ++ defined __s390x__ || defined __sparc64__ || defined __x86_64__ || defined __aarch64__ +#define LUA_CDIR "/usr/lib64/lua/5.1/" +#else +#define LUA_CDIR "/usr/lib/lua/5.1/" Mark: yes, that is proper fix - doing test build now. Lua 5.2.2 (rawhide) does not need that patch as they use @libdir like it should be done. Did a build and my test works as expected now. Created attachment 796746 [details]
updated spec file
Created attachment 796747 [details]
fix for AArch64 architecture
Created attachment 796748 [details]
Changeset with spec and patch
rawhide upgraded to 5.2.2 so no issue |