Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192355 - dev-cpp/gtkmm-2.10.9/10 fails to compile if cairo was compiled without glitz/svg support
Summary: dev-cpp/gtkmm-2.10.9/10 fails to compile if cairo was compiled without glitz/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 263888 267077 341397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-12 20:31 UTC by M. B.
Modified: 2010-10-18 19:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2007-09-12 20:31:38 UTC
When you try to compile gtkmm and cairo was compiled with the glitz/svg use-flag disabled, gtkmm fails. This was tested on both the amd64-architecture and x86-architecture.

Error messages:
x86_64-pc-linux-gnu-g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -o generate_extra_defs generate_defs_gtk.o  /usr/lib64/libglibmm-2.4.so /usr/lib64/libcairomm-1.0.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so -L/usr/lib64 /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXext.so /usr/lib64/libXi.so -lpthread /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so /usr/lib64/libxml2.so /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lm /usr/lib64/libglibmm_generate_extra_defs-2.4.so /usr/lib64/libsigc-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_svg_get_versions'
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_svg_version_to_string'
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_svg_surface_restrict_to_version'
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_svg_surface_create_for_stream'
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_svg_surface_create'
collect2: ld returned 1 exit status
make[3]: *** [generate_extra_defs] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/tools/extra_defs_gen'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9/tools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.10.9/work/gtkmm-2.10.9'
make: *** [all] Fehler 2

!!! ERROR: dev-cpp/gtkmm-2.10.9 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-cpp/gtkmm-2.10.9/temp/build.log'.



If "glitz" is deactivated, only 'cairo_glitz_surface_create' is reported as not referenced, if "svg" is deactivated the others are reported.

Reproducible: Always

Steps to Reproduce:
1. disable one (or both) of these use-flags for cairo: svg glitz
2. emerge -1 cairo 
3. emerge -1 gtkmm

Actual Results:  
Compile of dev-cpp/gtkmm fails.

Expected Results:  
Clean compile of gtkmm.

If the flags are set the compile works fine.

I suppose a simple einfo-hint should be enough. Maybe a check if those use-flags are activated.

This is the emerge --info of the x86-machine used:
Portage 2.1.3.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21 i686)
=================================================================
System uname: 2.6.21 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 12 Sep 2007 19:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LANG="en_GB"
LC_ALL="en_US"
LINGUAS="en en_GB pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 alsa amr-nb amr-wb amrnb amrwb apache2 berkdb big-tables bitmap-fonts bzip2 cairo cdparanoia cli cracklib crypt cups dri dv dvd dvdread encode ffmpeg fortran ftp gdbm geoip gif glitz gnome gpm gstreamer gtk iconv id3 imagemagick ipv6 isdnlog jpeg kde lame lirc midi mmx mp2 mp3 mpeg mplayer mpm-peruser mudflap mysql ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre perl php png ppds pppd python qt3 qt4 quicktime readline realmedia reflection sdl session spl sse sse2 ssl svg tcpd thread tiff timidity toolbar truetype truetype-fonts type1-fonts unicode vorbis win32codecs x264 x86 xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB pt_BR" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

This is the emerge --info of the amd64-machine used:
Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 12 Sep 2007 05:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.mirror.solnet.ch http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/mine /usr/portage/local/layman/science /usr/portage/local/layman/berkano"
SYNC="rsync://10.2.3.4/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi aim alsa amd amd64 amr amrnb amrwb ansi apache2 arts audacious bash-completion berkdb bidi binary-drivers bindist bitmap-fonts blender-game bluetooth bonjour boost branding buttons bzip2 cairo calendar caps cdparanoia cdr cjk cli cpudetection cracklib crypt css cups cursors daap dbus de_tvtoday dga divx doc dri dts dv dvb dvd dvdr dvdread eds emboss enca encode esd evo exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gaim gd gdbm ggi gif gimp gimpprint ginac glitz glsa glut gmedia gnokii gnome gnomecanvas gnutls gphoto2 gpm graphviz groupwise gs gstreamer gtk hal hbci hddtemp hpn iconv icq id3 idn ieee1394 imagemagick imlib injection insecure-savers ipv6 irmc isdnlog jabber java javascript jce jikes jpeg jpeg2k kde kerberos lame lcms ldap libcaca libnotify libsamplerate live lm_sensors logitech-mouse lzo mad madwifi matroska mcal midi mikmod mime mixer mmap mmx mmxext mng mono mp2 mp3 mpd mpeg mplayer msn mtp mudflap musepack music musicbrainz mysql ncurses network nls nntp noamazon nowin nptl nptlonly nsplugin octave offensive ogg openal openexr opengl openmp oscar oss pam parse-clocks pcre pdf perl php physfs pmu png pppd print python qq qt3 qt3support qt4 quicktime rar readline realmedia reflection rt61pci rtc ruby samba sasl sdk sdl sensord session silc slang sndfile sockets speex spell spl sql sqlite srt sse sse2 ssl startup-notification stroke subversion svg svgz symlink sysfs syslog tcl tcpd tga themes theora threads tidy tiff tk tokenizer truetype truetype-fonts tv_check type1 type1-fonts uml unicode usb v4l v4l2 vcd videos vim-syntax vim-with-x visualization vlm vorbis vorbis-psy webdav wifi wma wmf wmp wxwindows x264 xanim xcomposite xine xml xmlwriter xorg xscreensaver xv xvid xvmc yahoo zip zlib zvbi" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="ati fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-09-18 18:57:52 UTC
Does cairomm fail?  It seems to me that you just need to re-emerge cariomm, then gtkmm will emerge fine.
Comment 2 M. B. 2007-09-19 01:34:28 UTC
Amazing!

Disabling svg- & glitz-useflags and doing "emerge -1 cairo gtkmm" gave the same compile-failure at gtkmm as before.
But when I recompiled cairomm everything worked smoothly.

Bug can be closed :)

PS: Well, maybe a hint should be added to the ebuild anyway?
Comment 3 kavol 2008-01-16 09:35:53 UTC
(In reply to comment #2)
> Bug can be closed :)

please no :-) - if it is closed, it would not show in a search for gtkmm bugs ... I just run into this issue, reading this and re-emerging cairomm helped, otherwise I would have filled another (superfluous) bugreport
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-01-16 09:42:04 UTC
It would show if properly searched for bugs using the "ALL" prefix like the front page of bugzilla says. :)

Closing then. Thanks
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-03-27 00:16:08 UTC
*** Bug 263888 has been marked as a duplicate of this bug. ***
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-23 21:15:17 UTC
*** Bug 267077 has been marked as a duplicate of this bug. ***
Comment 7 jiri valnoha 2009-04-23 21:50:53 UTC
Ihave the same problem. But I haven't enable any from this USE flags: svg, glitz.

# emerge -pv gtkmm cairo
[ebuild   R   ] x11-libs/cairo-1.8.6-r1  USE="X directfb opengl -cleartype -debug -doc -glitz -svg -xcb" 0 kB
[ebuild   R   ] dev-cpp/gtkmm-2.12.7  USE="-debug -doc -examples -test (-accessibility%)" 0 kB

Comment 8 jiri valnoha 2009-04-23 22:00:05 UTC
I overlook possibility reemerge cairomm first. I'm soorry. Now it works :].

Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-18 19:47:00 UTC
*** Bug 341397 has been marked as a duplicate of this bug. ***