Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165879 - media-gfx/inkscape needs x11-libs/cairo w/ USE=glitz
Summary: media-gfx/inkscape needs x11-libs/cairo w/ USE=glitz
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 263064 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-08 08:49 UTC by robustah
Modified: 2010-09-22 20:50 UTC (History)
5 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 robustah 2007-02-08 08:49:19 UTC
I don't use alot of excess use-flags and usually when an ebuild can't install it gives a message that "A needs B to be built with the C useflag" but this wasn't the case with Inkscape. It needs Cairo built with the Glitz useflag.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2007-02-08 20:19:06 UTC
Jakub: Are you sure changing the summary to "media-gfx/inkscape needs x11-libs/cairo w/ USE=glitz" does not make the problem overly specific?

Robert: I cannot readily reproduce this. Please at least specify which version of inkscape (which ebuild) you tried, and post the output of `emerge --info` when you reopen this bug.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-20 23:55:03 UTC
*** Bug 263064 has been marked as a duplicate of this bug. ***
Comment 3 Christian Strahl 2009-09-03 18:11:06 UTC
confirmed.

the build of media-gfx/inkscape-0.47_pre1 failed with the following error if 
x11-libs/cairo-1.8.8 is not build with use="glitz":


2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lfreetype -lz        -lMagick++ -lMagickCore   -lgc   -lpoppler  -lpoppler-glib 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
collect2: ld returned 1 exit status
make[2]: *** [inkview] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.47_pre1/work/inkscape-0.47pre1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.47_pre1/work/inkscape-0.47pre1'
make: *** [all] Error 2

after rebuilding x11-libs/cairo-1.8.8 with use="glitz" inkscape builds fine.
Comment 4 Christian Strahl 2009-09-03 18:12:34 UTC
# emerge --info
Portage 2.2_rc40 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Sep 2009 08:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.intergenia.de ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac acl acpi alsa amazon amd amd64 apache2 apm applet aqua_theme asf async automount avahi berkdb bonobo bzip2 c++ cairo calendar cdda cddb cdio cdr cdrom cgi cli cpudetection cracklib crypt css ctype cups custom-optimization cvs cvsgraph dbus de_tvtoday dhcp directfb divx divx4linux dpms dri dts dvb dvbplayer dvd dvdr emerald emul-linux-x86 encode exif ext-png fat fbcon fbcondecor fbsplash ffmpeg flac flash fortran fpx ftp gaim gdbm gecko gedit gif gimp gimpprint ginac glade glitz gnome gnome-keyring gnome-print gnomecanvas gnomedb gpm gps graphviz grub gs gsl gstreamer gtk gtkhtml gzip h323 hal hddtemp hfs icons iconv icq id3 ieee1394 imap inkjar ipsec ipv6 isdnlog java jfs jpeg jpeg2k lame libnotify libvisual live lm_sensors logitech-mouse mad math matroska ming mmx mmxext mng mod moonlight mouse mozbranding mozilla moznopango mp2 mp3 mp4 mp4live mpd-mad mpe mpeg mpeg2 mpeg4 mplayer mplayer-bin mudflap multilib musepack mysql nautilus ncurses net nls no-seamonkey nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp pam pcap pcapnav pcre pdf perl php plotutils png postscript pppd print ps pulseaudio python rar readline realmedia reflection reiser4 reiserfs samba sblive scanner sensord session sftp simplexml skins slang smp spell spl sql sse sse-filters sse2 ssl stream svg svgz sysfs tcpd themes theora thesaurus threads thunderbird tidy tiff totem transcode truetype tv_check type1 unicode usb userlocales utf8 vcd vdr vfat vim vim-syntax vorbis wav webdav wifi winbind wireshark wma wmf x264 xfs xine xinerama xml xmldoclet xmlreader xmlwriter xorg xpm xprint xscreensaver xsettings xsl xslt xulrunner xvid 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 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" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Cody Schafer 2010-09-22 20:48:17 UTC
I can confirm this issue with media-gfx/inkscape-0.48.0. Please Reopen.


 CXXLD  inkscape
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.48.0/work/inkscape-0.48.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.48.0/work/inkscape-0.48.0'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/inkscape-0.48.0 failed:
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3314:  Called gnome2_src_compile
 *   environment, line 2484:  Called die

 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/inkscape-0.48.0',
 * the complete build log and the output of 'emerge -pqv =media-gfx/inkscape-0.48.0'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/inkscape-0.48.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.48.0/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/inkscape-0.48.0/work/inkscape-0.48.0'
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-09-22 20:49:58 UTC
(In reply to comment #5)
> I can confirm this issue with media-gfx/inkscape-0.48.0. Please Reopen.

No, that's something entirely different. USE="glitz" is obsolete, and was removed. You need to recompile cairomm to make "libcairomm-1.0.so: undefined
reference to `cairo_glitz_surface_create'" go away.

Reopening for correct resolution.