| Summary: | mysql-multilib-r1: prefix environment, pkg_config failure: mysqld: Too many arguments | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Xiami <i> |
| Component: | Eclasses | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | grknight, jmbsvicetto, robbat2 |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
mysql-multilib-r1.patch |
||
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 |
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.