[fedora-arm] AArch64: /usr/lib/ != /usr/lib64 (LUA)

Marcin Juszkiewicz marcin at juszkiewicz.com.pl
Wed Sep 11 14:22:39 UTC 2013


I looked at list of failed builds and tried building awesome.

Why it fails?

[builder at model-1]$ grep lfs /tmp/log
openat(AT_FDCWD, "./lfs.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/lua/5.1/lfs.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/lua/5.1/lfs/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/lua/5.1/lfs.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/lua/5.1/lfs/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./lfs.so", O_RDONLY)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/lua/5.1/lfs.so", O_RDONLY) = -1 ENOENT (No such file or directory)

[builder at model-1 rpmbuild]$ find / -name lfs.so 2>/dev/null
/usr/lib64/lua/5.1/lfs.so


How to reproduce? 

Run "lua" and type: require "pl.path" - that's all (same as
awesome build system does in one step):

[builder at model-1 rpmbuild]$ lua
Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> require "pl.path"
/usr/share/lua/5.1/pl/path.lua:30: pl.path requires LuaFileSystem
stack traceback:
        [C]: in function 'error'
        /usr/share/lua/5.1/pl/path.lua:30: in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: ?
> 


More information about the arm mailing list