Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23661 - [prosody] add luadbi dependency

Attached to Project: Community Packages
Opened by Pierre Schmitz (Pierre) - Saturday, 09 April 2011, 10:25 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 13 April 2011, 14:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using the sql storage available in prosody 0.8 will fail due to missing luadbi dependency.

* set "storage = "sql""
* uncomment e.g. "sql = { driver = "MySQL", database = "prosody", username = "root", password = "", host = "localhost" }"
* start mysql, create mentioned database and user
* start prosody (at this point the initscript should fail but it does not)
* Try any command like "prosodyctl adduser me@example.com" and you will get:

example.com:storage_sql error Failed to load the LuaDBI library for accessing SQL databases: module 'DBI' not found:
no field package.preload['DBI']
no file '/usr/lib/prosody/DBI.lua'
no file '/usr/share/lua/5.1/DBI.lua'
no file '/usr/share/lua/5.1/DBI/init.lua'
no file '/usr/lib/lua/5.1/DBI.lua'
no file '/usr/lib/lua/5.1/DBI/init.lua'
no file '/usr/lib/prosody/DBI.so'
no file '/usr/lib/lua/5.1/DBI.so'
no file '/usr/lib/lua/5.1/loadall.so'
example.com:storage_sql error More information on installing LuaDBI can be found at http://prosody.im/doc/depends#luadbi
storagemanager warn Falling back to null driver for accounts storage on example.com

This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 13 April 2011, 14:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  package will be updated on next version bump
Comment by Sergej Pupykin (sergej) - Wednesday, 13 April 2011, 12:35 GMT
As I understand prosody can work without sql storage and this dep, so I added 'luadbi: SQL storage support' to optdepends in svn.
May be someone wants to move luadbi package to community.
Comment by Pierre Schmitz (Pierre) - Wednesday, 13 April 2011, 14:43 GMT
Yes sure, it's an optional dependency.

Loading...