Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304541 - dev-db/mysql-workbench-5.2.15 fails due to missing luaL_openlib in lua_context.cpp:2690
Summary: dev-db/mysql-workbench-5.2.15 fails due to missing luaL_openlib in lua_contex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 12:31 UTC by f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Modified: 2010-02-17 17:13 UTC (History)
0 users

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


Attachments
build.log (build.log.part1,129.89 KB, text/plain)
2010-02-11 12:35 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details
part2 (build.log.part2,513.22 KB, text/plain)
2010-02-11 12:35 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details

Note You need to log in before you can comment on or make changes to this bug.
Description f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2010-02-11 12:31:28 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I../../../library/base/src -I../../../generated -I/usr/include/mysql -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -I/usr/include/python2.6 -DENABLE_LUA_MODULES -DENABLE_PYTHON_MODULES -O2 -pipe -march=core2 -Wextra -Wall -Wno-unused -Wno-deprecated -MT unserializer.lo -MD -MP -MF .deps/unserializer.Tpo -c unserializer.cpp  -fPIC -DPIC -o .libs/unserializer.o
lua_context.cpp: In member function 'void grt::LuaContext::register_grt_functions()':
lua_context.cpp:2690: error: 'luaL_openlib' was not declared in this scope
make[4]: *** [lua_context.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/serializer.Tpo .deps/serializer.Plo
mv -f .deps/unserializer.Tpo .deps/unserializer.Plo
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.15/work/mysql-workbench-oss-5.2.15/library/grt/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.15/work/mysql-workbench-oss-5.2.15/library/grt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.15/work/mysql-workbench-oss-5.2.15/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.15/work/mysql-workbench-oss-5.2.15'
make: *** [all] Error 2
 * ERROR: dev-db/mysql-workbench-5.2.15 failed:
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 3480:  Called gnome2_src_compile
 *   environment, line 2668:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"


Reproducible: Always

Steps to Reproduce:
1. emerge mysql-workbench



Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r4 x86_64)
=================================================================                                     
System uname: Linux-2.6.32-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 11 Feb 2010 12:00:01 +0000                                                      
app-shells/bash:     4.0_p37                                                                            
dev-java/java-config: 2.1.10                                                                            
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                                                 
dev-python/pycrypto: 2.1.0                                                                              
dev-util/cmake:      2.8.0-r2                                                                           
sys-apps/baselayout: 2.0.1                                                                              
sys-apps/openrc:     0.6.0-r1                                                                           
sys-apps/sandbox:    2.2                                                                                
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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/layman/energizedwork"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext X a52 aac aalib abiword accessibility acl acpi administrator aim alsa amazon amd64 apm avahi bash-completion berkdb big-tables bluetooth branding browserplugin bzip2 c++ cairo cdaudio cdr cdrom cjk cli connectionstatus consolekit cracklib crypt cups cxx dbus dhcp directfb divx djvu dri dts dvd dvdr dvi eds embedded emboss encode eselect evo exif fam fbcon fbcondecor fbdev fbsplash firefox firefox3 flac fontconfig foomaticdb fortran gconf gdbm gif glib glitz glut gmedia gmp gnome gnutls gphoto2 gpm graphviz grub gstreamer gtk hal hddtemp hdri iconv icq idn imap inotify ipv6 java java5 java6 javascript jpeg jpeg2k kde kdehiddenvisibility kerberos kipi lastfm lcms ldap libffi libnotify lm_sensors logitech-mouse mad matroska max-idx-128 mdnsresponder-compat mikmod mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql nat ncurses nforce2 nls nptl nptlonly nsplugin nspr ntfs nvidia ogg openal opengl openmp pam parport pch pcre pdf perl phonon png ppds pppd python qt3support qt4 query-browser quicktime readline realmedia reflection resolvconf sdl semantic-desktop sensord session spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg svgz sysfs t1lib tcpd theora threads thunar tiff truetype type1 unicode urandom usb utempter vdpau vim-syntax vim-with-x vorbis webkit wmp x264 xattr xcb xcomposite xml xorg xulrunner xv xvid xvmc yahoo zeroconf zip 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="apisupport cnd gsf groovy harness ide identity j2ee java nb profiler soa visualweb webcommon websvccommon xml dlight enterprise" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2010-02-11 12:35:03 UTC
Created attachment 219215 [details]
build.log
Comment 2 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2010-02-11 12:35:23 UTC
Created attachment 219217 [details]
part2
Comment 3 Mark Teller 2010-02-12 05:15:51 UTC
Apparently, recompiling dev-lang/lua with the "deprecated" USE flag fixes it.
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2010-02-17 13:42:04 UTC
Confirming that recompiling dev-lang/lua with the "deprecated" USE flag fixes the issue.
Comment 5 Hans de Graaff gentoo-dev Security 2010-02-17 17:13:02 UTC
Thanks for the report and feedback. I've updated the ebuild to require the deprecated USE flag to be set on dev-lang/lua.