Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240966 - dev-db/mysql-gui-tools my_global.h error: asm/atomic.h: No such file or directory
Summary: dev-db/mysql-gui-tools my_global.h error: asm/atomic.h: No such file or dire...
Status: RESOLVED DUPLICATE of bug 163151
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-10 06:33 UTC by Stoian Ivanov
Modified: 2008-10-11 06:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoian Ivanov 2008-10-10 06:33:35 UTC
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
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     -D_GNU_SOURCE  -march=i686 -O2 -pipe -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
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 -D_GNU_SOURCE -march=i686 -O2 -pipe -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 -D_GNU_SOURCE -march=i686 -O2 -pipe -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 2913:  Called gnome2_src_compile '--disable-java-modules' '--disable-workbench' '--enable-i18n'
 * environment, line 2144:  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'.
 *


Reproducible: Always

Steps to Reproduce:
emerge dev-db/mysql-gui-tools



vasko /usr/include # emerge --info
Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Thu, 09 Oct 2008 14:36:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs 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"
LINGUAS="en en_GB bg"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gmp gpm gstreamer hal iconv isdnlog jpeg kde kerberos libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 cgi cgid  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 rewrite setenvif so status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB bg" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

vasko /usr/include #
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-11 06:24:33 UTC
Try unmerging mysql and emerging it again. It should fix this problem, which seems to stem from using a mysql that was built against old kernel headers that have since been upgraded (see bug 163151)

*** This bug has been marked as a duplicate of bug 163151 ***