dev-db/mysql-gui-tools-5.0_p12-r2 fails to compile, emerge output in "actual results" field below Reproducible: Always Steps to Reproduce: 1. emerge mysql-gui-tools 2. 3. Actual Results: Fails to compile with the following results: 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 -march=athlon64 -O2 -pipe -fno-gcse -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 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 -march=athlon64 -O2 -pipe -fno-gcse -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 In file included from /usr/include/mysql/my_global.h:83, from myx_library.c:35: /usr/include/mysql/my_config.h:979: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:985: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:988: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:991: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:994: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:1110: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 myx_exporter.c: In function 'xml_exporter_setup': myx_exporter.c:483: warning: field precision should have type 'int', but argument 2 has type 'long int' 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 -march=athlon64 -O2 -pipe -fno-gcse -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 make[4]: *** [myx_library.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... 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 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 -march=athlon64 -O2 -pipe -fno-gcse -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 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 -march=athlon64 -O2 -pipe -fno-gcse -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 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 3088: Called gnome2_src_compile '--disable-java-modules' '--disable-workbench' '--enable-i18n' * environment, line 2288: 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'. * >>> Failed to emerge dev-db/mysql-gui-tools-5.0_p12-r2, Log file: >>> '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p12-r2/temp/build.log' Expected Results: compile and merge properly # emerge --info Portage 2.1.6.12 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-SMP x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-SMP-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5 Timestamp of tree: Mon, 18 May 2009 07:00:01 +0000 distcc 3.0 x86_64-pc-linux-gnu [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 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.2 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.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fno-gcse" 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/lib64/fax /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fno-gcse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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://newby.revpol.com/gentoo-portage" USE="X a52 aac acl alsa amd64 apache2 arts avi berkdb bidi bzip2 cli cracklib crypt cups dbus divx4linux dri dvd dvdread faad ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk hal iconv ieee1394 imlib ipv6 isdnlog jpeg kde kdeenablefinal ldap lm_sensors logrotate matroska midi mmx mozilla mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nvidia ogg openmp pam pcre perl png postgres ppds pppd python qt readline reflection session spl sse sse2 ssl sysfs tcpd tiff truetype unicode usb vorbis wma wxwindows xine xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="atiixp" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="streamzap" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This looks line bug 16315.
Hi Sebastian... Not sure if you put the correct bug ID in there, as I don't see how mirrorselect has any bearing on my problem. :) I did a search for this app before submitting my new bug report since the others I found were not the same issue.
bump
This is a problem with your mysql installation, bug 252732. Closing as WORKSFORME since it isn't a bug in mysql-gui-tools.