Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 338311

Summary: mysql-workbench-5.2.28 ->compile failure
Product: Gentoo Linux Reporter: jms <jms.gentoo>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED CANTFIX    
Severity: normal CC: msporysz06, rob
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: portage log mysql-workbench-5.2.28
environment mysql-workbench-5.2.28

Description jms 2010-09-21 22:14:18 UTC
mysql-workbench-5.2.28 fail to compile
at
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
Comment 1 jms 2010-09-21 22:14:33 UTC
emerge --info =dev-db/mysql-workbench-5.2.28
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32-gentoo-r6jms-3.9 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r6jms-3.9-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 21 Sep 2010 18:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/portage/distfiles"
FEATURES="assume-digests autoaddcvs ccache collision-protect dislocks distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en es fr en"
PKGDIR="/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/gamerlay /usr/local/portage/jms"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm autoipd avahi bash-completion berkdb branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus dga directfb dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp glitz gnutls gphoto2 gpm gstreamer gtk gzip hal hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kontact lame laptop lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska mdnsresponder-compat memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pango pcmcia pcre pdf perl phonon php plasma png ppds pppd projectm pulseaudio python qt3support qt4 quicktime raw readline reflection scanner sdl semantic-desktop session smp speex spell sse sse2 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd theora thumbnail tidy tiff truetype unicode usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi x x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en es fr en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 jms 2010-09-21 22:15:25 UTC
[ebuild     U ] dev-db/mysql-workbench-5.2.28 [5.2.27] USE="nls readline -debug -static-libs" 
Comment 3 jms 2010-09-21 22:17:25 UTC
Created attachment 248303 [details]
portage log mysql-workbench-5.2.28
Comment 4 jms 2010-09-21 22:18:55 UTC
Created attachment 248305 [details]
environment mysql-workbench-5.2.28
Comment 5 Hans de Graaff gentoo-dev Security 2010-09-22 06:04:25 UTC
Looks like a compilation issue against cairo-1.x. Can you confirm that you use cairo-1.10.0-r3?
Comment 6 Hans de Graaff gentoo-dev Security 2010-09-22 06:05:19 UTC
I'd also be interested in your cairo USE flags.
Comment 7 jms 2010-09-22 08:48:09 UTC
(In reply to comment #6)
> I'd also be interested in your cairo USE flags.
> 

I use 
x11-libs/cairo-1.10.0-r3  USE="X directfb opengl qt4 svg xcb (-aqua) -debug -doc (-drm) (-gallium) -openvg -static-libs"

and extra info:
ls -al /usr/lib64/libcairomm*
-rw-r--r-- 1 root root 224744 Aug  2 12:09 /usr/lib64/libcairomm-1.0.a
-rw-r--r-- 1 root root   1209 Sep  2 19:31 /usr/lib64/libcairomm-1.0.la
lrwxrwxrwx 1 root root     23 Aug  2 12:09 /usr/lib64/libcairomm-1.0.so -> libcairomm-1.0.so.1.4.0
lrwxrwxrwx 1 root root     23 Aug  2 12:09 /usr/lib64/libcairomm-1.0.so.1 -> libcairomm-1.0.so.1.4.0
-rwxr-xr-x 1 root root 144120 Aug  2 12:09 /usr/lib64/libcairomm-1.0.so.1.4.0
Comment 8 jms 2010-09-22 09:04:29 UTC
well yes this bug seems related to cairo-1.10.0-r3 
which does not have media-libs/glitz unlike previous version.
It looks like mysql-workbench expect cairo to be compiled with glitz support.

 
Comment 9 Hans de Graaff gentoo-dev Security 2010-09-27 18:52:35 UTC
> /usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'

This is the clue: the problem is actually with libcairomm which can no longer find the now-removed glitz symbols. mysql-workbench has no need for glitz and compiles fine with cairo-1.10, provided that you recompile cairomm afterwards. This should really always be done, but right now we can't express this relation in our ebuilds.
Comment 10 jms 2010-10-02 16:10:35 UTC
(In reply to comment #9)

Just to confirm recompiling cairomm then compiling mysql-workbench-5.2.28 did the trick.

Thanks