| Summary: | dev-db/mysql-workbench-6.3.3 build failure: libmdcanvas.so.6.3.3: error: undefined reference to 'XFreePixmap' etc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jaak Ristioja <jaak> |
| Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ivanhoe |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jaak Ristioja
2015-06-28 13:22:06 UTC
[ebuild U ] dev-db/mysql-workbench-6.3.3::gentoo [6.2.5::gentoo] USE="doc -debug -gnome-keyring" PYTHON_TARGETS="python2_7" 0 KiB Portage 2.2.20 (python 3.4.1-final-0, hardened/linux/amd64/no-multilib, gcc-4.9.2, glibc-2.20-r2, 4.0.5-hardened-r1-uusarm x86_64) ================================================================= System uname: Linux-4.0.5-hardened-r1-uusarm-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 16299848 total, 759720 free KiB Swap: 16777212 total, 16775292 free Timestamp of repository gentoo: Sun, 28 Jun 2015 00:45:01 +0000 sh bash 4.3_p33-r2 ld GNU gold (Gentoo 2.24 p1.4 2.24) 1.11 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.4.1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.4::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.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.7.4::gentoo, 4.8.4::gentoo, 4.9.2::gentoo, 5.1.0::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: 4.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ggdb" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -pipe -march=native -ggdb" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" KERNEL="linux" LINGUAS="en et et_EE" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I can't reproduce this myself. Do you perhaps have x11-libs/cairo installed with USE=-X ? If so, does it help to emerge cairo with USE=X ? dev-db/mysql-workbench-6.3.4 fails with same error. (In reply to Hans de Graaff from comment #2) > Do you perhaps have x11-libs/cairo installed with USE=-X ? If so, does it > help to emerge cairo with USE=X ? No, x11-libs/cairo-1.14.2 has USE="X glib opengl svg xcb xlib-xcb -aqua -debug -directfb -gles2 -static-libs -valgrind". I use the gold linker by default and had the same errors. Switching to gnu ld for mysql-workbench fixed it for me.
You can override the default linker for mysql-workbench like this:
/etc/portage/env/no-gold.conf :
LDFLAGS="${LDFLAGS} -Wl,-fuse-ld=bfd"
/etc/portage/package.env :
dev-db/mysql-workbench no-gold.conf
I was trying to build dev-db/mysql-workbench-6.3.4-r2. (In reply to Konstantin (elxa) from comment #4) > I use the gold linker by default and had the same errors. Switching to gnu > ld for mysql-workbench fixed it for me. > You can override the default linker for mysql-workbench like this: > > /etc/portage/env/no-gold.conf : > > LDFLAGS="${LDFLAGS} -Wl,-fuse-ld=bfd" > > /etc/portage/package.env : > > dev-db/mysql-workbench no-gold.conf Same problem and same fix for me. mysql-workbench-6.3.9 links fine with the gold linker, |