Created attachment 522502 [details] build.log On prefix system, eclass will add '--defaults-file=${MY_SYSCONFDIR}/my.cnf' for mysqld. But the single quote preserves as part of argument passed to mysqld, causing an error: /home/xiami/gentoo//usr/sbin/mysqld: Too many arguments (first extra is ''--defaults-file=/home/xiami/gentoo/etc/mysql/my.cnf''). To fix this, either remove single quote or run mysqld under *eval* environment (preferred?) would be ok. Both patches uploaded into a single attachment. Don't know which product I should submit to (both eclass and prefix). Sorry if I sent to wrong place.
Created attachment 522504 [details, diff] mysql-multilib-r1.patch
On line 938: su -s /bin/sh -c "${cmd[*]}" mysql >"${TMPDIR}"/mysql_install_db.log 2>&1 Therefore I take the same "eval" method.
Eclass removed