Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175824 - emerge mysql-5.0.38 fails with USE=embedded due to upstream bug 26833
Summary: emerge mysql-5.0.38 fails with USE=embedded due to upstream bug 26833
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://bugs.mysql.com/bug.php?id=26833
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 10:23 UTC by Zak Kipling
Modified: 2007-04-24 11:15 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 Zak Kipling 2007-04-24 10:23:19 UTC
When I do "emerge mysql", I get the following error:

x86_64-pc-linux-gnu-g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -I. -I.. -I../innobase/include -I../innobase/include -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex      -DDBUG_OFF -g -O2 -pipe -march=k8 -mmmx -msse -msse2 -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -fno-exceptions -felide-constructors -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_prepare.o -MD -MP -MF .deps/sql_prepare.Tpo -c -o sql_prepare.o sql_prepare.cc
sql_parse.cc: In function 'bool check_table_access(THD*, ulong, TABLE_LIST*, bool)':
sql_parse.cc:5468: error: 'org_tables' was not declared in this scope
make[3]: *** [sql_parse.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/sql_prepare.Tpo .deps/sql_prepare.Po
make[3]: Leaving directory `/tmp/portage/dev-db/mysql-5.0.38/work/mysql/libmysqld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/dev-db/mysql-5.0.38/work/mysql/libmysqld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/dev-db/mysql-5.0.38/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-5.0.38 failed.


A quick search suggests this is the same problem reported upstream here:

  http://bugs.mysql.com/bug.php?id=26833

and expected to be fixed in 5.0.40.

As that report suggests, removing "embedded" from my USE flags makes it go away.

I guess it might be worth incorporating the patch in portage for the case where USE=embedded is set though.



Reproducible: Always

Steps to Reproduce:
1. USE=embedded emerge =dev-db/mysql-5.0.38

Actual Results:  
Failure with above error message

Expected Results:  
Successful emerge.

emerge --info:

Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.3.6-r5, 2.6.20-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r4 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.12.6
Timestamp of tree: Mon, 23 Apr 2007 06:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3, 2.17.50.0.14
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -O2 -pipe -march=k8 -mmmx -msse -msse2 -m3dnow"
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 /var/bind"CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-g -O2 -pipe -march=k8 -mmmx -msse -msse2 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://ftp.caliu.info/pub/gentoo/"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/toolchain /usr/portage/local/layman/liquidx /usr/portage/local/layman/sunrise"
SYNC="rsync://gentoo-rsync.cluster.local/gentoo-portage"
USE="X aalib acl amd64 apache2 avi berkdb bitmap-fonts browserplugin cgi cjk cli cracklib crypt ctype cups curl doc dri dv edl emacs emacs-w3 faad fam fortran gdbm gif gmp gtk gtk2 gtkhtml hpn iconv idled imap imlib informatix innodb ipv6 isdnlog ithreads java jikes jimi libg++ libwww live lzo mbox midi mudflap multislot mysql ncurses network nls nptl nptlonly pam pcre pdf perl ppds pppd python qt readline reflection rtc session slang snmp soap spell spl ssl staticlibcrypto tcpd test tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb wildlsearch xml xml2 xorg xvid xvmc yaz 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 route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv r128 vesa vga fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zak Kipling 2007-04-24 11:15:49 UTC
Ignore that. I had an old local overlay of mysql.eclass that was causing problems.