Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49256 - Galeon and Epiphany failes with Mozilla 1.7 rc1
Summary: Galeon and Epiphany failes with Mozilla 1.7 rc1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 53647 54077
  Show dependency tree
 
Reported: 2004-04-28 00:30 UTC by Lars Strojny
Modified: 2004-06-20 04:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to the configure script... (mozilla-1.7rc1-support-fix.patch,405 bytes, patch)
2004-05-04 23:57 UTC, Priit Laes (IRC: plaes)
Details | Diff
Patch to the epiphany ebuild... (ebuild.patch,411 bytes, patch)
2004-05-04 23:58 UTC, Priit Laes (IRC: plaes)
Details | Diff
Patch to galeon ebuild (galeon.diff,471 bytes, patch)
2004-05-08 18:56 UTC, Alex C
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Strojny 2004-04-28 00:30:41 UTC
Steps to reproducere:
echo ">=net-www/mozilla" >> /etc/portage/package.unmask
emerge mozilla
emerge galeon epiphany

It seems it is a problem with the mozilla-embedded-stuff. Alas I have no mozilla <=1.7 so I can`t check the changes.

Here is the error-message:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../utils -I../utils -I../mozilla -I/usr/lib/mozilla/include/mozilla-1.7b/gtkembedmoz -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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 -I/usr/include/eel-2 -I/usr/include/gail-1.0 -DSHARE_DIR=\"/usr/share/galeon\" -O3 -march=pentium3 -pipe -fstack-protector -g -g -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -MT galeon-embed.lo -MD -MP -MF .deps/galeon-embed.Tpo -c galeon-embed.c  -fPIC -DPIC -o .libs/galeon-embed.o
In file included from galeon-embed.c:32:
../mozilla/mozilla-embed.h:25:25: gtkmozembed.h: No such file or directory
In file included from galeon-embed.c:32:
../mozilla/mozilla-embed.h:46: error: syntax error before "GtkMozEmbed"
../mozilla/mozilla-embed.h:46: warning: no semicolon at end of struct or union
../mozilla/mozilla-embed.h:48: error: syntax error before '}' token
../mozilla/mozilla-embed.h:52: error: syntax error before "GtkMozEmbedClass"
../mozilla/mozilla-embed.h:52: warning: no semicolon at end of struct or union
make[2]: *** [galeon-embed.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/galeon-1.3.14a/work/galeon-1.3.14/embed'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/galeon-1.3.14a/work/galeon-1.3.14'
make: *** [all] Fehler 2
 
!!! ERROR: net-www/galeon-1.3.14a failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! compile failed

emerge info output:
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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="-O3 -march=pentium3 -fomit-frame-pointer -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest keeptemp keepwork sandbox"
GENTOO_MIRRORS="http://sinistra.is-a-geek.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/lars/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi bonobo caca crypt cups encode esd ethereal foomaticdb gd gd-external gdbm gif gnome gphoto2 gpm gstreamer gtk2 gtkhtml i8x0 imagemagick imlib imlib2 irda jpeg libg++ libwww mad maildir mbox mikmod mmap mmx mng motif mozilla moznocompose moznoirc moznomail moznoxft mozsvg mpeg mysql ncurses nls nogcj nptl oggvorbis opengl openssh pcmcia pcre pdflib php plotutils png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk tcpd tiff transcode truetype usb vhosts videos wavelan wmf wxwindows x86 xface xfs xml xml2 xv zlib"
Comment 1 Lars Strojny 2004-04-28 00:37:45 UTC
Error-message epiphany:
 
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../embed -I../.. -I/usr/lib/mozilla/include/mozilla-1.7b/gtkembedmoz -I/usr/lib/mozilla/include/mozilla-1.7b/xpcom -I/usr/lib/mozilla/include/mozilla-1.7b/string -I/usr/lib/mozilla/include/mozilla-1.7b/nspr -I/usr/lib/mozilla/include/mozilla-1.7b -I/usr/lib/mozilla/include/mozilla-1.7b/appcomps -I/usr/lib/mozilla/include/mozilla-1.7b/chardet -I/usr/lib/mozilla/include/mozilla-1.7b/chrome -I/usr/lib/mozilla/include/mozilla-1.7b/content -I/usr/lib/mozilla/include/mozilla-1.7b/cookie -I/usr/lib/mozilla/include/mozilla-1.7b/commandhandler -I/usr/lib/mozilla/include/mozilla-1.7b/docshell -I/usr/lib/mozilla/include/mozilla-1.7b/dom -I/usr/lib/mozilla/include/mozilla-1.7b/exthandler -I/usr/lib/mozilla/include/mozilla-1.7b/find -I/usr/lib/mozilla/include/mozilla-1.7b/gfx -I/usr/lib/mozilla/include/mozilla-1.7b/helperAppDlg -I/usr/lib/mozilla/include/mozilla-1.7b/history -I/usr/lib/mozilla/include/mozilla-1.7b/layout -I/usr/lib/mozilla/include/mozilla-1.7b/locale -I/usr/lib/mozilla/include/mozilla-1.7b/mimetype -I/usr/lib/mozilla/include/mozilla-1.7b/necko -I/usr/lib/mozilla/include/mozilla-1.7b/nkcache -I/usr/lib/mozilla/include/mozilla-1.7b/pipnss -I/usr/lib/mozilla/include/mozilla-1.7b/pref -I/usr/lib/mozilla/include/mozilla-1.7b/progressDlg -I/usr/lib/mozilla/include/mozilla-1.7b/shistory -I/usr/lib/mozilla/include/mozilla-1.7b/string -I/usr/lib/mozilla/include/mozilla-1.7b/unicharutil -I/usr/lib/mozilla/include/mozilla-1.7b/uriloader -I/usr/lib/mozilla/include/mozilla-1.7b/wallet -I/usr/lib/mozilla/include/mozilla-1.7b/webbrowserpersist -I/usr/lib/mozilla/include/mozilla-1.7b/webbrwsr -I/usr/lib/mozilla/include/mozilla-1.7b/webshell -I/usr/lib/mozilla/include/mozilla-1.7b/widget -I/usr/lib/mozilla/include/mozilla-1.7b/windowwatcher -I/usr/lib/mozilla/include/mozilla-1.7b/xpcom -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -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\" -include /usr/lib/mozilla/include/mozilla-1.7b/mozilla-config.h -fno-rtti -fshort-wchar -O3 -march=pentium3 -fomit-frame-pointer -pipe -fstack-protector -MT ContentHandler.lo -MD -MP -MF .deps/ContentHandler.Tpo -c ContentHandler.cpp  -fPIC -DPIC -o .libs/ContentHandler.o
<command line>:138996286:60048: /usr/lib/mozilla/include/mozilla-1.7b/mozilla-config.h: No such file or directory
In file included from ContentHandler.cpp:28:
ContentHandler.h:27:40: nsIHelperAppLauncherDialog.h: No such file or directory
ContentHandler.h:28:41: nsIExternalHelperAppService.h: No such file or directory
ContentHandler.h:29:39: nsCExternalHandlerService.h: No such file or directory
ContentHandler.h:30:36: nsIWebProgressListener.h: No such file or directory
ContentHandler.h:32:22: nsString.h: No such file or directory
ContentHandler.h:33:20: nsIURI.h: No such file or directory
ContentHandler.h:34:26: nsILocalFile.h: No such file or directory
ContentHandler.h:36:19: nsCRT.h: No such file or directory
ContentHandler.h:37:29: nsWeakReference.h: No such file or directory
ContentHandler.h:39:22: nsCOMPtr.h: No such file or directory
ContentHandler.h:40:25: nsISupports.h: No such file or directory
ContentHandler.h:41:21: nsError.h: No such file or directory
In file included from ContentHandler.cpp:28:
ContentHandler.h:63: error: parse error before `{' token
ContentHandler.h:69: error: destructors must be member functions
ContentHandler.h:69: error: virtual outside class declaration
ContentHandler.h:71: error: parse error before `private'
ContentHandler.h:74: error: parse error before `)' token
ContentHandler.h:76: error: parse error before `)' token
ContentHandler.h:77: error: parse error before `)' token
ContentHandler.h:78: error: parse error before `)' token
ContentHandler.h:80: error: `nsIHelperAppLauncher' was not declared in this
   scope
ContentHandler.h:80: error: 'nsCOMPtr' is used as a type, but is not defined as
   a type.
ContentHandler.h:81: error: `nsIURI' was not declared in this scope
ContentHandler.h:81: error: 'nsCOMPtr' is used as a type, but is not defined as
   a type.
ContentHandler.h:82: error: `nsIFile' was not declared in this scope
ContentHandler.h:82: error: 'nsCOMPtr' is used as a type, but is not defined as
   a type.
ContentHandler.h:83: error: `nsISupports' was not declared in this scope
ContentHandler.h:83: error: 'nsCOMPtr' is used as a type, but is not defined as
   a type.
ContentHandler.h:86: error: 'PRBool' is used as a type, but is not defined as a
   type.
ContentHandler.h:91: error: 'nsCString' is used as a type, but is not defined
   as a type.
ContentHandler.h:92: error: 'nsCString' is used as a type, but is not defined
   as a type.
ContentHandler.h:93: error: parse error before `}' token
In file included from ContentHandler.cpp:29:
MozillaPrivate.h:1:30: nsIPrintSettings.h: No such file or directory
MozillaPrivate.h:2:26: nsIDOMWindow.h: No such file or directory
In file included from ContentHandler.cpp:29:
MozillaPrivate.h:6: error: `nsIDOMWindow' was not declared in this scope
MozillaPrivate.h:6: error: `aDOMWindow' was not declared in this scope
MozillaPrivate.h:8: error: `nsIDOMWindow' was not declared in this scope
MozillaPrivate.h:8: error: `aDOMWindow' was not declared in this scope
MozillaPrivate.h:10: error: parse error before `*' token
In file included from ContentHandler.cpp:30:
MozDownload.h:43:25: nsIDownload.h: No such file or directory
MozDownload.h:44:36: nsIWebProgressListener.h: No such file or directory
MozDownload.h:45:40: nsIHelperAppLauncherDialog.h: No such file or directory
MozDownload.h:46:41: nsIExternalHelperAppService.h: No such file or directory
MozDownload.h:47:28: nsIDOMDocument.h: No such file or directory
MozDownload.h:49:22: nsString.h: No such file or directory
MozDownload.h:50:20: nsIURI.h: No such file or directory
MozDownload.h:51:26: nsILocalFile.h: No such file or directory
MozDownload.h:52:34: nsIWebBrowserPersist.h: No such file or directory
MozDownload.h:53:25: nsIObserver.h: No such file or directory
MozDownload.h:54:24: nsIRequest.h: No such file or directory
MozDownload.h:55:25: nsIMIMEInfo.h: No such file or directory
In file included from ContentHandler.cpp:30:
MozDownload.h:83: error: `nsIDOMDocument' was not declared in this scope
MozDownload.h:83: error: `domDocument' was not declared in this scope
MozDownload.h:83: error: `nsIURI' was not declared in this scope
MozDownload.h:83: error: `sourceUri' was not declared in this scope
MozDownload.h:84: error: `nsILocalFile' was not declared in this scope
MozDownload.h:84: error: `inDestFile' was not declared in this scope
MozDownload.h:84: error: parse error before `char'
MozDownload.h:88: error: parse error before `char'
MozDownload.h:90: error: parse error before `,' token
MozDownload.h:95: error: destructors must be member functions
MozDownload.h:95: error: virtual outside class declaration
MozDownload.h:99: error: parse error before `virtual'
MozDownload.h:102: error: virtual outside class declaration
MozDownload.h:103: error: virtual outside class declaration
MozDownload.h:105: error: parse error before `*' token
MozDownload.h:106: error: `PRInt32' was not declared in this scope
MozDownload.h:106: error: `aCurrentProgress' was not declared in this scope
MozDownload.h:106: error: 'nsresult' is used as a type, but is not defined as a
   type.
MozDownload.h:107: error: `PRInt32' was not declared in this scope
MozDownload.h:107: error: `aTProgress' was not declared in this scope
MozDownload.h:107: error: 'nsresult' is used as a type, but is not defined as a
   type.
MozDownload.h:108: error: `PRInt64' was not declared in this scope
MozDownload.h:108: error: `aTProgress' was not declared in this scope
MozDownload.h:108: error: 'nsresult' is used as a type, but is not defined as a
   type.
MozDownload.h:109: error: `nsIURI' was not declared in this scope
MozDownload.h:109: error: `aSource' was not declared in this scope
MozDownload.h:109: error: `nsILocalFile' was not declared in this scope
MozDownload.h:109: error: `aTarget' was not declared in this scope
MozDownload.h:110: error: parse error before `*' token
MozDownload.h:116: error: `nsILocalFile' was not declared in this scope
MozDownload.h:116: error: 'nsCOMPtr' is used as a type, but is not defined as a
   type.
MozDownload.h:117: error: `nsIMIMEInfo' was not declared in this scope
MozDownload.h:117: error: 'nsCOMPtr' is used as a type, but is not defined as a
   type.
MozDownload.h:118: error: 'PRInt64' is used as a type, but is not defined as a
   type.
MozDownload.h:119: error: 'PRInt64' is used as a type, but is not defined as a
   type.
MozDownload.h:120: error: 'PRInt64' is used as a type, but is not defined as a
   type.
MozDownload.h:121: error: 'PRInt32' is used as a type, but is not defined as a
   type.
MozDownload.h:122: error: 'PRInt32' is used as a type, but is not defined as a
   type.
MozDownload.h:123: error: 'PRInt32' is used as a type, but is not defined as a
   type.
MozDownload.h:124: error: 'PRInt32' is used as a type, but is not defined as a
   type.
MozDownload.h:125: error: 'PRInt32' is used as a type, but is not defined as a
   type.
MozDownload.h:127: error: 'nsresult' is used as a type, but is not defined as a
   type.
MozDownload.h:129: error: `nsIObserver' was not declared in this scope
MozDownload.h:129: error: 'nsCOMPtr' is used as a type, but is not defined as a
   type.
MozDownload.h:130: error: `nsIWebBrowserPersist' was not declared in this scope
MozDownload.h:130: error: 'nsCOMPtr' is used as a type, but is not defined as a
   type.
MozDownload.h:131: error: `nsIRequest' was not declared in this scope
MozDownload.h:131: error: 'nsCOMPtr' is used as a type, but is not defined as a
   type.
MozDownload.h:136: error: parse error before `}' token
ContentHandler.cpp:32:22: nsCOMPtr.h: No such file or directory
ContentHandler.cpp:33:22: nsString.h: No such file or directory
ContentHandler.cpp:34:20: nsIURL.h: No such file or directory
ContentHandler.cpp:35:26: nsILocalFile.h: No such file or directory
ContentHandler.cpp:36:25: nsIMIMEInfo.h: No such file or directory
ContentHandler.cpp:37:40: nsIInterfaceRequestorUtils.h: No such file or directory
ContentHandler.cpp:58: error: `nsIHelperAppLauncherDialog' was not declared in
   this scope
ContentHandler.cpp:60: error: ISO C++ forbids declaration of `
   NS_IMPL_ISUPPORTS1' with no type
ContentHandler.cpp:60: error: initializer list being treated as compound
   expression
ContentHandler.cpp:60: warning: left-hand operand of comma is a reference, not
   call, to function `GContentHandler'
ContentHandler.cpp:60: error: syntax error before `::' token
ContentHandler.cpp:66: error: invalid use of undefined type `class
   GContentHandler'
ContentHandler.h:62: error: forward declaration of `class GContentHandler'
ContentHandler.cpp: In destructor `GContentHandler::~GContentHandler()':
ContentHandler.cpp:69: error: `nsMemory' undeclared (first use this function)
ContentHandler.cpp:69: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
ContentHandler.cpp:69: error: parse error before `::' token
ContentHandler.cpp: At global scope:
ContentHandler.cpp:78: error: syntax error before `::' token
ContentHandler.cpp:90: error: ISO C++ forbids declaration of `mContext' with no
   type
ContentHandler.cpp:90: error: `aContext' was not declared in this scope
ContentHandler.cpp:91: error: ISO C++ forbids declaration of `mLauncher' with
   no type
ContentHandler.cpp:91: error: `aLauncher' was not declared in this scope
ContentHandler.cpp:92: error: ISO C++ forbids declaration of `rv' with no type
ContentHandler.cpp:92: error: `Init' was not declared in this scope
ContentHandler.cpp:93: error: ISO C++ forbids declaration of `NS_ENSURE_SUCCESS
   ' with no type
ContentHandler.cpp:93: error: initializer list being treated as compound
   expression
ContentHandler.cpp:95: error: ISO C++ forbids declaration of `single' with no
   type
ContentHandler.cpp:95: error: conflicting types for `int single'
ContentHandler.cpp:87: error: previous declaration as `EphyEmbedSingle*single'
ContentHandler.cpp:97: error: `mUrl' was not declared in this scope
ContentHandler.cpp:97: error: ISO C++ forbids declaration of `
   g_signal_emit_by_name' with no type
ContentHandler.cpp:97: error: `int g_signal_emit_by_name' redeclared as
   different kind of symbol
/usr/include/glib-2.0/gobject/gsignal.h:141: error: previous declaration of `
   void g_signal_emit_by_name(void*, const gchar*, ...)'
ContentHandler.cpp:97: error: initializer list being treated as compound
   expression
ContentHandler.cpp:99: error: parse error before `if'
ContentHandler.cpp:112: error: syntax error before `::' token
ContentHandler.cpp:125: error: parse error before `if'
ContentHandler.cpp:131: error: `nsIDOMWindow' was not declared in this scope
ContentHandler.cpp:131: error: parse error before `=' token
ContentHandler.cpp:132: error: `parentDOMWindow' was not declared in this scope
ContentHandler.cpp:132: error: `MozillaFindGtkParent' cannot be used as a
   function
ContentHandler.cpp:134: error: ISO C++ forbids declaration of `dialog' with no
   type
ContentHandler.cpp:136: error: invalid conversion from `EphyFileChooser*' to `
   int'
ContentHandler.cpp:138: error: `aDefaultFile' was not declared in this scope
ContentHandler.cpp:138: error: `NS_ConvertUCS2toUTF8' was not declared in this
   scope
ContentHandler.cpp:138: error: ISO C++ forbids declaration of `
   gtk_file_chooser_set_current_name' with no type
ContentHandler.cpp:138: error: `int gtk_file_chooser_set_current_name'
   redeclared as different kind of symbol
/usr/include/gtk-2.0/gtk/gtkfilechooser.h:71: error: previous declaration of `
   void gtk_file_chooser_set_current_name(GtkFileChooser*, const gchar*)'
ContentHandler.cpp:138: error: initializer list being treated as compound
   expression
ContentHandler.cpp:139: error: ISO C++ forbids declaration of `response' with
   no type
ContentHandler.cpp:139: error: redefinition of `int response'
ContentHandler.cpp:122: error: `gint response' previously declared here
ContentHandler.cpp:141: error: parse error before `if'
ContentHandler.cpp:145: error: `nsILocalFile' was not declared in this scope
ContentHandler.cpp:145: error: `NS_LOCAL_FILE_CONTRACTID' was not declared in
   this scope
ContentHandler.cpp:145: error: `do_CreateInstance' was not declared in this
   scope
ContentHandler.cpp:145: error: 'nsCOMPtr' is used as a type, but is not defined
   as a type.
ContentHandler.cpp:146: error: syntax error before `->' token
ContentHandler.cpp:147: error: ISO C++ forbids declaration of `g_free' with no
   type
ContentHandler.cpp:147: error: `int g_free' redeclared as different kind of
   symbol
/usr/include/glib-2.0/glib/gmem.h:52: error: previous declaration of `void
   g_free(void*)'
ContentHandler.cpp:147: error: invalid conversion from `char*' to `int'
ContentHandler.cpp:149: error: `_retval' was not declared in this scope
ContentHandler.cpp:149: error: `destFile' was not declared in this scope
ContentHandler.cpp:149: error: ISO C++ forbids declaration of `NS_IF_ADDREF'
   with no type
ContentHandler.cpp:151: error: ISO C++ forbids declaration of `
   gtk_widget_destroy' with no type
ContentHandler.cpp:151: error: `int gtk_widget_destroy' redeclared as different
   kind of symbol
/usr/include/gtk-2.0/gtk/gtkwidget.h:441: error: previous declaration of `void
   gtk_widget_destroy(GtkWidget*)'
ContentHandler.cpp:151: error: invalid conversion from `GtkWidget*' to `int'
ContentHandler.cpp:153: error: parse error before `return'
ContentHandler.cpp:172: error: syntax error before `::' token
ContentHandler.cpp:175: error: `nsIExternalHelperAppService' was not declared
   in this scope
ContentHandler.cpp:175: error: 'nsCOMPtr' is used as a type, but is not defined
   as a type.
ContentHandler.cpp:177: error: ISO C++ forbids declaration of `helperService'
   with no type
ContentHandler.cpp:177: error: `NS_EXTERNALHELPERAPPSERVICE_CONTRACTID' was not
   declared in this scope
ContentHandler.cpp:177: error: `do_GetService' was not declared in this scope
ContentHandler.cpp:178: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:178: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:178: error: initializer list being treated as compound
   expression
ContentHandler.cpp:180: error: `nsPIExternalAppLauncher' was not declared in
   this scope
ContentHandler.cpp:180: error: parse error before `=' token
ContentHandler.cpp:181: error: `appLauncher' was not declared in this scope
ContentHandler.cpp:181: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:181: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:181: error: redefinition of `int NS_ENSURE_TRUE'
ContentHandler.cpp:178: error: `int NS_ENSURE_TRUE' previously defined here
ContentHandler.cpp:181: error: initializer list being treated as compound
   expression
ContentHandler.cpp:182: error: syntax error before `->' token
ContentHandler.cpp:187: error: ISO C++ forbids declaration of `param' with no
   type
ContentHandler.cpp:187: error: conflicting types for `int param'
ContentHandler.cpp:185: error: previous declaration as `char*param'
ContentHandler.cpp:187: error: `mUrl' was not declared in this scope
ContentHandler.cpp:188: error: ISO C++ forbids declaration of `params' with no
   type
ContentHandler.cpp:188: error: conflicting types for `int params'
ContentHandler.cpp:184: error: previous declaration as `GList*params'
ContentHandler.cpp:188: error: invalid conversion from `int' to `GList*'
ContentHandler.cpp:188: error: invalid conversion from `int' to `void*'
ContentHandler.cpp:189: error: ISO C++ forbids declaration of `
   gnome_vfs_mime_application_launch' with no type
ContentHandler.cpp:189: error: `int gnome_vfs_mime_application_launch'
   redeclared as different kind of symbol
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-handlers.h:161: error: previous
   declaration of `GnomeVFSResult
   gnome_vfs_mime_application_launch(GnomeVFSMimeApplication*, GList*)'
ContentHandler.cpp:189: error: initializer list being treated as compound
   expression
ContentHandler.cpp:190: error: ISO C++ forbids declaration of `g_free' with no
   type
ContentHandler.cpp:190: error: redefinition of `int g_free'
ContentHandler.cpp:147: error: `int g_free' previously declared here
ContentHandler.cpp:191: error: ISO C++ forbids declaration of `g_list_free'
   with no type
ContentHandler.cpp:191: error: `int g_list_free' redeclared as different kind
   of symbol
/usr/include/glib-2.0/glib/glist.h:48: error: previous declaration of `void
   g_list_free(GList*)'
ContentHandler.cpp:193: error: syntax error before `->' token
ContentHandler.cpp:198: error: syntax error before `::' token
ContentHandler.cpp:202: error: ISO C++ forbids declaration of `
   mAppSupportScheme' with no type
ContentHandler.cpp:202: error: `PR_FALSE' was not declared in this scope
ContentHandler.cpp:204: error: parse error before `if'
ContentHandler.cpp:209: error: syntax error before `!=' token
ContentHandler.cpp:209: error: ISO C++ forbids declaration of `l' with no type
ContentHandler.cpp:209: error: base operand of `->' is not a pointer
ContentHandler.cpp:209: error: parse error before `)' token
ContentHandler.cpp:222: error: syntax error before `::' token
ContentHandler.cpp:226: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:226: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:226: error: redefinition of `int NS_ENSURE_TRUE'
ContentHandler.cpp:181: error: `int NS_ENSURE_TRUE' previously defined here
ContentHandler.cpp:226: error: initializer list being treated as compound
   expression
ContentHandler.cpp:228: error: `nsIMIMEInfo' was not declared in this scope
ContentHandler.cpp:228: error: 'nsCOMPtr' is used as a type, but is not defined
   as a type.
ContentHandler.cpp:229: error: syntax error before `->' token
ContentHandler.cpp:230: error: `MIMEInfo' was not declared in this scope
ContentHandler.cpp:230: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:230: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:230: error: redefinition of `int NS_ENSURE_TRUE'
ContentHandler.cpp:226: error: `int NS_ENSURE_TRUE' previously defined here
ContentHandler.cpp:230: error: initializer list being treated as compound
   expression
ContentHandler.cpp:232: error: ISO C++ forbids declaration of `rv' with no type
ContentHandler.cpp:232: error: redefinition of `int rv'
ContentHandler.cpp:92: error: `int rv' previously defined here
ContentHandler.cpp:232: error: `MIMEInfo' was not declared in this scope
ContentHandler.cpp:235: error: syntax error before `->' token
ContentHandler.cpp:237: error: syntax error before `->' token
ContentHandler.cpp:238: error: `mUri' was not declared in this scope
ContentHandler.cpp:238: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:238: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:238: error: redefinition of `int NS_ENSURE_TRUE'
ContentHandler.cpp:230: error: `int NS_ENSURE_TRUE' previously defined here
ContentHandler.cpp:238: error: initializer list being treated as compound
   expression
ContentHandler.cpp:246: error: ISO C++ forbids declaration of `rv' with no type
ContentHandler.cpp:246: error: redefinition of `int rv'
ContentHandler.cpp:232: error: `int rv' previously defined here
ContentHandler.cpp:246: error: `mUri' was not declared in this scope
ContentHandler.cpp:246: error: `mUrl' was not declared in this scope
ContentHandler.cpp:247: error: ISO C++ forbids declaration of `rv' with no type
ContentHandler.cpp:247: error: redefinition of `int rv'
ContentHandler.cpp:246: error: `int rv' previously defined here
ContentHandler.cpp:247: error: `mUri' was not declared in this scope
ContentHandler.cpp:247: error: `mScheme' was not declared in this scope
ContentHandler.cpp:249: error: parse error before `return'
ContentHandler.cpp:252: error: syntax error before `::' token
ContentHandler.cpp:258: error: redefinition of `int response'
ContentHandler.cpp:139: error: `int response' previously declared here
ContentHandler.cpp:260: error: `nsIDOMWindow' was not declared in this scope
ContentHandler.cpp:260: error: parse error before `=' token
ContentHandler.cpp:261: error: conflicting types for `GtkWindow*parentWindow'
ContentHandler.cpp:132: error: previous declaration as `GtkWidget*parentWindow'
ContentHandler.cpp:261: error: `parentDOMWindow' was not declared in this scope
ContentHandler.cpp:261: error: `MozillaFindGtkParent' cannot be used as a
   function
ContentHandler.cpp:263: error: ISO C++ forbids declaration of `action_label'
   with no type
ContentHandler.cpp:263: error: conflicting types for `int action_label'
ContentHandler.cpp:256: error: previous declaration as `const char*action_label
   '
ContentHandler.cpp:267: error: ISO C++ forbids declaration of `dialog' with no
   type
ContentHandler.cpp:267: error: redefinition of `int dialog'
ContentHandler.cpp:134: error: `int dialog' previously declared here
ContentHandler.cpp:271: error: invalid conversion from `GtkWidget*' to `int'
ContentHandler.cpp:272: error: ISO C++ forbids declaration of `
   gtk_dialog_set_default_response' with no type
ContentHandler.cpp:272: error: `int gtk_dialog_set_default_response' redeclared
   as different kind of symbol
/usr/include/gtk-2.0/gtk/gtkdialog.h:149: error: previous declaration of `void
   gtk_dialog_set_default_response(GtkDialog*, int)'
ContentHandler.cpp:272: error: initializer list being treated as compound
   expression
ContentHandler.cpp:274: error: ISO C++ forbids declaration of `
   gtk_window_set_resizable' with no type
ContentHandler.cpp:274: error: `int gtk_window_set_resizable' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtkwindow.h:212: error: previous declaration of `void
   gtk_window_set_resizable(GtkWindow*, int)'
ContentHandler.cpp:274: error: initializer list being treated as compound
   expression
ContentHandler.cpp:275: error: ISO C++ forbids declaration of `
   gtk_container_set_border_width' with no type
ContentHandler.cpp:275: error: `int gtk_container_set_border_width' redeclared
   as different kind of symbol
/usr/include/gtk-2.0/gtk/gtkcontainer.h:108: error: previous declaration of `
   void gtk_container_set_border_width(GtkContainer*, unsigned int)'
ContentHandler.cpp:275: error: initializer list being treated as compound
   expression
ContentHandler.cpp:276: error: ISO C++ forbids declaration of `
   gtk_box_set_spacing' with no type
ContentHandler.cpp:276: error: `int gtk_box_set_spacing' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtkbox.h:97: error: previous declaration of `void
   gtk_box_set_spacing(GtkBox*, int)'
ContentHandler.cpp:276: error: initializer list being treated as compound
   expression
ContentHandler.cpp:278: error: ISO C++ forbids declaration of `hbox' with no
   type
ContentHandler.cpp:278: error: conflicting types for `int hbox'
ContentHandler.cpp:255: error: previous declaration as `GtkWidget*hbox'
ContentHandler.cpp:279: error: ISO C++ forbids declaration of `gtk_widget_show'
   with no type
ContentHandler.cpp:279: error: `int gtk_widget_show' redeclared as different
   kind of symbol
/usr/include/gtk-2.0/gtk/gtkwidget.h:450: error: previous declaration of `void
   gtk_widget_show(GtkWidget*)'
ContentHandler.cpp:281: error: ISO C++ forbids declaration of `
   gtk_box_pack_start' with no type
ContentHandler.cpp:281: error: `int gtk_box_pack_start' redeclared as different
   kind of symbol
/usr/include/gtk-2.0/gtk/gtkbox.h:83: error: previous declaration of `void
   gtk_box_pack_start(GtkBox*, GtkWidget*, int, int, unsigned int)'
ContentHandler.cpp:281: error: initializer list being treated as compound
   expression
ContentHandler.cpp:283: error: parse error before `if'
ContentHandler.cpp:309: error: ISO C++ forbids declaration of `image' with no
   type
ContentHandler.cpp:309: error: conflicting types for `int image'
ContentHandler.cpp:255: error: previous declaration as `GtkWidget*image'
ContentHandler.cpp:311: error: ISO C++ forbids declaration of `
   gtk_misc_set_alignment' with no type
ContentHandler.cpp:311: error: `int gtk_misc_set_alignment' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtkmisc.h:71: error: previous declaration of `void
   gtk_misc_set_alignment(GtkMisc*, float, float)'
ContentHandler.cpp:311: error: initializer list being treated as compound
   expression
ContentHandler.cpp:311: warning: initialization to `int' from `double'
ContentHandler.cpp:311: warning: argument to `int' from `double'
ContentHandler.cpp:312: error: ISO C++ forbids declaration of `gtk_widget_show'
   with no type
ContentHandler.cpp:312: error: redefinition of `int gtk_widget_show'
ContentHandler.cpp:279: error: `int gtk_widget_show' previously declared here
ContentHandler.cpp:313: error: ISO C++ forbids declaration of `
   gtk_box_pack_start' with no type
ContentHandler.cpp:313: error: redefinition of `int gtk_box_pack_start'
ContentHandler.cpp:281: error: `int gtk_box_pack_start' previously declared
   here
ContentHandler.cpp:313: error: initializer list being treated as compound
   expression
ContentHandler.cpp:315: error: ISO C++ forbids declaration of `vbox' with no
   type
ContentHandler.cpp:315: error: conflicting types for `int vbox'
ContentHandler.cpp:255: error: previous declaration as `GtkWidget*vbox'
ContentHandler.cpp:316: error: ISO C++ forbids declaration of `gtk_widget_show'
   with no type
ContentHandler.cpp:316: error: redefinition of `int gtk_widget_show'
ContentHandler.cpp:312: error: `int gtk_widget_show' previously declared here
ContentHandler.cpp:317: error: ISO C++ forbids declaration of `
   gtk_box_pack_start' with no type
ContentHandler.cpp:317: error: redefinition of `int gtk_box_pack_start'
ContentHandler.cpp:313: error: `int gtk_box_pack_start' previously declared
   here
ContentHandler.cpp:317: error: initializer list being treated as compound
   expression
ContentHandler.cpp:319: error: ISO C++ forbids declaration of `label' with no
   type
ContentHandler.cpp:319: error: conflicting types for `int label'
ContentHandler.cpp:255: error: previous declaration as `GtkWidget*label'
ContentHandler.cpp:320: error: ISO C++ forbids declaration of `
   gtk_label_set_selectable' with no type
ContentHandler.cpp:320: error: `int gtk_label_set_selectable' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtklabel.h:137: error: previous declaration of `void
   gtk_label_set_selectable(GtkLabel*, int)'
ContentHandler.cpp:320: error: initializer list being treated as compound
   expression
ContentHandler.cpp:321: error: ISO C++ forbids declaration of `
   gtk_misc_set_alignment' with no type
ContentHandler.cpp:321: error: redefinition of `int gtk_misc_set_alignment'
ContentHandler.cpp:311: error: `int gtk_misc_set_alignment' previously declared
   here
ContentHandler.cpp:321: error: initializer list being treated as compound
   expression
ContentHandler.cpp:321: warning: initialization to `int' from `double'
ContentHandler.cpp:321: warning: argument to `int' from `double'
ContentHandler.cpp:322: error: ISO C++ forbids declaration of `
   gtk_label_set_line_wrap' with no type
ContentHandler.cpp:322: error: `int gtk_label_set_line_wrap' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtklabel.h:134: error: previous declaration of `void
   gtk_label_set_line_wrap(GtkLabel*, int)'
ContentHandler.cpp:322: error: initializer list being treated as compound
   expression
ContentHandler.cpp:323: error: ISO C++ forbids declaration of `
   gtk_label_set_markup' with no type
ContentHandler.cpp:323: error: `int gtk_label_set_markup' redeclared as
   different kind of symbol
/usr/include/gtk-2.0/gtk/gtklabel.h:112: error: previous declaration of `void
   gtk_label_set_markup(GtkLabel*, const gchar*)'
ContentHandler.cpp:323: error: initializer list being treated as compound
   expression
ContentHandler.cpp:323: error: invalid conversion from `char*' to `int'
ContentHandler.cpp:324: error: ISO C++ forbids declaration of `g_free' with no
   type
ContentHandler.cpp:324: error: redefinition of `int g_free'
ContentHandler.cpp:190: error: `int g_free' previously declared here
ContentHandler.cpp:324: error: invalid conversion from `char*' to `int'
ContentHandler.cpp:326: error: ISO C++ forbids declaration of `
   gtk_box_pack_start' with no type
ContentHandler.cpp:326: error: redefinition of `int gtk_box_pack_start'
ContentHandler.cpp:317: error: `int gtk_box_pack_start' previously declared
   here
ContentHandler.cpp:326: error: initializer list being treated as compound
   expression
ContentHandler.cpp:327: error: ISO C++ forbids declaration of `gtk_widget_show'
   with no type
ContentHandler.cpp:327: error: redefinition of `int gtk_widget_show'
ContentHandler.cpp:316: error: `int gtk_widget_show' previously declared here
ContentHandler.cpp:329: error: ISO C++ forbids declaration of `response' with
   no type
ContentHandler.cpp:329: error: redefinition of `int response'
ContentHandler.cpp:258: error: `int response' previously declared here
ContentHandler.cpp:331: error: parse error before `if'
ContentHandler.cpp:340: error: ISO C++ forbids declaration of `
   gtk_widget_destroy' with no type
ContentHandler.cpp:340: error: redefinition of `int gtk_widget_destroy'
ContentHandler.cpp:151: error: `int gtk_widget_destroy' previously declared
   here
ContentHandler.cpp:342: error: parse error before `return'
ContentHandler.cpp:345: error: syntax error before `::' token
ContentHandler.cpp:350: error: parse error before `if'
ContentHandler.cpp:352: error: ISO C++ forbids declaration of `auto_downloads'
   with no type
ContentHandler.cpp:352: error: redefinition of `int auto_downloads'
ContentHandler.cpp:348: error: `gboolean auto_downloads' previously declared
   here
ContentHandler.cpp:354: error: ISO C++ forbids declaration of `mHelperApp' with
   no type
ContentHandler.cpp:354: error: conflicting types for `int mHelperApp'
ContentHandler.h:87: error: previous declaration as `
   GnomeVFSMimeApplication*mHelperApp'
ContentHandler.cpp:355: error: ISO C++ forbids declaration of `
   CheckAppSupportScheme' with no type
ContentHandler.cpp:356: error: ISO C++ forbids declaration of `mPermission'
   with no type
ContentHandler.cpp:356: error: conflicting types for `int mPermission'
ContentHandler.h:89: error: previous declaration as `EphyMimePermission
   mPermission'
ContentHandler.cpp:358: error: parse error before `if'
ContentHandler.cpp:377: error: `nsIMIMEInfo' was not declared in this scope
ContentHandler.cpp:377: error: 'nsCOMPtr' is used as a type, but is not defined
   as a type.
ContentHandler.cpp:378: error: syntax error before `->' token
ContentHandler.cpp:379: error: `mimeInfo' was not declared in this scope
ContentHandler.cpp:379: error: `NS_ERROR_FAILURE' was not declared in this
   scope
ContentHandler.cpp:379: error: ISO C++ forbids declaration of `NS_ENSURE_TRUE'
   with no type
ContentHandler.cpp:379: error: redefinition of `int NS_ENSURE_TRUE'
ContentHandler.cpp:238: error: `int NS_ENSURE_TRUE' previously defined here
ContentHandler.cpp:379: error: initializer list being treated as compound
   expression
ContentHandler.cpp:381: error: parse error before `if'
{standard input}: Assembler messages:
{standard input}:145: Error: symbol `response' is already defined
{standard input}:181: Error: symbol `NS_ENSURE_TRUE' is already defined
{standard input}:205: Error: symbol `g_free' is already defined
{standard input}:229: Error: symbol `NS_ENSURE_TRUE' is already defined
{standard input}:235: Error: symbol `NS_ENSURE_TRUE' is already defined
{standard input}:241: Error: symbol `rv' is already defined
{standard input}:247: Error: symbol `NS_ENSURE_TRUE' is already defined
{standard input}:253: Error: symbol `rv' is already defined
{standard input}:259: Error: symbol `rv' is already defined
{standard input}:301: Error: symbol `response' is already defined
{standard input}:307: Error: symbol `dialog' is already defined
{standard input}:355: Error: symbol `gtk_widget_show' is already defined
{standard input}:361: Error: symbol `gtk_box_pack_start' is already defined
{standard input}:367: Error: symbol `gtk_widget_show' is already defined
{standard input}:373: Error: symbol `gtk_box_pack_start' is already defined
{standard input}:385: Error: symbol `gtk_misc_set_alignment' is already defined
{standard input}:403: Error: symbol `g_free' is already defined
{standard input}:409: Error: symbol `gtk_box_pack_start' is already defined
{standard input}:415: Error: symbol `gtk_widget_show' is already defined
{standard input}:421: Error: symbol `response' is already defined
{standard input}:427: Error: symbol `gtk_widget_destroy' is already defined
{standard input}:439: Error: symbol `auto_downloads' is already defined
{standard input}:445: Error: symbol `NS_ENSURE_TRUE' is already defined
make[3]: *** [ContentHandler.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/epiphany-1.2.3/work/epiphany-1.2.3/embed/mozilla'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/epiphany-1.2.3/work/epiphany-1.2.3/embed'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/epiphany-1.2.3/work/epiphany-1.2.3'
make: *** [all] Fehler 2
 
!!! ERROR: net-www/epiphany-1.2.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Comment 2 Lars Strojny 2004-04-28 00:45:18 UTC
Ok, I`ve also tested it with epiphany-1.2.4 (just copy the eBuild) and it failes. Only for information...
Comment 3 Mike Hostetler 2004-05-03 09:37:52 UTC
I get something different when trying with epiphany 1.2.3 w/ mozilla 1.6-r1:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../embed -I../.. -I/usr/li
b/mozilla/include/gtkembedmoz -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozill
a/include/string -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include -I/u
sr/lib/mozilla/include/appcomps -I/usr/lib/mozilla/include/chardet -I/usr/lib/mo
zilla/include/chrome -I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/inclu
de/cookie -I/usr/lib/mozilla/include/commandhandler -I/usr/lib/mozilla/include/d
ocshell -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/i
nclude/helperAppDlg -I/usr/lib/mozilla/include/history -I/usr/lib/mozilla/includ
e/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/mo
zilla/include/pipnss -I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/
progressDlg -I/usr/lib/mozilla/include/shistory -I/usr/lib/mozilla/include/strin
g -I/usr/lib/mozilla/include/unicharutil -I/usr/lib/mozilla/include/uriloader -I/usr/lib/mozilla/include/wallet -I/usr/lib/mozilla/include/webbrowserpersist -I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/webshell -I/usr/lib/mozilla/include/widget -I/usr/lib/mozilla/include/windowwatcher -I/usr/lib/mozilla/include/xpcom -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -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\" -include /usr/lib/mozilla/include/mozilla-config.h -fno-rtti -fshort-wchar -march=pentium2 -O2 -pipe -fomit-frame-pointer -MT GlobalHistory.lo -MD -MP -MF .deps/GlobalHistory.Tpo -c GlobalHistory.cpp  -fPIC -DPIC -o .libs/GlobalHistory.o
GlobalHistory.cpp:164: error: no `nsresult
   MozGlobalHistory::SetLastPageVisited(const char*)' member function declared
   in class `MozGlobalHistory'
make[3]: *** [GlobalHistory.lo] Error 1
make[3]: Leaving directory `/usr/local/portage/portage/epiphany-1.2.3/work/epiphany-1.2.3/embed/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/portage/portage/epiphany-1.2.3/work/epiphany-1.2.3/embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/portage/portage/epiphany-1.2.3/work/epiphany-1.2.3'
make: *** [all] Error 2

!!! ERROR: net-www/epiphany-1.2.3 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


My info:

.:[11:37:10]:. $ emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.4.2
0-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoaddcvs ccache digest notitles sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/portage"
PORTDIR="/usr/local/portage/portage-db"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jikes jpeg libg++ libwww mad mikmod mmx mozilla mpeg ncurses nls oggvorbis oss pam pda pdflib perl plotutils png python quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 4 gent_bz 2004-05-04 21:48:28 UTC
The following change to the epiphany-1.2.5 ebuild allows compilation with mozilla-1.7-rc1 :

Replace:
use gnome \
        && G2CONF="${G2CONF} --enable-nautilus-view=yes" \
        || G2CONF="${G2CONF} --enable-nautilus-view=no"

becomes:
use gnome \
        && G2CONF="${G2CONF} --enable-nautilus-view=yes --with-mozilla-snapshot=1.7" \
        || G2CONF="${G2CONF} --enable-nautilus-view=no --with-mozilla-snapshot=1.7"
Comment 5 Priit Laes (IRC: plaes) 2004-05-04 23:52:44 UTC
Jonathans advice is quite error-prone because some of the users haven't still upgraded to Mozilla 1.7rc1.
Comment 6 Priit Laes (IRC: plaes) 2004-05-04 23:57:08 UTC
Created attachment 30768 [details, diff]
Patch to the configure script...
Comment 7 Priit Laes (IRC: plaes) 2004-05-04 23:58:02 UTC
Created attachment 30769 [details, diff]
Patch to the epiphany ebuild...
Comment 8 Priit Laes (IRC: plaes) 2004-05-04 23:58:27 UTC
Have fun, these worked on my machine... :D
Comment 9 Mike Hostetler 2004-05-05 09:19:57 UTC
I put in both patches and, while both were applied correctly, neither of them solved my problem.
Comment 10 Alex C 2004-05-08 18:56:36 UTC
Created attachment 31020 [details, diff]
Patch to galeon ebuild

Attached: a simple non-invasive patch to galeon-1.3.14a.ebuild to allow for the
mozilla 1.7rc series
Comment 11 Hanno Böck gentoo-dev 2004-05-30 06:37:17 UTC
applied the galeon-patch to the ebuild.
can anyone of the epiphany-users tell if the problem still exists or if this bug can be closed?
Comment 12 Mike Hostetler 2004-06-01 09:08:33 UTC
I still can't compile epiphany -- See my other entry for the error.
Comment 13 Richard Torkar 2004-06-11 06:28:28 UTC
Priit's patch (http://bugs.gentoo.org/attachment.cgi?id=30769&action=view) is wrong. At least for me on my 1.2.5 ebuild of epiphany. 

First of all he introduced a new src_unpack() above the original one, thus prohibiting the new patch not being run.

Nevertheless, if one moves the line in his patch that says:
epatch ${FILESDIR}/mozilla-1.7rc1-support-fix.patch || die "Patch failed"
to the src_unpack() that is already present it gets applied:
>>> Unpacking epiphany-1.2.5.tar.bz2 to /var/tmp/portage/epiphany-1.2.5/work
* Applying mozilla-1.7rc1-support-fix.patch...   [ ok ] 
* Applying epiphany-1.2.5-gcc2_fix.patch...      [ ok ]
>>> Source unpacked.

But still fails with the same error msg:
**** LOTS SNIPPED ****
libs/ContentHandler.o
<command line>:138852938:47768: /usr/lib/mozilla/include/mozilla-1.7/mozilla-config.h: No such file or directory
In file included from ContentHandler.cpp:28:
ContentHandler.h:27:40: nsIHelperAppLauncherDialog.h: No such file or directory
ContentHandler.h:28:41: nsIExternalHelperAppService.h: No such file or directory
ContentHandler.h:29:39: nsCExternalHandlerService.h: No such file or directory
ContentHandler.h:30:36: nsIWebProgressListener.h: No such file or directory
ContentHandler.h:32:22: nsString.h: No such file or directory
ContentHandler.h:33:20: nsIURI.h: No such file or directory
ContentHandler.h:34:26: nsILocalFile.h: No such file or directory
ContentHandler.h:36:19: nsCRT.h: No such file or directory
ContentHandler.h:37:29: nsWeakReference.h: No such file or directory
ContentHandler.h:39:22: nsCOMPtr.h: No such file or directory
ContentHandler.h:40:25: nsISupports.h: No such file or directory
ContentHandler.h:41:21: nsError.h: No such file or directory
**** A LOT MORE SNIPPED ****


So Priit's patches are simpler than Jonathan's but on the other hand they don't work. Simplicity out the window? ;-) (I haven't tried Jonathan's "fix").
Comment 14 Richard Torkar 2004-06-11 07:05:06 UTC
Jonathan's fix doesn't work either with mozilla-1.7_rc3.

It bails (as I wrote previously) with this line:
<command line>:138852938:47768: /usr/lib/mozilla/include/mozilla-1.7/mozilla-config.h: No such file or directory

Which is correct. mozilla-config.h is in /usr/lib/mozilla/include/
Comment 15 Richard Torkar 2004-06-11 07:28:04 UTC
Found it.

At least with mozilla-1.7_rc3 the mozilla-gtkmozembed.pc file is not created in a correct way.

tux ~$ pkg-config --variable=includedir mozilla-gtkmozembed
/usr/lib/mozilla/include/mozilla-1.7

It should be /usr/lib/mozilla/include since there doesn't exist a mozilla-1.7 directory anyway!
Comment 16 Richard Torkar 2004-06-11 07:48:26 UTC
It's not only the mozilla-gtkmozembed. It's all the mozilla*.pc files. This happens with mozilla-1.7_rc3...
Comment 17 Richard Torkar 2004-06-12 01:23:51 UTC
Even when all the *.pc files are fixed it still bails on compilation.

The Epiphany team told me a 1.2.6 release will be released ina few days, fixing these issues.
Comment 18 Yi Quang (RETIRED) gentoo-dev 2004-06-19 18:51:56 UTC
This should be fixed with 1.2.6 of epiphany, please reopen if it is not.  Also, if galeon still fails, break it out to 2 bugs.  
Comment 19 Aron Griffis (RETIRED) gentoo-dev 2004-06-19 19:22:50 UTC
I've confirmed that epiphany 1.2.6 works with mozilla 1.7 release
Comment 20 Richard Torkar 2004-06-20 04:54:02 UTC
Works for me [tm]