Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291283 - x11-libs/gtk+-2.18.3 fails to compile: cannot find cairo-svg.h
Summary: x11-libs/gtk+-2.18.3 fails to compile: cannot find cairo-svg.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
: 291284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-31 11:06 UTC by Patrizio Bassi
Modified: 2009-10-31 13:51 UTC (History)
1 user (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 Patrizio Bassi 2009-10-31 11:06:53 UTC
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/printbackends/file'
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED  -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0       -DGDK_PIXBUF_DISABLE_DEPRECATED  -O2 -pipe -mtune=core2 -march=core2 -Wall -MT libprintbackend_file_la-gtkprintbackendfile.lo -MD -MP -MF .deps/libprintbackend_file_la-gtkprintbackendfile.Tpo -c -o libprintbackend_file_la-gtkprintbackendfile.lo `test -f 'gtkprintbackendfile.c' || echo './'`gtkprintbackendfile.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe -mtune=core2 -march=core2 -Wall -MT libprintbackend_file_la-gtkprintbackendfile.lo -MD -MP -MF .deps/libprintbackend_file_la-gtkprintbackendfile.Tpo -c gtkprintbackendfile.c  -fPIC -DPIC -o .libs/libprintbackend_file_la-gtkprintbackendfile.o
gtkprintbackendfile.c:35:23: error: cairo-svg.h: No such file or directory
gtkprintbackendfile.c: In function ‘file_printer_create_cairo_surface’:
gtkprintbackendfile.c:316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtkprintbackendfile.c:316: error: ‘versions’ undeclared (first use in this function)
gtkprintbackendfile.c:316: error: (Each undeclared identifier is reported only once
gtkprintbackendfile.c:316: error: for each function it appears in.)
gtkprintbackendfile.c:331: warning: implicit declaration of function ‘cairo_svg_surface_create_for_stream’
gtkprintbackendfile.c:331: warning: assignment makes pointer from integer without a cast
gtkprintbackendfile.c:332: warning: implicit declaration of function ‘cairo_svg_get_versions’
gtkprintbackendfile.c:334: warning: implicit declaration of function ‘cairo_svg_surface_restrict_to_version’
make[4]: *** [libprintbackend_file_la-gtkprintbackendfile.lo] Error 1
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/printbackends/file'

Portage 2.1.7.2 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31.4 x86_64)                                                                                         
=================================================================                                                                                                                       
System uname: Linux-2.6.31.4-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1                                                                                             
Timestamp of tree: Sat, 31 Oct 2009 09:45:02 +0000                                                                                                                                      
ccache version 2.4 [disabled]                                                                                                                                                           
app-shells/bash:     4.0_p35                                                                                                                                                            
dev-java/java-config: 2.1.9-r1                                                                                                                                                          
dev-lang/python:     2.6.3, 3.1.1-r1                                                                                                                                                    
dev-python/pycrypto: 2.0.1-r8                                                                                                                                                           
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-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.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -fopenmp"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/eselect/postgresql /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=core2 -march=core2 -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -fopenmp"
DISTDIR="/mnt/Dati/Gentoo/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="39"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/mnt/Dati/Gentoo/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="/mnt/Dati/Gentoo/tmp/"
PORTDIR="/mnt/Dati/Gentoo/portage/"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion branding bzip2 cairo caps cdda cddb cdr connectionstatus consolekit cracklib crypt css cups curl dbus divx dri dts dvd dvdr dvdread encode exif ffmpeg firefox flac ftp gif glibc-omitfp glitz glut gnutls gpm hal hddtemp iconv idn ipod ipv6 irc java java6 javascript jpeg jpeg2k justify kde kde4 kdeenablefinal kdehiddenvisibility kqemu lame libv4l2 lilo live lm_sensors lzo mad matroska mime mmx mmxext mng moonlight mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap multilib musepack ncurses network networkmanager nls nntp npp nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp openssl pam pdf plasma png python3 qt3support qt4 quicktime readline reiserfs rtc samba scanner sdl session slang smp sockets speex spell sse sse2 sse3 ssl ssse3 tao theora threads thunar tiff truetype unicode usb userlocales v4l v4l2 video vorbis webkit wlm wma wxwindows x264 xcomposite xine xml xorg xpm xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-10-31 11:56:04 UTC
*** Bug 291284 has been marked as a duplicate of this bug. ***
Comment 2 Mathieu Rochette 2009-10-31 12:26:21 UTC
ok, I was the one who make the duplicate bug.
as I said in it, gtk+ should depends on x11-libs/cairo with svg useflag enable. that solve the problem
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-10-31 13:51:09 UTC
The dep has been added to CVS w/o a bump, thanks for reporting