On AMD64 (at least) mysql-gui-tools does not compile. It fails with an error in a header file. The version of mysql installed on the system is 5.0.60-r1. Reproducible: Always Steps to Reproduce: 1. emerge mysql-gui-tools (USE flags: administrator nls query-browser) Actual Results: if /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-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/lib64/glib-2.0/include -I/usr/include/libxml2 -D_GNU_SOURCE -O2 -pipe -march=nocona -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 x86_64-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/lib64/glib-2.0/include -I/usr/include/libxml2 -D_GNU_SOURCE -O2 -pipe -march=nocona -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 In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:986: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:992: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:995: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:998: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:1001: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:1120: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]: 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 2956: Called gnome2_src_compile 'src_compile' 'src_compile' '--disable-java-modules' '--disable-grt' * environment, line 2171: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/temp/environment'. Expected Results: The software should compile. Emerge info: Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz Timestamp of tree: Sun, 03 Aug 2008 04:18:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-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/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--delete-after --timeout=500" 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/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 arts avahi berkdb cdr cli cracklib crypt cups dri dts dvd dvdr fortran gdbm gpm gtk hal iconv ieee1394 ipv6 isdnlog jpeg kde lm_sensors midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre perl png pppd python readline reflection samba session spl sse sse2 ssl tcpd truetype unicode usb vorbis wifi xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synpatics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa vga nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
*** This bug has been marked as a duplicate of bug 163151 ***