I know it is masked by -amd64... dunno if u wanna reports about masked-like-that versions, so I just try it. if x86_64-pc-linux-gnu-g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql-501\"" -DSHAREDIR="\"/usr/share/mysql-501\"" -DLIBDIR="\"/usr/lib64/mysql-501\"" -I. -I. -I.. -I../include -I../include -I../include -I../include -I../sql -I../sql/examples -I../regex -I/usr/include -DDBUG_OFF -O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT handlerton.o -MD -MP -MF ".deps/handlerton.Tpo" -c -o handlerton.o handlerton.cc; \ then mv -f ".deps/handlerton.Tpo" ".deps/handlerton.Po"; else rm -f ".deps/handlerton.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql-501\"" -DSHAREDIR="\"/usr/share/mysql-501\"" -DLIBDIR="\"/usr/lib64/mysql-501\"" -I. -I. -I.. -I../include -I../include -I../include -I../include -I../sql -I../sql/examples -I../regex -I/usr/include -DDBUG_OFF -O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_plugin.o -MD -MP -MF ".deps/sql_plugin.Tpo" -c -o sql_plugin.o sql_plugin.cc; \ then mv -f ".deps/sql_plugin.Tpo" ".deps/sql_plugin.Po"; else rm -f ".deps/sql_plugin.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql-501\"" -DSHAREDIR="\"/usr/share/mysql-501\"" -DLIBDIR="\"/usr/lib64/mysql-501\"" -I. -I. -I.. -I../include -I../include -I../include -I../include -I../sql -I../sql/examples -I../regex -I/usr/include -DDBUG_OFF -O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_tablespace.o -MD -MP -MF ".deps/sql_tablespace.Tpo" -c -o sql_tablespace.o sql_tablespace.cc; \ then mv -f ".deps/sql_tablespace.Tpo" ".deps/sql_tablespace.Po"; else rm -f ".deps/sql_tablespace.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql-501\"" -DSHAREDIR="\"/usr/share/mysql-501\"" -DLIBDIR="\"/usr/lib64/mysql-501\"" -I. -I. -I.. -I../include -I../include -I../include -I../include -I../sql -I../sql/examples -I../regex -I/usr/include -DDBUG_OFF -O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT rpl_injector.o -MD -MP -MF ".deps/rpl_injector.Tpo" -c -o rpl_injector.o rpl_injector.cc; \ then mv -f ".deps/rpl_injector.Tpo" ".deps/rpl_injector.Po"; else rm -f ".deps/rpl_injector.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql-501\"" -DSHAREDIR="\"/usr/share/mysql-501\"" -DLIBDIR="\"/usr/lib64/mysql-501\"" -I. -I. -I.. -I../include -I../include -I../include -I../include -I../sql -I../sql/examples -I../regex -I/usr/include -DDBUG_OFF -O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -MT my_user.o -MD -MP -MF ".deps/my_user.Tpo" -c -o my_user.o my_user.c; \ then mv -f ".deps/my_user.Tpo" ".deps/my_user.Po"; else rm -f ".deps/my_user.Tpo"; exit 1; fi make[3]: *** No rule to make target `../storage/archive/libarchive.a', needed by `libmysqld.a'. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mysql-5.1.6_alpha-r30/work/mysql/libmysqld' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql-5.1.6_alpha-r30/work/mysql/libmysqld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-5.1.6_alpha-r30/work/mysql' make: *** [all] Error 2 !!! ERROR: dev-db/mysql-5.1.6_alpha-r30 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile ebuild.sh, line 1609: Called mysql_src_compile !!! compile problem !!! If you need support, post the topmost build error, and the call stack if relevant. emerge info: Portage 2.1_pre4-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-rc4 x86_64) ================================================================= System uname: 2.6.16-rc4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -mtune=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow" DISTDIR="/portage/distfiles" FEATURES="autoconfig distlocks noman sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LINGUAS="cs" MAKEOPTS="-j3" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/portage" PORTDIR_OVERLAY="/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi adns alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr css cups curl curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss encode fbcon ffmpeg flac flash foomaticdb fortran ftp gdbm gif gpm hal i8x0 icq id3 id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal lame lcms lzw lzw-tiff mad matroska mbox mikmod mime mp3 mpeg mplayer mysql mysqli ncurses nls nowebdav nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pcntl pcre pdflib perl php pic png posix ppds python qt quicktime readline sdl session sftplogging skey sockets speex ssl subversion svg symlink theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis xine xml xml2 xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
yes bug reports are welcome, they help me to take under control the weakest points, only don't expect bug fixing ;-) . I've an x86 system with a running 5.1 MySQL compiled with dev-db/mysql-5.1.6_alpha-r30 USE="berkdb extraengine innodb max-idx-128 perl ssl -big-tables -cluster -debug -minimal -srvdir -static" since the package fail at storage/archive you could try "-extraengine" to see if it's working (this will remove support for storage engines different from myisam and innodb) . thanks for the report
You're welcome. Flag -extraengine was already disabled, so... it must be something other. I've compiled it with: USE="berkdb innodb ssl -big-tables -cluster -debug -extraengine -max-idx-128 -minimal -perl -srvdir -static"
ok, it's exactly the opposite of what I was saying (reproducible on x86), to build it "extraengine" need to be set. The embedded server (--with[out]-embedded-server) is enabled by default, it require archive storage engine also if it's disabled in configure options. Thus fail to compile/link. Probably I'll add a USE flag to enable/disable the embedded server too, but need to check a pair of things before, the route may be also have it always enabled. This _is_ a bug at the moment, since the status of the embedded server is unspecified and our policies say it's not allowed. Also the pluggable storage engine architecture, one of the biggest features of MySQL 5.1 is still under heavy development, so it's not the case to be worried ;-) . short answer: # echo "dev-db/mysql extraengine" >> /etc/portage/package.use and try the luck again with 5.1.7_beta ;-)
Yes, it compiles with extraengine. Thanks.
5.1.7 beta is in the tree, also some use flags have been added, that may help to prevent conflicts and create others ;-) regards