Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481986 - Requesting a working mysql 5.6.* ebuild or assistance in writing one
Summary: Requesting a working mysql 5.6.* ebuild or assistance in writing one
Status: RESOLVED DUPLICATE of bug 481304
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 15:52 UTC by Darko Luketic
Modified: 2013-08-21 16:14 UTC (History)
0 users

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


Attachments
my.cnf (my.cnf,4.33 KB, text/plain)
2013-08-21 15:54 UTC, Darko Luketic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darko Luketic 2013-08-21 15:52:33 UTC
Hi,

I've been using the mysql overlay. It has an ebuild for 5.6.12.
Current GA community is 5.6.13.
It works with some adjustments, that is, it compiles.
emerge --config fails to create the db tables

5.6.* has innodb with fulltext search.
mariadb doesn't have anything equivalent.

I tried to create one on my own, but the ebuild system is so intransparent when it comes to mysql.
And I don't get why it downloads some extras from github. And there is no SLOT defined.

The basic stuff is kindof easy...

- create build dir
- change into it
- cmake -D<options> ..
- make <MAKEOPTS> (I guess)
- make install

Is the build dir the working dir in ebuilds or would I have to create a build subdir in W?
The CFLAGS,CXXFLAGS are they available in the ebuild?
What should the values for
CMAKE_INSTALL_PREFIX:PATH
MYSQL_DATADIR:PATH (/var/lib/mysql ?)

Where is the documentation for "import mysql-v2"? nm, I found it.
How do I know which files to package?
Do I need to import anything when it's a cmake build?
How do I pass configure options to a cmake build if I had to "import cmake" or w/e?
How do I 

You see it would probably be more efficient if someone familiar with the mysql ebuilds would work on it. The time it would take for me to become familiar with whatever already existing mysql eclasses is too much and then it probably won't make it into core and even if it did, I wouldn't want to maintain it because it simply isn't my product.

my.cnf needs changes. I've attached a working one (working as in --configure doesn't complain that the server isn't able to start). Slightly modified.

Mariadb isn't an alternative currently. Innodb Full Text Search is a key feature of mysql 5.6. It won't be in Mariadb 10.0 according to
https://blog.mariadb.org/mariadb-10-0-and-mysql-5-6/
Sphinx is only a temporary supplement.

There needs to be working Mysql 5.6.13 ebuild.
Comment 1 Darko Luketic 2013-08-21 15:54:20 UTC
Created attachment 356608 [details]
my.cnf

or not, now I did
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-21 16:14:16 UTC

*** This bug has been marked as a duplicate of bug 481304 ***