Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500410 - can't initialize dev-db/mariadb-5.5.32
Summary: can't initialize dev-db/mariadb-5.5.32
Status: RESOLVED DUPLICATE of bug 453480
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: 2014-02-05 18:44 UTC by Thomas Capricelli
Modified: 2014-02-05 20:39 UTC (History)
0 users

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 Thomas Capricelli 2014-02-05 18:44:52 UTC
I fail to initialize the db.

Reproducible: Always

Steps to Reproduce:
1. emerge mariadb
2. emerge --config dev-db/mariadb

Actual Results:  
vivaldi tmp # emerge --config dev-db/mariadb


Ready to configure dev-db/mariadb-5.5.32? [Yes/No] 

 * MySQL MY_DATADIR has changed
 * from /var/lib/mysql
 * to /usr/olocal/mysql
 * Please provide a password for the mysql 'root' user now, in the
 * MYSQL_ROOT_PASSWORD env var or through the /root/.my.cnf file.
 * Avoid ["'\_%] characters in the password
    >
 * Retype the password
    >
 * Command: '/usr/share/mysql/scripts/mysql_install_db' '--basedir=/usr' --log-warnings=0 --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-innodb --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --user=mysql
 * ERROR: dev-db/mariadb-5.5.32::gentoo failed (config phase):
 *   MySQL databases not installed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called pkg_config
 *   environment, line 3552:  Called mysql-v2_pkg_config
 *   environment, line 3203:  Called die
 * The specific snippet of code:
 *       [[ -f "${ROOT}/${MY_DATADIR}/mysql/user.frm" ]] || die "MySQL databases not installed";
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mariadb-5.5.32::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-5.5.32::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-db/mariadb-5.5.32/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-db/mariadb-5.5.32/temp/environment'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/tmp/portage/dev-db/mariadb-5.5.32/work/mariadb-5.5.32'


Expected Results:  
no error

there was no /var/lib/mysql directory before i install the package.
i tried several times just in case.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2014-02-05 18:52:56 UTC
There is currently a bug in the eclasses in portage.  The mysql overlay should have the fix

*** This bug has been marked as a duplicate of bug 453480 ***
Comment 2 Thomas Capricelli 2014-02-05 20:39:42 UTC
yep, indeed, sorry for the noise.