Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 627214

Summary: net-im/ejabberd-17.04-r1 : ONLY sqlite schema installed regardless of USE flags
Product: Gentoo Linux Reporter: Phil Stracchino (Unix Ronin) <phils>
Component: Current packagesAssignee: ejabberd Project <ejabberd>
Status: UNCONFIRMED ---    
Severity: normal CC: flow, hanno, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Phil Stracchino (Unix Ronin) 2017-08-07 03:45:35 UTC
The ejabberd source tarball contains four SQL schema files for external database engines, although it defaults to using its own internal DB.  The four supported external DB engines are SQLite, MSSQL, MySQL, PostgreSQL.  The default in the ebuild is USE=mysql.

However, at lease with the USE=mysql default, *ONLY* the SQLite schema is installed from $WORK/ejabberd/sql to /usr/lib64/ejabberd/priv/sql.  To install the DB schema you must unpack the source again manually and copy the file yourself.

This affects all ebuild versions from 16.09 through 17.04-r1.
Comment 1 Jonas Stein gentoo-dev 2017-08-25 19:20:59 UTC
Thank you for your report. If you found already a solution, you can help the maintainer by attaching a patch or the corrected file.