Bug 1195707

Summary: lua-posix is unusable under Fedora 22+
Product: [Fedora] Fedora Reporter: Christopher Meng <i>
Component: lua-posixAssignee: Tim Niemueller <tim>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: michel, orion, tim
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lua-posix-33.2.1-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-26 22:17:57 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 Christopher Meng 2015-02-24 13:02:39 UTC
Fedora 22+ ships lua 5.3, while these modules are installed to lua 5.2 dirs:

$ rpm -qls lua-posix
normal        /usr/lib/lua/5.2/curses_c.la
normal        /usr/lib/lua/5.2/curses_c.so
normal        /usr/lib/lua/5.2/posix_c.la
normal        /usr/lib/lua/5.2/posix_c.so
normal        /usr/share/doc/lua-posix
normal        /usr/share/doc/lua-posix/AUTHORS
normal        /usr/share/doc/lua-posix/COPYING
normal        /usr/share/doc/lua-posix/ChangeLog
normal        /usr/share/doc/lua-posix/NEWS
normal        /usr/share/doc/lua-posix/README
normal        /usr/share/doc/luaposix
normal        /usr/share/doc/luaposix/curses.html
normal        /usr/share/doc/luaposix/curses_c.html
normal        /usr/share/doc/luaposix/examples
normal        /usr/share/doc/luaposix/examples/dir.lua.html
normal        /usr/share/doc/luaposix/examples/fork.lua.html
normal        /usr/share/doc/luaposix/examples/fork2.lua.html
normal        /usr/share/doc/luaposix/examples/getopt.lua.html
normal        /usr/share/doc/luaposix/examples/glob.lua.html
normal        /usr/share/doc/luaposix/examples/limit.lua.html
normal        /usr/share/doc/luaposix/examples/lock.lua.html
normal        /usr/share/doc/luaposix/examples/netlink-uevent.lua.html
normal        /usr/share/doc/luaposix/examples/ping.lua.html
normal        /usr/share/doc/luaposix/examples/poll.lua.html
normal        /usr/share/doc/luaposix/examples/signal.lua.html
normal        /usr/share/doc/luaposix/examples/socket.lua.html
normal        /usr/share/doc/luaposix/examples/termios.lua.html
normal        /usr/share/doc/luaposix/examples/tree.lua.html
normal        /usr/share/doc/luaposix/index.html
normal        /usr/share/doc/luaposix/ldoc.css
normal        /usr/share/doc/luaposix/modules
normal        /usr/share/doc/luaposix/modules/posix.html
normal        /usr/share/doc/luaposix/modules/posix.sys.html
normal        /usr/share/lua/5.2/curses.lua
normal        /usr/share/lua/5.2/posix
normal        /usr/share/lua/5.2/posix.lua
normal        /usr/share/lua/5.2/posix/sys.lua

=======================================================

$ lua -v && lua -e require\ \"posix\"
Lua 5.3.0  Copyright (C) 1994-2015 Lua.org, PUC-Rio
lua: (command line):1: module 'posix' not found:
        no field package.preload['posix']
        no file '/usr/share/lua/5.3/posix.lua'
        no file '/usr/share/lua/5.3/posix/init.lua'
        no file '/usr/lib/lua/5.3/posix.lua'
        no file '/usr/lib/lua/5.3/posix/init.lua'
        no file './posix.lua'
        no file './posix/init.lua'
        no file '/usr/lib/lua/5.3/posix.so'
        no file '/usr/lib/lua/5.3/loadall.so'
        no file './posix.so'
stack traceback:
        [C]: in function 'require'
        (command line):1: in main chunk
        [C]: in ?

Please fix this ASAP.

Comment 1 Orion Poplawski 2015-02-24 16:22:37 UTC
Should be fixed in -4.

Comment 2 Christopher Meng 2015-02-25 01:09:44 UTC
No, lua-posix should be updated to 33+ or you will fail at configure step.

This package needs an update.

Comment 3 Orion Poplawski 2015-02-25 03:25:57 UTC
Well, crap.  33 fails because of https://github.com/luaposix/luaposix/issues/210.  I guess we'll have to fix that then.

Comment 4 Orion Poplawski 2015-02-26 22:17:57 UTC
That was easy enough.  Should be good now.

Comment 5 Fedora Update System 2015-04-01 00:48:58 UTC
lua-posix-33.2.1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/lua-posix-33.2.1-1.fc22

Comment 6 Fedora Update System 2015-04-21 18:31:10 UTC
lua-posix-33.2.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.