Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628484 - dev-db/mariadb-10.2.7-r2 fails to start or configure without sys-process/numactl installed
Summary: dev-db/mariadb-10.2.7-r2 fails to start or configure without sys-process/numa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-21 08:40 UTC by Craig Counts
Modified: 2017-08-21 17:09 UTC (History)
2 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 Craig Counts 2017-08-21 08:40:16 UTC
On system without numactl installed:

connie ~ # emerge --config dev-db/mariadb


Configuring pkg...

 * Trying to get password for mysql 'root' user from 'mysql' section ...
 * Trying to get password for mysql 'root' user from 'client' section ...
 * Please provide a password for the mysql 'root' user now
 * or through the /root/.my.cnf file.
 * Avoid ["'\_%] characters in the password
    >
 * Retype the password
    >
 * Creating the mysql database and setting proper permissions on it ...
 * Command: /usr/share/mariadb/scripts/mysql_install_db --basedir=/usr --user=mysql --datadir=///var/lib/mysql --tmpdir=///tmp/
Installing MariaDB/MySQL system tables in '///var/lib/mysql' ...
/usr/sbin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

On a system with numactl installed, the configure and start proceeds as expected.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-08-21 17:09:31 UTC
commit 1740d628f659f14df060c62f8b06af57d70ce67a
Author: Brian Evans <grknight@gentoo.org>
Date:   Mon Aug 21 13:06:22 2017 -0400

    dev-db/mariadb: Fix bugs relating to multilib, systemd and numa

    Bug 628484 - Add USE flag numa to pull in sys-process/numactl for build/runtime
    Bug 628458 - Fix systemd case sensitivity in configure merged from 10.1 branch
    Bug 628458 - Fix multilib header file changes that lead to build failure

    Package-Manager: Portage-2.3.8, Repoman-2.3.3