Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562968 - dev-db/mysql-workbench-6.3.4 missing libraries
Summary: dev-db/mysql-workbench-6.3.4 missing libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-13 07:35 UTC by HelLViS69
Modified: 2017-06-05 10:21 UTC (History)
0 users

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


Attachments
segfault log (segfault.txt,73.75 KB, text/plain)
2015-10-13 07:36 UTC, HelLViS69
Details
Segfault mysql_workbench (segfault_mysql_wb,77.10 KB, text/plain)
2015-11-23 13:36 UTC, Michael Metsger
Details
mysql-workbench-6.3.4-r2-build.log (build.log.bz2,23.03 KB, application/x-bzip)
2017-05-25 10:14 UTC, HelLViS69
Details
mysql-workbench-6.3.4-r2-info.log (file_562968.txt,10.10 KB, text/plain)
2017-05-25 10:16 UTC, HelLViS69
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HelLViS69 2015-10-13 07:35:56 UTC
Hi,
mysql-workbench 6.3.4 compiles fine but misses some runtime libraries and segfaults as soon as I try to connect to a server


$ ldd `which mysql-workbench-bin` | grep 'not found' | sort | uniq
libantlr3c_wb.so => not found
libmdcanvas.so.6.3.4 => not found
libmysqlparser.so.6.3.4 => not found
libwbscintilla.so => not found

Reproducible: Always

Steps to Reproduce:
1. connect to a [stored] server
Actual Results:  
Segfaults

Expected Results:  
It should connect to a mysql server
Comment 1 HelLViS69 2015-10-13 07:36:54 UTC
Created attachment 414486 [details]
segfault log
Comment 2 HelLViS69 2015-10-13 08:12:42 UTC
Looking better, missing libraries are found inside their path

$ locate libmdcanvas
/usr/lib64/mysql-workbench/libmdcanvas.so
/usr/lib64/mysql-workbench/libmdcanvas.so.6.3.4
/usr/lib64/mysql-workbench/libmdcanvasgtk.so
/usr/lib64/mysql-workbench/libmdcanvasgtk.so.6.3.4

$ locate libantlr3c_wb
/usr/lib64/mysql-workbench/libantlr3c_wb.so

$ locate libmysqlparser
/usr/lib64/mysql-workbench/libmysqlparser.so
/usr/lib64/mysql-workbench/libmysqlparser.so.6.3.4

$ locate libwbscintilla
/usr/lib64/mysql-workbench/libwbscintilla.so
Comment 3 HelLViS69 2015-10-13 08:16:04 UTC
$ emerge --info =dev-db/mysql-workbench-6.3.4
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3992008 total,    219924 free
KiB Swap:    2097148 total,   2097008 free
Timestamp of repository gentoo: Tue, 13 Oct 2015 06:45:01 +0000
sh bash 4.3_p39
ld ld di GNU (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

open-overlay
    location: /var/lib/layman/open-overlay
    sync-type: laymansync
    sync-uri: git://github.com/pantera31752/open-overlay.git
    masters: gentoo
    priority: 50

hell-overlay
    location: /usr/local/hell-overlay
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi additions airdrop-ng airgraph-ng alsa amd64 ap apache2 bash-completion berkdb bluetooth branding bzip2 cacert cairo cdda cdr cli consolekit cracklib crypt css cuda cups curl cxx dbus declarative dhcpcd dmx dri dri3 drm dts dvd dvdnav dvdr eap-sim emboss encode evdev exif extraengine fam fasteap fbcondecor fileinfo firefox flac fortran ftp gcj gd gdbm gif git gl glamor glut gnutls gpm hpcups iconv icu imagemagick intl ipv6 jpeg kde kipi lcms ldap libmpv libnotify log4j lvm lvm1 lvm2create_initrd mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysqli ncurses nls nptl nscd nsplugin nss ntfs nvcontrol nvidia offensive ogg opengl openmp p2p pam pango passwordsave pcre pdf pdo perl phonon php plasma png policykit postscript ppds pvr pyqt4 python qt-dbus qt3support qt4 rar rdesktop readline reiserfs scanner sdl seccomp semantic-desktop sensord session snmp sockets spell sse sse2 ssh ssl ssse3 startup-notification subversion svg sync-plugin-portage syslog tcpd threads tiff tor truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vdr vim-syntax vorbis webcam wifi wimax wps wxwidgets x264 xcb xcomposite xine xinerama xml xmlreader xmlwriter xorg xrandr xscreensaver xv xvid xvmc xz zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-db/mysql-workbench-6.3.4::gentoo was built with the following:
USE="-debug -doc -gnome-keyring" ABI_X86="64" PYTHON_TARGETS="python2_7"
Comment 4 Michael Metsger 2015-11-23 13:36:27 UTC
Created attachment 417654 [details]
Segfault mysql_workbench

Segfault while connecting with stored connection
Comment 5 Michael Metsger 2015-11-23 13:37:15 UTC
Hi,

I have same bug during connection with stored connection. See Segfault mysql_workbench.
Comment 6 Hans de Graaff gentoo-dev Security 2017-05-25 07:08:45 UTC
Is this still a problem with mysql-workbench-6.3.4-r2 (next stable candidate) or mysql-workbench-6.3.9 ?
Comment 7 HelLViS69 2017-05-25 10:14:15 UTC
Created attachment 474214 [details]
mysql-workbench-6.3.4-r2-build.log
Comment 8 HelLViS69 2017-05-25 10:16:48 UTC
Created attachment 474216 [details]
mysql-workbench-6.3.4-r2-info.log
Comment 9 HelLViS69 2017-05-25 10:41:53 UTC
Hi,
I tried to build 6.3.4-r2 with no luck.

Below there's the build error. I have also attached two files

../../library/forms/libmforms.so.6.3.4: undefined reference to `Gtk::Image::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gdk::AtomStringTraits::to_cpp_type[abi:cxx11](_GdkAtom*)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gtk::SelectionData::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned char const*, int)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::result::get_variant[abi:cxx11](int)'
../../frontend/linux/linux_utilities/liblinux_utilities.so.6.3.4: undefined reference to `Gtk::SelectionData::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::command::operator%(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gtk::Builder::create_from_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Cairo::ImageSurface::create_from_png(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/libgtkmm-2.4.so: undefined reference to `Glib::ustring::ustring(std::string const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/libgdkmm-2.4.so: undefined reference to `Glib::ustring::ustring(std::string&&)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::result::get_column_name[abi:cxx11](int)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gdk::Pixbuf::create_from_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::connection::connection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::execute::execute(sqlite::connection&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::command::bind(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::result::get_column_decltype[abi:cxx11](int)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::query::query(sqlite::connection&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gdk::DragContext::get_targets[abi:cxx11]() const'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::result::get_string[abi:cxx11](int)'
../../backend/wbpublic/libwbpublic.so.6.3.4: undefined reference to `sqlite::command::command(sqlite::connection&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../../library/forms/libmforms.so.6.3.4: undefined reference to `Gtk::SelectionData::get_target[abi:cxx11]() const'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/genwrap/CMakeFiles/genwrap.dir/build.make:138: tools/genwrap/genwrap] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r2/work/mysql-workbench-6.3.4_build'
make[1]: *** [CMakeFiles/Makefile2:209: tools/genwrap/CMakeFiles/genwrap.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r2/work/mysql-workbench-6.3.4_build'
make: *** [Makefile:128: all] Error 2
Comment 10 Hans de Graaff gentoo-dev Security 2017-05-26 07:20:34 UTC
(In reply to HelLViS69 from comment #9)

> ../../library/forms/libmforms.so.6.3.4: undefined reference to
> `Gtk::Image::set(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)'

It looks like you updated gcc but did not follow the instructions in the associated news item: "2015-10-22  GCC 5 Defaults to the New C++11 ABI"
Comment 11 HelLViS69 2017-05-26 07:33:22 UTC
Yep, I ran "revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc" as described in the news as soon as I updated it.

Should I re-run it?
Comment 12 HelLViS69 2017-06-05 10:21:13 UTC
Hello,

I re-ran the revdep-rebuild and now it compiles without complains