Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75185 - xsvg emerge fails with cairo-0.2.0 and glitz-0.2.3
Summary: xsvg emerge fails with cairo-0.2.0 and glitz-0.2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 08:05 UTC by Graeme Humphries
Modified: 2005-01-01 12:39 UTC (History)
0 users

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 Graeme Humphries 2004-12-21 08:05:27 UTC
After emerging Cairo with Glitz support, re-emerging xsvg to take advantage of this fails:

gcc  -march=athlon-xp -Os -mfpmath=sse -pipe -L/usr/X11R6/lib -lsvg-cairo -lsvg -lpng -ljpeg -lcairo -lxml2 -lpthread -lfontconfig -lpixman -lpng12 -lz -lglitz -lm    -o xsvg  args.o xsvg.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libcairo.so: undefined reference to `pixman_image_get_format'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libcairo.so: undefined reference to `pixman_format_get_masks'
collect2: ld returned 1 exit status
distcc[30449] ERROR: compile (null) on localhost failed
make[2]: *** [xsvg] Error 1
make[2]: Leaving directory `/var/tmp/portage/xsvg-0.1.2/work/xsvg-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xsvg-0.1.2/work/xsvg-0.1.2'
make: *** [all] Error 2

!!! ERROR: media-gfx/xsvg-0.1.2 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Here's my emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.7
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowex X aac aalib acpi adns aim alsa apache2 apm arts avi berkdb bitmap-fonts blender-game bootsplash bzlib cairo calendar cdparanoia cdr crypt cups curl curlwrappers debug devfs26 dts dvd dvdr dvdread encode escreen esd exif f77 faac faad fam fbcon ffmpeg fftw flac foomaticdb fortran freetype freewnn gd gdbm geoip gif gimp gimpprint glgd glitz gmp gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 hal hdf hdf5 image imagemagick imap imlib imlib2 jabber java joystick jpeg kerberos ldap libcaca libg++ libgda libwww live lufsusermount lzo lzw lzw-tiff mad matroska matrox md5sum mdb mikmod mime mixer mmap mmx mmx2 mng mono motif mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msn mysql mysqli ncurses network nls ntlm oggvorbis openal opengl oss pam pdf pdflib perl php pic png pnp psyco pthreads python qt quicktime readline rtc samba sasl sdl shared sharedmem slang sockets speex spell sqlite sse ssl stencil-buffer svg svga t1lib tcltk tcpd theora tiff transcode truetype usb wifi x86 xine xinerama xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo yv12 zlib zvbi video_cards_matrox"
Comment 1 Nahum Shalman 2004-12-22 22:37:44 UTC
I note the following:
gcc  [blah blah blah] -lpixman [blah blah blah]

On my system I installed media-libs/libpixman and (as I recall... this was about a week ago) got xsvg to compile.

My suggestion is that either libpixman be added to the dependencies for xsvg or if it is possible to build it without libpixman that someone play with the configuration and add a use flag.

I'm inclined to just add it as a dependency.  Either way, if others can confirm the dependency this should be a quick and easy fix.
Comment 2 Graeme Humphries 2004-12-23 08:00:20 UTC
Yeah, but I do have libpixman-0.1.1 on my system. Perhaps it depends on a newer version? What version do you have on yours?
Comment 3 Nahum Shalman 2004-12-23 10:46:26 UTC
Yeah, I'm running media-libs/libpixman-0.1.2.  It might need the newer version...
Comment 4 Graeme Humphries 2004-12-23 14:35:58 UTC
Yep, it emerged fine after upgrading to libpixman-0.1.2, so that's probably what the dep should be.
Comment 5 Tom Payne (RETIRED) gentoo-dev 2005-01-01 12:39:17 UTC
Thanks. x11-libs/cairo-0.2.0 dependency updated to >=media-libs/libpixman-0.1.2.

Tom