Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql-workbench-6.1.7 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Soichiro
n00b
n00b


Joined: 28 Jul 2006
Posts: 24

PostPosted: Wed Aug 20, 2014 11:25 pm    Post subject: mysql-workbench-6.1.7 fails to build Reply with quote

I've been trying to build mysql-workbench-6.1.7 on ~amd64 and the build fails every time. Google turns up no useful results. The error occurs here in the build log:

Code:
Linking CXX executable wbcopytables
cd /var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build/plugins/migration && /usr/bin/cmake -E cmake_link_script CMakeFiles/wbcopytables.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -O2 -march=core-avx-i -pipe    -Wl,-O1 -Wl,--as-needed CMakeFiles/wbcopytables.dir/copytable/copytable.cpp.o CMakeFiles/wbcopytables.dir/copytable/python_copy_data_source.cpp.o CMakeFiles/wbcopytables.dir/copytable/main.cpp.o CMakeFiles/wbcopytables.dir/copytable/converter.cpp.o  -o wbcopytables  -L/var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build/antlr-wb -rdynamic ../../library/base/libwbbase.so -lmysqlclient -liodbc -liodbcinst -lpcre -lpcrecpp -lpython2.7 -lcairo -lglib-2.0 -lgthread-2.0 -lglib-2.0 -lgthread-2.0 -lpcre -lpcrecpp -lpython2.7 -Wl,-rpath,/var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build/antlr-wb:/var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build/library/base:
CMakeFiles/wbcopytables.dir/copytable/copytable.cpp.o: In function `MySQLCopyDataTarget::MySQLCopyDataTarget(std::string const&, int, std::string const&, std::string const&, std::string const&, std::string const&)':
copytable.cpp:(.text+0x5988): undefined reference to `mysql_options4'
collect2: error: ld returned 1 exit status
plugins/migration/CMakeFiles/wbcopytables.dir/build.make:167: recipe for target 'plugins/migration/wbcopytables' failed
make[2]: *** [plugins/migration/wbcopytables] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build'
CMakeFiles/Makefile2:2269: recipe for target 'plugins/migration/CMakeFiles/wbcopytables.dir/all' failed
make[1]: *** [plugins/migration/CMakeFiles/wbcopytables.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.1.7/work/mysql-workbench-6.1.7_build'
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-db/mysql-workbench-6.1.7::gentoo failed (compile phase):
 *   emake failed


Here is my emerge --info:

Code:
Portage 2.2.12 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.16.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8126788 total,   4067608 free
KiB Swap:    2047996 total,   2045560 free
Timestamp of tree: Wed, 20 Aug 2014 17:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sublime-text timboudreau gentoo-haskell
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core-avx-i -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.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="-O2 -march=core-avx-i -pipe"
DISTDIR="/usr/portage/distfiles"
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="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sublime-text /var/lib/layman/timboudreau /var/lib/layman/haskell"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli colord corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm geoip gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hscolour iconv icu introspection ipv6 ithreads java javascript jemalloc jpeg json lcms ldap libass libnotify libsecret logrotate mad mmx mng modules mp3 mp4 mpeg multilib mysql nautilus ncurses networkmanager nls nptl ogg openal opencl opengl openmp pam pango pcre pdf perl php png policykit ppds profile pulseaudio python qt3support readline sdl session socialweb spell sqlite sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg symlink systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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" 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="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Aug 21, 2014 1:08 am    Post subject: Reply with quote

That's >=mysql- 5.6.6 - perhaps a case of wrong deps ?
Back to top
View user's profile Send private message
Soichiro
n00b
n00b


Joined: 28 Jul 2006
Posts: 24

PostPosted: Thu Aug 21, 2014 1:43 pm    Post subject: Reply with quote

Could it be related to the fact that I am using mariadb-10.0.13?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Aug 21, 2014 3:16 pm    Post subject: Reply with quote

Well, I don't know how version numbers of one relate to the other - you need to check that.
Back to top
View user's profile Send private message
Soichiro
n00b
n00b


Joined: 28 Jul 2006
Posts: 24

PostPosted: Thu Aug 21, 2014 8:22 pm    Post subject: Reply with quote

I believe it's the equivalent of mysql-5.6.13. So, the problem is not related to mariadb then, but just that the version is too new? What is the solution then? There are no builds in portage <mysql-5.6.6 or <mariadb-10.0.6 without going back to the 5.5 branch. A version bump is also impossible because mysql-workbench-6.1.7 is the latest official version.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Aug 22, 2014 3:47 pm    Post subject: Reply with quote

AFAIU (but don't know much about specific mysql policies), if that function was added in 5.6.6, mariadb equivalent to 5.6.0 definitely didn't have it and if it was backported to the branch equivalent to 5.6 depends on mariadb backporting policies.
It may very well be the function will only be present in the next mariadb branch - you just ( :twisted: ) need to check release announcements/changelogs/sources for it.
Back to top
View user's profile Send private message
Soichiro
n00b
n00b


Joined: 28 Jul 2006
Posts: 24

PostPosted: Sat Aug 23, 2014 10:27 am    Post subject: Reply with quote

Well, it looks like I can build mysql-workbench-6.0.9 at least, I'll just mask the 6.1 versions until a fix is released. Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum