Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519692 - dev-db/mysql-workbench-6.1.7 with dev-db/mysql 5.5/5.6 - ld: warning: libmysqlclient_r.so.16, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/libmysqlcppconn.so, not found (try using -rpath or -rpath-link)
Summary: dev-db/mysql-workbench-6.1.7 with dev-db/mysql 5.5/5.6 - ld: warning: libmysq...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 08:46 UTC by Machredsch
Modified: 2014-08-16 18:45 UTC (History)
2 users (show)

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


Attachments
build.log.tar.bz2 (build.log.tar.bz2,22.46 KB, application/x-bzip-compressed-tar)
2014-08-12 08:49 UTC, Machredsch
Details
compressed build log (build.log.zip,32.64 KB, application/zip)
2014-08-12 09:25 UTC, Machredsch
Details
compressed build.log (dev-db:mysql-workbench-6.1.7:20140812-073026.log.gz,31.57 KB, application/gzip)
2014-08-12 09:31 UTC, Machredsch
Details
compressed build.log (dev-db:mysql-workbench-6.1.7:20140812-073026.log.gz,31.57 KB, application/gzip)
2014-08-12 09:36 UTC, Machredsch
Details
compressed build.log (build.log.zip,32.64 KB, application/zip)
2014-08-12 09:44 UTC, Machredsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Machredsch 2014-08-12 08:46:21 UTC
mysql-workbench-6.1.7 fails to compile with mysql 5.5 and 5.6:

...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/libmysqlcppconn.so: undefined reference to `mysql_stmt_prepare@libmysqlclient_16'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/genwrap/genwrap] Error 1
make[2]: Leaving directory `/var/tmp/portage/tmpfs/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build'
make[1]: *** [tools/genwrap/CMakeFiles/genwrap.dir/all] Error 2
...

emerge --info '=dev-db/mysql-workbench-6.1.7::gentoo':

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.16.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:     8184396 total,   5249204 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Tue, 12 Aug 2014 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo steam-overlay x11 machredsch
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l5"
PKGDIR="/usr/portage/distfiles/binpkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --exclude-from=/etc/portage/rsync_excludes"
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/portage/tmpfs"
PORTDIR="/usr/portage/ebuilds/gentoo"
PORTDIR_OVERLAY="/usr/portage/ebuilds/layman/steam /usr/portage/ebuilds/layman/x11 /usr/portage/ebuilds/machredsch"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm avx bash-completion bcmath bzip2 cairo cdda cddb cdr cleartype cli consolekit cracklib crypt ctype cups curl cxx dbus dga djvu dri dts dvd dvdr egl encode exif fat fbcon firefox flac fontconfig fortran ftp fuse gallium gdbm geoip gif gles gles2 glut gnutls gpm gtk gtk3 iconv idn imagemagick imap imlib innodb ipv6 jpeg lame lcms libkms libnotify llvm lm_sensors mad matroska mbox mime mmap mms mmx mng modules mp3 mp4 mpeg multilib musepack ncurses nls nptl ntfs ogg opencl opengl openmp openvg opus pam pcre pdf png policykit posix ppds readline rss sasl sdl session smp sockets spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vcd vdpau vhosts vorbis wavpack wxwidgets x264 x265 xattr xcb xcomposite xml xmp xpm xv xvid zip zlib" ABI_X86="64 32" 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="access_compat actions alias asis auth_basic auth_digest authn_core authn_file authz_core authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cgid charset_lite dbd dir dumpio env expires ext_filter file_cache filter headers imagemap info log_config logio mime mime_magic negotiation reqtimeout rewrite setenvif socache_shmcb speling status substitute unixd usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="fbdev radeon radeonsi fglrx" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

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

dev-db/mysql-workbench-6.1.7 was built with the following:
USE="-debug -doc -gnome-keyring -iodbc" ABI_X86="64" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Comment 1 Machredsch 2014-08-12 08:49:55 UTC
Created attachment 382720 [details]
build.log.tar.bz2
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-12 09:16:59 UTC
Comment on attachment 382720 [details]
build.log.tar.bz2

Why put a single file in a tar archive?
Comment 3 Machredsch 2014-08-12 09:17:52 UTC
because attachment was too big message
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-12 09:18:36 UTC
(In reply to Heimfrost from comment #3)
> because attachment was too big message

Then simply compress it. You don't need to create a tar archive at all to compress a file.
Comment 5 Machredsch 2014-08-12 09:25:09 UTC
Created attachment 382722 [details]
compressed build log
Comment 6 Machredsch 2014-08-12 09:31:29 UTC
Created attachment 382724 [details]
compressed build.log
Comment 7 Machredsch 2014-08-12 09:36:35 UTC
Created attachment 382726 [details]
compressed build.log

some errors accured during uploading before, sorry
Comment 8 Machredsch 2014-08-12 09:44:44 UTC
Created attachment 382728 [details]
compressed build.log

Hm, I don't really know, why all my uploaded gz files are corrupted on this page, because they are functioning on my machine. So here's the log in zip format again ;(
Comment 9 Rafał Mużyło 2014-08-12 15:12:10 UTC
(In reply to Heimfrost from comment #8)
> Created attachment 382728 [details]
> compressed build.log
> 
> Hm, I don't really know, why all my uploaded gz files are corrupted on this
> page, because they are functioning on my machine. So here's the log in zip
> format again ;(

attachment 382724 [details] isn't corrupted - it's just (for some odd reason) doubly compressed (.gz.gz). As it's quite common, I wonder if all of those people are attaching the files the wrong way or the bugzilla is somehow misconfigured.


Regardless, the errors refer to libmysqlcppconn.so in a way that says "it's revdep-rebuild time".
Comment 10 Machredsch 2014-08-12 15:24:49 UTC
OK thx, I ran into this error because of mysql upgrade. I was advised to do the emerge @preserved-rebuild to recompile mysql-workbench.
Unfortunately, it doesn't say dev-db/mysql-connector-c++ should be remerged before.
Only revdep-rebuild found it now.
So this bug isn't a mysql-workbench bug any longer.

Seems bugzilla fault to me in case of gz. Because I just only uploaded the *.gz, which isn't double gzipped on my local machine and select auto-detect under content-type