Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213475 - dev-db/mysql-5.0.56 fails tests (Error executing mysqld --bootstrap)
Summary: dev-db/mysql-5.0.56 fails tests (Error executing mysqld --bootstrap)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-15 10:48 UTC by Jakub Januszkiewicz
Modified: 2008-05-29 18:17 UTC (History)
0 users

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 Jakub Januszkiewicz 2008-03-15 10:48:22 UTC
dev-db/mysql-5.0.56 fails tests with the following messages:

Installing Master Database
mysql-test-run: *** ERROR: Error executing mysqld --bootstrap
Could not install system database from /var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/mysql-test/var-ns/tmp/bootstrap.sql
see /var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/mysql-test/var-ns/log/bootstrap.log for errors
make: *** [test-ns] Błąd 1
 * test-ns failed


and then the same for test-ps.

bootstrap.log contains:
/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql/mysqld --no-defaults --bootstrap --basedir=/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/mysql-test --datadir=/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/mysql-test/var-ns/master-data --skip-innodb --skip-ndbcluster --tmpdir=. --core-file --language=/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql/share/english --character-sets-dir=/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql/share/charsets
080315 11:34:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
080315 11:34:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
ERROR: 1062  Duplicate entry 'localhost-' for key 1
080315 11:34:05 [ERROR] Aborting

080315 11:34:05 [Note] /var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql/mysqld: Shutdown complete


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-db/mysql-5.0.56




# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.6-r0, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Sat, 15 Mar 2008 07:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/arcon-portage /usr/portage/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dbus dlloader dri dv dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gphoto2 gpm gstreamer hal iconv ieee1394 irmc isdnlog jabber java java5 javascript jpeg kde kdehiddenvisibility kerberos kipi libnotify mad matroska midi mikmod mime mmx mng mp3 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime rdesktop readline real realmedia reflection samba sdl session spell spl sse ssl subversion svg tcpd theora threads tiff truetype unicode usb utempter vcd videos vnc vorbis win32codecs x264 x86 xattr xcomposite xine xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-29 05:31:54 UTC
Your machine is named localhost. Change the name.
Check added to the eclass.
Comment 2 Jakub Januszkiewicz 2008-05-29 18:17:07 UTC
Thanks.
I wanted to test it with mysql-5.0.60, but I ran into another issue (bug #224115).