i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_catalogs.lo -MD -MP -MF .deps/myx_catalogs.Tpo -c myx_catalogs.c -fPIC -DPIC -o .libs/myx_catalogs.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_exporter.lo -MD -MP -MF .deps/myx_exporter.Tpo -c myx_exporter.c -fPIC -DPIC -o .libs/myx_exporter.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_exporter.lo -MD -MP -MF .deps/myx_exporter.Tpo -c myx_exporter.c -o myx_exporter.o >/dev/null 2>&1 myx_catalogs.c: In function 'myx_get_schema_table_status': myx_catalogs.c:905: warning: pointer/integer type mismatch in conditional expression myx_catalogs.c:905: warning: assignment makes integer from pointer without a cast myx_catalogs.c:906: warning: pointer/integer type mismatch in conditional expression myx_catalogs.c:906: warning: assignment makes integer from pointer without a cast i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_catalogs.lo -MD -MP -MF .deps/myx_catalogs.Tpo -c myx_catalogs.c -o myx_catalogs.o >/dev/null 2>&1 if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_library.lo -MD -MP -MF ".deps/myx_library.Tpo" -c -o myx_library.lo myx_library.c; \ then mv -f ".deps/myx_library.Tpo" ".deps/myx_library.Plo"; else rm -f ".deps/myx_library.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_library.lo -MD -MP -MF .deps/myx_library.Tpo -c myx_library.c -fPIC -DPIC -o .libs/myx_library.o if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_network.lo -MD -MP -MF ".deps/myx_network.Tpo" -c -o myx_network.lo myx_network.c; \ then mv -f ".deps/myx_network.Tpo" ".deps/myx_network.Plo"; else rm -f ".deps/myx_network.Tpo"; exit 1; fi In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:982:1: warning: "PACKAGE" redefined In file included from myx_library.c:28: ../../../config.h:68:1: warning: this is the location of the previous definition In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:988:1: warning: "PACKAGE_NAME" redefined In file included from myx_library.c:28: ../../../config.h:74:1: warning: this is the location of the previous definition In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:991:1: warning: "PACKAGE_STRING" redefined In file included from myx_library.c:28: ../../../config.h:77:1: warning: this is the location of the previous definition In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:994:1: warning: "PACKAGE_TARNAME" redefined In file included from myx_library.c:28: ../../../config.h:80:1: warning: this is the location of the previous definition In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:997:1: warning: "PACKAGE_VERSION" redefined In file included from myx_library.c:28: ../../../config.h:83:1: warning: this is the location of the previous definition In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:1113:1: warning: "VERSION" redefined In file included from myx_library.c:28: ../../../config.h:89:1: warning: this is the location of the previous definition In file included from myx_library.c:35: /usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory make[4]: *** [myx_library.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_network.lo -MD -MP -MF .deps/myx_network.Tpo -c myx_network.c -fPIC -DPIC -o .libs/myx_network.o myx_network.c: In function 'myx_ping_host': myx_network.c:217: warning: dereferencing type-punned pointer will break strict-aliasing rules i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O3 -march=pentium4 -pipe -fomit-frame-pointer -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_network.lo -MD -MP -MF .deps/myx_network.Tpo -c myx_network.c -o myx_network.o >/dev/null 2>&1 make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/work/mysql-gui-tools-5.0r12/mysql-gui-common/library/base-library/source' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/work/mysql-gui-tools-5.0r12/mysql-gui-common/library/base-library' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/work/mysql-gui-tools-5.0r12/mysql-gui-common/library' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/work/mysql-gui-tools-5.0r12/mysql-gui-common' make: *** [all] Error 2 * * ERROR: dev-db/mysql-gui-tools-5.0_p12-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2888: Called gnome2_src_compile 'src_compile' 'src_compile' '--disable-java-modules' '--disable-grt' * environment, line 2107: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * Reproducible: Always Steps to Reproduce: 1. emerge mysql-gui-tools 2. 3. Actual Results: Nothing. a big error message Expected Results: A working mysql gui tools :)
These appear to be dupes. http://bugs.gentoo.org/show_bug.cgi?id=216184 http://bugs.gentoo.org/show_bug.cgi?id=197004 mysql/my_global.h 360,362c360,362 < /*C_MODE_START*/ < /*#include <asm/atomic.h>*/ < /*C_MODE_END*/ --- > C_MODE_START > #include <asm/atomic.h> > C_MODE_END ./configure --prefix=/usr/local/mysql/ --exec-prefix=/usr/local/mysql/ --enable- dependency-tracking The source code from MySQL compiles cleanly (relatively) So... on my Turion64 2GHz with "dev-db/mysql-gui-tools ~amd64" in /etc/portage/package.keywords and FEATURES="test" # emerge -Dvp mysql-gui-tools These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/libart_lgpl-2.3.20 [2.3.19-r1] USE="-debug" 0 kB [ebuild U ] dev-libs/libIDL-0.8.10 [0.8.9] USE="-debug" 364 kB [ebuild U ] gnome-base/orbit-2.14.12 [2.14.10] USE="-debug -doc" 729 kB [ebuild U ] gnome-base/libbonobo-2.20.4 [2.20.3] USE="-debug -doc" 1,413 kB [ebuild U ] sys-apps/usbutils-0.73 [0.72-r4] USE="zlib%* -network-cron" 170 kB [ebuild U ] app-text/scrollkeeper-9999 [0.3.14-r2] USE="(-nls%*)" 0 kB [ebuild N ] app-text/rarian-0.6.0-r1 USE="-debug" 305 kB [ebuild N ] dev-db/mysql-gui-tools-5.0_p12-r2 USE="administrator nls query-browser (-workbench)" 0 kB Total: 8 packages (6 upgrades, 2 new), Size of downloads: 2,980 kB ----------------- Compiled Cleanly and is connected over a network!
*** This bug has been marked as a duplicate of bug 163151 ***
Un-merging mysql (and deleting /usr/include/mysql) doesn't solved my problem.
Sorry, at second try, it's working :o