(pegasus:usr/portage/eclass) fabian% rm -Rf /net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64///var/lib/mysql/* (pegasus:usr/portage/eclass) fabian% emerge --config mysql-community Configuring pkg... * Creating the mysql database and setting proper * permissions on it ... * Insert a password for the mysql 'root' user * Avoid ["'_%] characters in the password > * Retype the password > .081201 11:49:02 [Note] Plugin 'InnoDB' disabled by command line option 081201 11:49:02 [ERROR] /net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64//usr/sbin/mysqld: unknown option '--skip-ndbcluster' 081201 11:49:02 [ERROR] Aborting 081201 11:49:02 [Note] /net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64//usr/sbin/mysqld: Shutdown complete ....ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64//var/run/mysqld/mysqld23469.sock' (2) * Loading "zoneinfo", this step may require a few seconds ... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64//var/run/mysqld/mysqld23469.sock' (2) /net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64/var/tmp/portage/dev-db/mysql-community-5.1.21_beta/temp/environment: line 3206: /net/pegasus.ins.cwi.nl/export/scratch1/fabian/gentoo/prefix64//var/run/mysqld/mysqld4951.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] * Stopping the server ... * Done (pegasus:usr/portage/eclass) fabian% emerge -pv mysql-community These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-db/mysql-community-5.1.21_beta USE="innodb ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -perl (-selinux) -static" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB (pegasus:usr/portage/eclass) fabian% When emerged with USE="cluster" the script barfs on "unknown option '--skip-bdb'", so I'm affraid it needs some cleverness to avoid giving options which aren't compiled in. Reproducible: Always
@Fabian: You are quite capable of assigning bugs yourself...
5.1 is in package.mask for a reason. There is much brokenness in it.
(In reply to comment #1) > @Fabian: You are quite capable of assigning bugs yourself... mysql@gentoo.org doesn't exist, and I don't know where to find the mapping herd->emailaddy (In reply to comment #2) > 5.1 is in package.mask for a reason. > There is much brokenness in it. Ok, it's the only version we use (in production), hence the report.
Created attachment 174393 [details, diff] eclass patch this works for me, not much upstream in here, I guess...
grobian: it's the actual change that concerns me. In older versions, you could pass unrecognized --skip-FOO options safely. Also, USE=innodb is no longer optional, at the explicit request of upstream. innodb is hard-included in ALL mysql builds. I'm thinking also however that we shouldn't detect which --skip to pass based on the USE flags, but rather query the MySQL to see how it was built.
5.1-specific breakage. Will have to see about when upstream solves it.