Trying out gnome 2.12, got everything built that needed to be built, but revdep told me I should rebuild firefox. So, off I went, and then got: [...] i686-pc-linux-gnu-g++ -o nsSVGCairoCanvas.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../../../../../gfx/src -I../../../../../gfx/src/gtk -I../../../../../dist/include/xpcom -I../../../../../dist/include/widget -I../../../../../dist/include/pref -I../../../../../dist/include/gfx -I../../../../../dist/include/imglib2 -I../../../../../dist/include/string -I../../../../../dist/include/dom -I../../../../../dist/include/content -I../../../../../dist/include/necko -I../../../../../dist/include/util -I../../../../../dist/include/uconv -I../../../../../dist/include/windowwatcher -I../../../../../dist/include/layout -I../../../../../dist/include -I/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/dist/include/nspr -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../../../mozilla-config.h -Wp,-MD,.deps/nsSVGCairoCanvas.pp nsSVGCairoCanvas.cpp 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 `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/layout/svg/renderer/src/cairo' gmake[5]: *** [libs] Error 2 gmake[5]: Leaving directory `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/layout/svg/renderer/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/layout/svg/renderer' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/layout/svg' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla/layout' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/src/tmp/portage/mozilla-firefox-1.0.6-r7/work/mozilla' make: *** [default] Error 2 !!! ERROR: www-client/mozilla-firefox-1.0.6-r7 failed. !!! Function src_compile, Line 192, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Phil ~ # emerge info Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r1, 2.6.13-gentoo-r1 i686) ================================================================= System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/src/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/src/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvd dvdr dvi eds emboss encode esd fam firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal imagemagick imlib jpeg lesstif libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nntp nptl nptlonly offensive ogg oggvorbis opengl pam pdflib perl png python quicktime readline real samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml2 xmms xv zlib video_cards_i915 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Added link to the gnome 2.12 tracker...
Please don't assign bugs unless you know where they go, mozilla-firefox is maintained by the mozilla herd.
This happens for me too; remerging with USE=-mozsvg worked (except, of course, no SVG support ...). Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-4.0.1, glibc-2.3.5.20050421-r0, 2.6.12-gentoo-r3 x86_64) ================================================================= System uname: 2.6.12-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -g -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib64/mozilla/defaults/pref /usr/share/config /var/lib/games/*.scores /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/gconf/schemas/ /etc/init.d/ /etc/sound/events/ /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -g -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FEATURES="autoconfig distlocks nostrip sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ " LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/var/portage /home/jyrinx/var/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi4linux aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts blas bonobo bzlib caps cdb cdda cddb cdio cdparanoia cdr crypt cscope ctype cups curl dba dbus dlloader doc dvd dvdr dvdread eds emboss encode esd fam fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gb gcj gd gif glitz gnome gnuplot gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal haskell icq imagemagick imap imlib ipv6 jack java javascript jpeg junit ladcca ldap libgda libwww lzw lzw-tiff ming mng motif mozilla mp3 mpeg mysql ncurses nls nptl offensive ogg oggvorbis openal opengl pam pcre pda pdflib perl php pic png pnp python quicktime readline samba sdk sdl slang sockets socks5 spell ssl subversion svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf wxwindows xine xinerama xml2 xosd xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Wrt comment #2 - it was raised against gnome 2.12 because the only reason this version of cairo is unmasked is because of the gnome 2.12 unmask list. Anyway, I apologise for getting it wrong. Silly me thinking that as a result of trying gnome 2.12 and having firefox fail to build that the two might be related and might be important for the gnome 2.12 people to know... And, of course, all I was following was: | We already have a tracker set up, it's: | http://bugs.gentoo.org/show_bug.cgi?id=103197 | If you find a bug, please assign the bug to gnome@gentoo.org, and then add | 103197 as a blocker for your bug. ( Of course, after you search :) ) from the post from the gnome herd about 2.12...
this is a duplicate of bug 98828 where you find a patch to build Mozilla and Firefox against >=cairo-0.5.0
*** This bug has been marked as a duplicate of 98828 ***