Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627214 - net-im/ejabberd-17.04-r1 : ONLY sqlite schema installed regardless of USE flags
Summary: net-im/ejabberd-17.04-r1 : ONLY sqlite schema installed regardless of USE flags
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: ejabberd Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-07 03:45 UTC by Phil Stracchino (Unix Ronin)
Modified: 2021-08-29 13:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.