both failing tests are, it seems, due to different wording of the expected error messages, as seen in the diffs between .result and .reject files shown. I expected LC_MESSAGES=en_GB.utf8 to be the culprit, but setting LC=C did not help. Reproducible: Always Steps to Reproduce: 1. FEATURES="-userpriv -usersandbox" emerge -av1 dev-db/mysql Actual Results: mysql [ fail ] --- /var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/mysql-test/r/mysql.result 2009-12-17 00:19:22.178543222 +0300 +++ /var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/mysql-test/r/mysql.reject 2009-12-17 00:52:41.971542501 +0300 @@ -162,8 +162,8 @@ ERROR 1049 (42000) at line 1: Unknown database 'invalid' Test connect with dbname + hostname Test connect with dbname + _invalid_ hostname -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno) -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno) +ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno) +ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno) The commands reported in the bug report ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'cyril has found a bug :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (errno) Too long dbname @@ -199,5 +199,5 @@ 1 COUNT (*) 1 -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno) +ERROR 2003 (HY000) at line 1: Can't connect to MySQL server on 'invalid_hostname' (errno) End of 5.0 tests mysqltest: Result content mismatch Stopping All Servers Restoring snapshot of databases Resuming Tests mysql_upgrade [ fail ] --- /var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/mysql-test/r/mysql_upgrade.result 2009-07-07 17:04:18.000000000 +0300 +++ /var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/mysql-test/r/mysql_upgrade.reject 2009-12-17 00:56:34.326543933 +0300 @@ -58,7 +58,7 @@ mysql.user OK DROP USER mysqltest1@'%'; Run mysql_upgrade with a non existing server socket -mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect +mysqlcheck: Got error: 2003: Can't connect to MySQL server on 'not_existing_host' (errno) when trying to connect FATAL ERROR: Upgrade failed set GLOBAL sql_mode='STRICT_ALL_TABLES,ANSI_QUOTES,NO_ZERO_DATE'; mysql.columns_priv OK mysqltest: Result content mismatch Stopping All Servers Restoring snapshot of databases Resuming Tests Expected Results: all tests should pass.
Created attachment 213249 [details] emerge --info output of emerge --info
I need the output of the following # uname -a # grep $(hostname) /etc/hosts # getent hosts $(hostname) # grep hosts /etc/nsswitch.conf # cat /etc/resolv.conf # ping -c 1 invalid_hostname # iptables-save
No response from user.
Created attachment 218285 [details] the requested info Sorry for the delay. I must have missed bugzilla's email announcing your previous comment.
reopened with requested info.
Your DNS is completely broken: lordhelmchen@bucephalos ~ $ ping -c 1 invalid_hostname PING procyon.canisminor.de (213.239.212.56) 56(84) bytes of data. 64 bytes from canisminor.de (213.239.212.56): icmp_seq=1 ttl=55 time=109 ms Something in your resolver chain is resolving any random hostname to that IP. The correct output there is: # ping invalid_hostname ping: unknown host invalid_hostname