net-www/epiphany-1.4.6 ebuild fails when I try to upgrade Gnome. I don't really know what epiphany is, but it seems to make some sort of use of Mozilla? So i re-emerged mozilla, but with no further luck with epiphany :( Reproducible: Always Steps to Reproduce: 1. emerge -upv gnome 2. [ebuild U ] net-www/epiphany-1.4.6 [1.4.5] -debug -doc 0 kB 3. emerge -uv gnome Actual Results: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../embed -I../.. -I/usr/lib/mozilla/include/gtkembedmoz -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/caps -I/usr/lib/mozilla/include/chardet -I/usr/lib/mozilla/include/commandhandler -I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/cookie -I/usr/lib/mozilla/include/docshell -I/usr/lib/mozilla/include/dom -I/usr/lib/mozilla/include/exthandler -I/usr/lib/mozilla/include/find -I/usr/lib/mozilla/include/gfx -I/usr/lib/mozilla/include/helperAppDlg -I/usr/lib/mozilla/include/js -I/usr/lib/mozilla/include/history -I/usr/lib/mozilla/include/layout -I/usr/lib/mozilla/include/locale -I/usr/lib/mozilla/include/mimetype -I/usr/lib/mozilla/include/necko -I/usr/lib/mozilla/include/nkcache -I/usr/lib/mozilla/include/passwordmgr -I/usr/lib/mozilla/include/pipboot -I/usr/lib/mozilla/include/pipnss -I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/shistory -I/usr/lib/mozilla/include/uriloader -I/usr/lib/mozilla/include/uconv -I/usr/lib/mozilla/include/webbrowserpersist -I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/widget -I/usr/lib/mozilla/include/windowwatcher -I/usr/lib/mozilla/include/xmlextras -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/xpconnect -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -DSHARE_DIR=\"/usr/share/epiphany\" -DMOZILLA_HOME=\"/usr/lib/mozilla\" -DMOZILLA_PREFIX=\"/usr/lib/mozilla\" -DALLOW_PRIVATE_API -fno-rtti -fshort-wchar -O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -m3dnow -funroll-loops -fomit-frame-pointer -pipe -MT GlobalHistory.lo -MD -MP -MF .deps/GlobalHistory.Tpo -c GlobalHistory.cpp -fPIC -DPIC -o .libs/GlobalHistory.o GlobalHistory.cpp:157: error: prototype for `nsresult MozGlobalHistory::RemovePage(const char*)' does not match any in class `MozGlobalHistory' GlobalHistory.h:47: error: candidate is: virtual nsresult MozGlobalHistory::RemovePage(nsIURI*) GlobalHistory.cpp:164: error: prototype for `nsresult MozGlobalHistory::RemovePagesFromHost(const char*, PRBool)' does not match any in class `MozGlobalHistory' GlobalHistory.h:47: error: candidate is: virtual nsresult MozGlobalHistory::RemovePagesFromHost(const nsACString&, PRBool) GlobalHistory.cpp:196: error: prototype for `nsresult MozGlobalHistory::MarkPageAsTyped(const char*)' does not match any in class `MozGlobalHistory' GlobalHistory.h:47: error: candidate is: virtual nsresult MozGlobalHistory::MarkPageAsTyped(nsIURI*) distcc[10140] ERROR: compile GlobalHistory.cpp on 192.168.0.10/2 failed make[3]: *** [GlobalHistory.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/epiphany-1.4.6/work/epiphany-1.4.6/embed/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/epiphany-1.4.6/work/epiphany-1.4.6/embed' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/epiphany-1.4.6/work/epiphany-1.4.6' make: *** [all] Error 2 !!! ERROR: net-www/epiphany-1.4.6 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Update of Gnome to go smooooooth ;) emerge info Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 2 2004, 17:33:59)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -m3dnow -funroll-loops -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -m3dnow -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.gehlin.com http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X X509 a52 aalib acpi afs alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bmp bonobo bzlib cdparanoia cdr chroot cross crypt cups dba dga dio directfb divx4linux dv dvb dvd dvdr dvdread encode escreen esd exif extensions f77 faac faad fam fame fbcon flac foomaticdb fortran fpx ftp gd gd-external gdbm ggi gif gmp gnome gnustep gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtk2icq gtkhtml hal howl ieee1394 imagemagick imap imlib insecure-drivers ipv6 jack java javascript jbig jce jpeg jpeg2k kde kerberos krb4 lcmsdv ldap libcaca libclamav libg++ libwww lirc live lm_sensors lzo mad md5sum mikmod mime mjpeg mmap mmx mmx2 motif mozilla mpeg msn mysql mythtv nas ncurses network nls nntp nocardbus nvidia objc offensive oggvorbis opengl oss pam pcre pdflib perl php plotutils png pnp portaudio python qt quicktime quotas readline real remote rrdtool rtc samba sasl sdl session shared sharedmem slp sndfile snmp speex spl sse ssl stats svga sysvipc tcltk tcpd tga theora tiff truetype unicode usb v4l v4l2 vdesktop vhosts vim-with-x virus-scan wmf x86 xanim xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandrrecode xscreensaver xv xvid xvmc zlib zvbi video_cards_nvidia"
I think this has to do possibly with Mozilla being updated to 1.7.5. I get the same error.
This has to do with a change in the Mozilla API (based on the error). Stupid if Mozilla changed their API in 1.7.x revision bump but I guess they did. From a quick glance at Epiphany it looks like 1.5.2 incorporates Mozilla API changes that happened recently. I'm willing to bet we're going to have to install Epiphany 1.5.2 to support Mozilla 1.7.5.
I've got a patch that fixes this for epiphany-1.4.6/moz-1.7.5 - I'm just going to test it against an older mozilla.
Verified working with 1.7.3 and 1.7.5. The patch fixes the #includes for the GlobalHistory test, which were permanently failing - but on missing includes, not on their detection. Thanks for your report.
*** Bug 75421 has been marked as a duplicate of this bug. ***