Well, =dev-db/mysql-community-5.0.77-r1 doesn't compile. [emerge output] x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -march=native -O2 -msse4.1 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT filesort.o -MD -MP -MF .deps/filesort.Tpo -c -o filesort.o filesort.cc mv -f .deps/filesort.Tpo .deps/filesort.Po x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -march=native -O2 -msse4.1 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o handler.cc mv -f .deps/handler.Tpo .deps/handler.Po x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -march=native -O2 -msse4.1 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_heap.o -MD -MP -MF .deps/ha_heap.Tpo -c -o ha_heap.o ha_heap.cc mv -f .deps/ha_heap.Tpo .deps/ha_heap.Po x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -march=native -O2 -msse4.1 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_berkeley.o -MD -MP -MF .deps/ha_berkeley.Tpo -c -o ha_berkeley.o ha_berkeley.cc mv -f .deps/ha_berkeley.Tpo .deps/ha_berkeley.Po x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -march=native -O2 -msse4.1 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_innodb.o -MD -MP -MF .deps/ha_innodb.Tpo -c -o ha_innodb.o ha_innodb.cc ha_innodb.cc: In function 'void innobase_mysql_print_thd(FILE*, void*, uint)': ha_innodb.cc:650: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result ha_innodb.cc: In function 'bool innodb_I_S_buffer_pool_content(THD*, TABLE_LIST*)': ha_innodb.cc:6748: error: invalid conversion from 'const char*' to 'char*' make[4]: *** [ha_innodb.o] Error 1 make[4]: Leaving directory `/tmp/portage/portage/dev-db/mysql-community-5.0.77-r1/work/mysql/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/portage/portage/dev-db/mysql-community-5.0.77-r1/work/mysql/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/portage/portage/dev-db/mysql-community-5.0.77-r1/work/mysql/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/portage/dev-db/mysql-community-5.0.77-r1/work/mysql' make: *** [all] Error 2 * * ERROR: dev-db/mysql-community-5.0.77-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4105: Called mysql_src_compile * environment, line 3630: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/portage/log/dev-db:mysql-community-5.0.77-r1:20090707-125521.log'. * The ebuild environment file is located at '/tmp/portage/portage/dev-db/mysql-community-5.0.77-r1/temp/environment'. * >>> Failed to emerge dev-db/mysql-community-5.0.77-r1, Log file: >>> '/var/portage/log/dev-db:mysql-community-5.0.77-r1:20090707-125521.log' [/emerge output] Reproducible: Always Steps to Reproduce:
Created attachment 197065 [details] emerge --info
Created attachment 197067 [details] complete build.log
hello. I have the same problem here. Portage 2.2_rc33 (default/linux/amd64/2008.0/developer, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30 x86_64) ================================================================= System uname: Linux-2.6.30-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1 Timestamp of tree: Tue, 07 Jul 2009 22:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64"
you should use latest dev-db/mysql with the community useflag to get community features aince upstream merged community into enterprise since 5.0.82, that said, this is working with glibc 2.10 and gcc 4.4
It's fixed in the main mysql .83. I'll be putting a pkgmove into the tree soon.