Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104507 - mozilla-firefox-1.0.6-r6 mozsvg build error on cairo
Summary: mozilla-firefox-1.0.6-r6 mozsvg build error on cairo
Status: RESOLVED DUPLICATE of bug 98828
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 12:11 UTC by Marcin Kaczmarek
Modified: 2005-09-01 15:24 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 Marcin Kaczmarek 2005-09-01 12:11:55 UTC
mozilla-firefox-1.0.6-r6 emerge with mozsvg flag returns cairo compile error:

nsSVGCairoPathGeometry.cpp: In member function `void
nsSVGCairoPathGeometry::GeneratePath(cairo_t*)':
nsSVGCairoPathGeometry.cpp:169: error:
`cairo_matrix_create_DEPRECATED_BY_cairo_matrix_t' undeclared (first use this
function)
nsSVGCairoPathGeometry.cpp:169: error: (Each undeclared identifier is reported
only once for each function it appears in.)
nsSVGCairoPathGeometry.cpp:170: error:
`cairo_matrix_set_affine_REPLACED_BY_cairo_matrix_init' undeclared (first use
this function)
nsSVGCairoPathGeometry.cpp:171: error:
`cairo_concat_matrix_REPLACED_BY_cairo_transform' undeclared (first use this
function)
nsSVGCairoPathGeometry.cpp: In member function `virtual nsresult
nsSVGCairoPathGeometry::Render(nsISVGRendererCanvas*)':
nsSVGCairoPathGeometry.cpp:218: error:
`cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use
this function)
nsSVGCairoPathGeometry.cpp:219: error:
`cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha'
undeclared (first use this function)
nsSVGCairoPathGeometry.cpp: In member function `virtual nsresult
nsSVGCairoPathGeometry::ContainsPoint(float, float, PRBool*)':
/usr/include/cairo/cairo.h:241: error: too few arguments to function `cairo_t*
cairo_create(cairo_surface_t*)'
nsSVGCairoPathGeometry.cpp:324: error: at this point in file
nsSVGCairoPathGeometry.cpp:327: error:
`cairo_default_matrix_REPLACED_BY_cairo_identity_matrix' undeclared (first use
this function)
gmake[6]: *** [nsSVGCairoPathGeometry.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
nsSVGCairoCanvas.cpp: In member function `nsresult
nsSVGCairoCanvas::Init(nsIRenderingContext*, nsIPresContext*, const nsRect&)':
/usr/include/cairo/cairo.h:241: error: too few arguments to function `cairo_t*
cairo_create(cairo_surface_t*)'
nsSVGCairoCanvas.cpp:119: error: at this point in file
nsSVGCairoCanvas.cpp:122: error:
`cairo_set_target_drawable_DEPRECATED_BY_cairo_xlib_surface_create' undeclared
(first use this function)
nsSVGCairoCanvas.cpp:122: error: (Each undeclared identifier is reported only
once for each function it appears in.)
nsSVGCairoCanvas.cpp: In member function `virtual nsresult
nsSVGCairoCanvas::Clear(nscolor)':
nsSVGCairoCanvas.cpp:208: error:
`cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use
this function)
gmake[6]: *** [nsSVGCairoCanvas.o] Error 1
gmake[6]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla/layout/svg/renderer/src/cairo'
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla/layout/svg/renderer/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla/layout/svg/renderer'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla/layout/svg'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r6/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.6-r6 failed.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




gtk+-2.8.2
pango-1.10.0
cairo-1.0-r1
libsvg-cairo-0.1.6
libsvg-0.1.3

Emerge info

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4,
glibc-2.3.4.20050125-r1, 2.6.13-rc6-isotope1 i686)
=================================================================
System uname: 2.6.13-rc6-isotope1 i686 AMD Athlon(tm) XP 1600+
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -msse -mmmx -m3dnow
-ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -msse -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distcc distlocks notitles sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -z combreloc"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/marcin/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aalib accessibility acpi adabas adns afs aim alsa apache2
apm arts atlas audiofile avi bcmath berkdb bidi bindist bitmap-fonts bmp bonobo
bzlib calendar caps cdb cdr cpdflib cross crypt cscope ctype cups curl
curwrapper db2 dba dbase dbm dbmaker dbx dedicated dga dio directfb divx4linux
dvd dvdr eds emacs emacs-w3 emboss encode esd esoob ethereal evo exif fam
fastcgi fbcon fdftk fftw filepro firebird flac flash flatfile foomaticdb fortran
freetds frontbase ftp gb gd gdbm ggi gif ginac gmp gnome gnutls gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imap imlib inifile iodbc ipv6
jabber java jikes jpeg kde lcms ldap lesstif libedit libg++ libgda libwww mad
maildir mcal memlimit mhash mikmod milter mime ming mmap mmx mng motif mozilla
mp3 mpeg msession mule myslq mysql mysqli nas ncurses nls nocardbus nptl
nptlonly odbc offensive ogg oggvorbis openal opengl oss pam pcntl pcre pdflib
perl php plotutils png pnp portaudio posix postgres ppds python qdbm qt
quicktime readline recode ruby sasl scanner sdl session shared sharedmem
simplexml slang slp sndfile snmp soap sockets speex spell spl sqlite sse sse2
ssl svg svga sysvpic szip tcltk tcpd tetex theora tidy tiff tokenizer truetype
truetype-fonts type1-fonts unicode usb videos vorbis wddx wmf wxwindows xface
xine xml xml2 xmlrpc xmms xosd xpm xsl xv xvid yaz zlib linguas_pl userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-01 15:24:55 UTC

*** This bug has been marked as a duplicate of 98828 ***