Bug 1232688 - lua-dbi drivers broken
Summary: lua-dbi drivers broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-dbi
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-17 10:00 UTC by Anatoly Shipitsyn
Modified: 2015-06-30 00:25 UTC (History)
2 users (show)

Fixed In Version: lua-dbi-0.5-13.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-24 16:07:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anatoly Shipitsyn 2015-06-17 10:00:49 UTC
Description of problem:
Lua see only SQLite3 
 lua -e 'for _,v in ipairs(require"DBI".Drivers()) do print(v) end'
SQLite3

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

lua -v
Lua 5.3.0  Copyright (C) 1994-2015 Lua.org, PUC-Rio

Name        : lua-dbi
Arch        : x86_64
Epoch       : 0
Version     : 0.5
Release     : 11.fc22
Size        : 66 k


How reproducible:

Run: lua -e 'for _,v in ipairs(require"DBI".Drivers()) do print(v) end'
Get output: SQLite3

Or run lua and try require mysql and postresql:

Lua 5.3.0  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> require('dbdmysql')
error loading module 'dbdmysql' from file '/usr/lib64/lua/5.3/dbdmysql.so':
        /usr/lib64/lua/5.3/dbdmysql.so: undefined symbol: luaL_checkint
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> return require('dbdpostgresql')
error loading module 'dbdpostgresql' from file '/usr/lib64/lua/5.3/dbdpostgresql.so':
        /usr/lib64/lua/5.3/dbdpostgresql.so: undefined symbol: luaL_checkint
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> 

Also this bug find in compat lua and compat-dbi-lua

Comment 1 Robert Scheck 2015-06-20 20:53:42 UTC
Confirmed while this issue only seems to exist in Fedora 22 and not in 21.

Comment 2 Robert Scheck 2015-06-20 22:29:46 UTC
Correcting myself: The issue exists either for the main and/or the -compat
package from Fedora 20 till Rawhide.

Comment 3 Fedora Update System 2015-06-20 22:39:07 UTC
lua-dbi-0.5-13.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/lua-dbi-0.5-13.fc22

Comment 4 Fedora Update System 2015-06-20 22:39:27 UTC
lua-dbi-0.5-13.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/lua-dbi-0.5-13.fc21

Comment 5 Fedora Update System 2015-06-20 22:39:48 UTC
lua-dbi-0.5-13.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/lua-dbi-0.5-13.fc20

Comment 6 Fedora Update System 2015-06-22 10:34:25 UTC
Package lua-dbi-0.5-13.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lua-dbi-0.5-13.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10471/lua-dbi-0.5-13.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-06-24 16:07:42 UTC
lua-dbi-0.5-13.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-06-30 00:16:36 UTC
lua-dbi-0.5-13.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-06-30 00:25:51 UTC
lua-dbi-0.5-13.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.