Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202864 - dev-db/mysql-gui-tools-5.0_p12-r2 fails to build
Summary: dev-db/mysql-gui-tools-5.0_p12-r2 fails to build
Status: RESOLVED DUPLICATE of bug 163151
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 14:40 UTC by Jochen Riehm
Modified: 2007-12-20 17:19 UTC (History)
0 users

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


Attachments
Log of build (build.log,31.94 KB, text/plain)
2007-12-20 14:41 UTC, Jochen Riehm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Riehm 2007-12-20 14:40:48 UTC
Trying to emerge above package fails with compile error.

Printed error message in "Actual Results".

Build log in Attachment

Reproducible: Always

Steps to Reproduce:
1. emerge mysql-gui-tools
2.
3.

Actual Results:  
 * Messages for package dev-db/mysql-gui-tools-5.0_p12-r2:

 *
 * ERROR: dev-db/mysql-gui-tools-5.0_p12-r2 failed.
 * Call stack:
 *                           ebuild.sh, line 1701:  Called dyn_compile
 *                           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                           ebuild.sh, line   44:  Called src_compile
 *   mysql-gui-tools-5.0_p12-r2.ebuild, line   76:  Called gnome2_src_compile '--disable-java-modules' '--disable-grt' '--disable-canvas' '--enable-i18n'
 *                       gnome2.eclass, line   71:  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'.


Expected Results:  
emerge should build package.

System configuration:

dbrentmobil062 ~ # emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
Timestamp of tree: Mon, 17 Dec 2007 01:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext
-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --                                                                          exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd foomaticdb fortran ftp gd gdbm gif gpm gtk hal iconv ipv6 isdnlog j                                                                          ava jpeg kde lcms midi mmx mng mp3 mudflap ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python qt qt3 readline reflection samba sessio                                                                          n spl sse sse2 ssl svg tcpd tiff truetype-fonts type1-fonts unicode vhosts wmf xine 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 mulaw multi null plug rate ro                                                                          ute share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default au                                                                          thz_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 h                                                                          eaders include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" E                                                                          LIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"                                                                           LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3vir                                                                          ge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OV                                                                          ERLAY
Comment 1 Jochen Riehm 2007-12-20 14:41:43 UTC
Created attachment 138977 [details]
Log of build
Comment 2 Jochen Riehm 2007-12-20 16:26:04 UTC
Message from above URL:

file /usr/include/mysql/my_global.h line 361 
 
 
Code:
  #include <asm/atomic.h>
   
 
 Change this line to 
 
 
Code:
  /* #include <asm/atomic.h> */
   
 
 And try to emerge again. This worked for me.

And

Well, 
 
 I additionally tried this: 
 
 
Code:

   # wipe mysql from harddisk 
 emerge -C mysql 
 # verify that /usr/include/mysql/ is empty 
 ls -l /usr/include/mysql 
 # the directory was empty, so reinstall mysql 
 emerge  -vu mysql 
 
   
 
 I checked that /usr/include/mysql/my_global.h and found the same entry at line 361 as before: 
 
Zitat:
  #include <asm/atomic.h>
   
 
 Curiously I tried to re-emerge mysql-gui-tools and now it worked. I don't know what changed now, but now it also compiled fine (without having commented that line 361)...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-20 17:19:15 UTC

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