Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669492 - dev-db/mysql-workbench-8.0.13 fail with x11-libs/cairo-1.16.0
Summary: dev-db/mysql-workbench-8.0.13 fail with x11-libs/cairo-1.16.0
Status: RESOLVED DUPLICATE of bug 669196
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 669688 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-24 11:36 UTC by jms
Modified: 2018-10-26 17:32 UTC (History)
1 user (show)

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


Attachments
build log (dev-db:mysql-workbench-8.0.13:20181024-111155.log,924.28 KB, text/x-log)
2018-10-24 11:36 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2018-10-24 11:36:08 UTC
Created attachment 552688 [details]
build log

fail to build


/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_script_surface_create_for_target'
collect2: error: ld returned 1 exit status
make[2]: *** [plugins/migration/CMakeFiles/wbcopytables-bin.dir/build.make:180: plugins/migration/wbcopytables-bin] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-8.0.13/work/mysql-workbench-8.0.13_build'
make[1]: *** [CMakeFiles/Makefile2:2623: plugins/migration/CMakeFiles/wbcopytables-bin.dir/all] Error 2


 emerge -pqv '=dev-db/mysql-workbench-8.0.13::gentoo'
[ebuild     U ] dev-db/mysql-workbench-8.0.13 [6.3.10] USE="-debug -doc -gnome-keyring" PYTHON_TARGETS="python2_7" 


 emerge --info '=dev-db/mysql-workbench-8.0.13::gentoo'
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.27-r6, 4.19.0-gentoo-jms-10.8-docker-1-vb-intel-0.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.0-gentoo-jms-10.8-docker-1-vb-intel-0.1-x86_64-Intel-R-_Core-TM-_i5-7200U_CPU_@_2.50GHz-with-gentoo-2.4.1
KiB Mem:     8110736 total,   2890884 free
KiB Swap:   10485756 total,   9643536 free
Timestamp of repository gentoo: Wed, 24 Oct 2018 09:00:01 +0000
Head commit of repository gentoo: 37e657a5b7423fc2e73df0a67f04a2a8b756f4e9
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

jms-local-Overlay
    location: /usr/local/portage
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fno-delete-null-pointer-checks"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
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/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fno-delete-null-pointer-checks"
DISTDIR="/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="http://gentoo.modulix.net/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr es"
MAKEOPTS="-j3"
PKGDIR="/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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 apache2 berkdb bindist bluetooth bluray branding bzip2 cairo cdda cddb cdr cgroups cli consolekit crypt cups cxx dbus declarative dri dri3 dts dvbpsi dvd dvdr ebook efi egl emboss encode epub exif fam ffmpeg flac fortran gbm gdbm gif glamor gpm grub gtk iconv ipv6 jpeg kde kipi kwallet lame lcms ldap libass libcaca libnotify libtirpc lm_sensors lvm lzma mad matroska mng mobi mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmax openmp opus pam pango pcre pdf phonon php plasma pm-utils png policykit ppds projectm pulseaudio qml qt5 qtmedia readline sddm sdl seccomp semantic-desktop spell ssl startup-notification svg taglib tcpd threads tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vlm vorbis vpx vulkan widgets wxwidgets x264 x265 xa xattr xcb xcomposite xml xv xvid 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="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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB fr-FR es-ES en fr es" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 jms 2018-10-24 12:45:59 UTC
adn now Ican't rebuild
Comment 2 jms 2018-10-24 12:47:53 UTC
and now I have trouble rebuilding dev-db/mysql-workbench-6.3.10

/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_script_surface_create_for_target'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/genobj/CMakeFiles/genobj.dir/build.make:101: tools/genobj/genobj] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-6.3.10_build'
make[1]: *** [CMakeFiles/Makefile2:145: tools/genobj/CMakeFiles/genobj.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-6.3.10_build'
make: *** [Makefile:130: all] Error 2
 [31;01m*[0m ERROR: dev-db/mysql-workbench-6.3.10::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
Comment 3 jms 2018-10-24 13:01:36 UTC
could this be link with 
x11-libs/cairo-1.16.0 ?

eix -I cairo
[I] dev-cpp/cairomm
     Available versions:  1.12.0-r1 {X aqua doc +svg ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.12.0-r1(21:17:24 12/09/2018)(X svg -aqua -doc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            https://cairographics.org/cairomm/
     Description:         C++ bindings for the Cairo vector graphics library

[I] dev-python/pycairo
     Available versions:  1.16.3-r1 ~1.17.0 {doc examples test PYTHON_TARGETS="pypy pypy3 python2_7 python3_4 python3_5 python3_6 python3_7"}
     Installed versions:  1.16.3-r1(10:19:16 23/06/2018)(-doc -examples -test PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_4 -python3_5")
     Homepage:            https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo
     Description:         Python bindings for the cairo library

[I] x11-libs/cairo
     Available versions:  1.14.12^t (~)1.16.0^t **9999^t {X aqua debug gles2 +glib opengl static-libs +svg utils valgrind xcb ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.16.0^t(16:07:37 21/10/2018)(X glib opengl svg xcb -aqua -debug -gles2 -static-libs -utils -valgrind ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            https://www.cairographics.org
     Description:         A vector graphics library with cross-device output support
Comment 4 jms 2018-10-24 20:16:51 UTC
so it seems the problem come it the new x11-libs/cairo-1.16.0

I had x11-libs/cairo-1.16.0 and dev-python/pycairo-1.16.3-r1 

I did try  x11-libs/cairo-1.16.0 and dev-python/pycairo-1.17.0 and would fail too.


it WILL COMPILE if I revert to x11-libs/cairo-1.14.12


I also had a failure rebuilding with x11-libs/cairo-1.16.0

so I guess all dev-db/mysql-workbench need to have in ebuild ${PYTHON_DEPS}

<x11-libs/cairo-1.16
Comment 5 Sven B. 2018-10-25 05:32:54 UTC
(In reply to jms from comment #0)
> Created attachment 552688 [details]
> build log
> 
> fail to build
> 
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/
> ld: /usr/lib64/libcairomm-1.0.so: undefined reference to
> `cairo_script_surface_create_for_target'
> collect2: error: ld returned 1 exit status


Try to rebuild cairomm as mentioned in bug #669196#c5 .
Comment 6 jms 2018-10-25 19:11:25 UTC
(In reply to Sven B. from comment #5)
> (In reply to jms from comment #0)
> > Created attachment 552688 [details]
> > build log
> > 
> > fail to build
> > 
> > 
> > /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/
> > ld: /usr/lib64/libcairomm-1.0.so: undefined reference to
> > `cairo_script_surface_create_for_target'
> > collect2: error: ld returned 1 exit status
> 
> 
> Try to rebuild cairomm as mentioned in bug #669196#c5 .

yes indeed for mysql-workbench-8.0.13 and cairo-1.16.0
emerge -1v cairo pycairo cairomm
emerge -1v cairo 
emerge -1v mysql-workbench

and it will compile

Thanks
Comment 7 jms 2018-10-25 19:12:08 UTC

*** This bug has been marked as a duplicate of bug 669196 ***
Comment 8 Hans de Graaff gentoo-dev Security 2018-10-26 17:32:36 UTC
*** Bug 669688 has been marked as a duplicate of this bug. ***