Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55005 - net-www/epiphany-1.2.2 fails to compile on stable
Summary: net-www/epiphany-1.2.2 fails to compile on stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 58058 58328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-24 05:42 UTC by Lance Albertson (RETIRED)
Modified: 2004-07-25 22:54 UTC (History)
2 users (show)

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 Lance Albertson (RETIRED) gentoo-dev 2004-06-24 05:42:01 UTC
When I was trying to upgrade my laptop today, it kept failing while trying to compile epiphany. I even tried every version of epiphany and basically got the same resulting error. I also tried recompiling mozilla since i noticed it was trying to link to a few things in mozilla. Below is the error i get:

 ContentHandler.cpp  -fPIC -DPIC -o .libs/ContentHandler.o
ContentHandler.cpp:60: error: ISO C++ forbids declaration of `
   NS_IMPL_QUERY_INTERFACE1' with no type
ContentHandler.cpp:60: error: cannot declare parameter `<anonymous>' to be of
   type `nsIHelperAppLauncherDialog'
ContentHandler.cpp:60: error:   because the following virtual functions are
   abstract:
/usr/lib/mozilla/include/xpcom/nsISupportsBase.h:97: error:     virtual nsresult
   nsISupports::QueryInterface(const nsIID&, void**)
/usr/lib/mozilla/include/xpcom/nsISupportsBase.h:105: error:    virtual nsrefcnt
   nsISupports::AddRef()
/usr/lib/mozilla/include/xpcom/nsISupportsBase.h:114: error:    virtual nsrefcnt
   nsISupports::Release()
/usr/lib/mozilla/include/helperAppDlg/nsIHelperAppLauncherDialog.h:58: error:
   virtual nsresult nsIHelperAppLauncherDialog::Show(nsIHelperAppLauncher*,
   nsISupports*, int)
/usr/lib/mozilla/include/helperAppDlg/nsIHelperAppLauncherDialog.h:61: error:
   virtual nsresult
   nsIHelperAppLauncherDialog::PromptForSaveToFile(nsIHelperAppLauncher*,
   nsISupports*, const PRUnichar*, const PRUnichar*, nsILocalFile**)
ContentHandler.cpp: In function `int NS_IMPL_QUERY_INTERFACE1(GContentHandler,
   nsIHelperAppLauncherDialog)':
ContentHandler.cpp:60: error: parse error before `::' token
make[3]: *** [ContentHandler.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2'
make: *** [all] Error 2

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


Here is my emerge info:

mirage root # emerge --info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,2.3.2-r9, 2.4.24-grsec-1.9.13)
=================================================================
System uname: 2.4.24-grsec-1.9.13 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1,sys-devel/autoconf-2.59-r3,sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7,sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="YES"
CFLAGS="-march=pentium4 -O2 -pipe"
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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox strict"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb crypt cscope dga directfb dvd gdbm gif gnome gtk gtk2 java jpeg kde mmx mpeg ncurses oggvorbis opengl pam perl png python readline sdl snmp speex spell sse ssl tcpd truetype x86 xml xmms zlib"
Comment 1 M. Creidieki Crouch 2004-07-03 00:53:31 UTC
I've had a similar problem, with a different error message.  I'm including it in this bug because it seems to be linking to Mozilla libraries, too.


Error Message:

GtkNSSClientAuthDialogs.cpp: In member function `virtual nsresult
   GtkNSSClientAuthDialogs::ChooseCertificate(nsIInterfaceRequestor*, const
   PRUnichar*, const PRUnichar*, const PRUnichar*, const PRUnichar**, const
   PRUnichar**, unsigned int, PRInt32*, PRBool*)':
GtkNSSClientAuthDialogs.cpp:220: error: `NS_ConvertUCS2toUTF8' undeclared
   (first use this function)
GtkNSSClientAuthDialogs.cpp:220: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
GtkNSSClientAuthDialogs.cpp:222: error: `PromiseFlatCString' undeclared (first
   use this function)
make[3]: *** [GtkNSSClientAuthDialogs.lo] Error 1
make[3]: Leaving directory `/home/portage/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/portage/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2/embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/tmp/portage/epiphany-1.2.2/work/epiphany-1.2.2'
make: *** [all] Error 2
 
!!! ERROR: net-www/epiphany-1.2.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


My "emerge info" is:
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirrors.pair.com/ http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi cdr cjk crypt cups divx4linux doc dvd emacs encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nodroproot offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tetex tiff truetype unicode usb videos x86 xml2 xmms xv xvid zlib"
Comment 2 M. Creidieki Crouch 2004-07-03 00:54:23 UTC
As a workaround, I was able to solve my problem by installing epiphany-1.2.6 from ~x86.
Comment 3 foser (RETIRED) gentoo-dev 2004-07-05 11:03:32 UTC
what mozilla version are you guys using ?
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2004-07-05 13:21:23 UTC
I don't have mozilla installed on my desktop, but I do have mozilla-firefox installed.

*  net-www/mozilla-firefox
      Latest version available: 0.8-r3
      Latest version installed: 0.8-r3
      Size of downloaded files: 30,373 kB
      Homepage:    http://www.mozilla.org/projects/firefox/
      Description: The Mozilla Firefox Web Browser
      License:     MPL-1.1 | NPL-1.1


I don't have my laptop up, but I think it has the newest stable version of moz and moz-firefox. Both seem to have a similiar problem. If I get a chance later today, I'll see if I can double check the errors.
Comment 5 Edward Guldemond 2004-07-24 22:12:53 UTC
I have the same problem here and I have:
*  net-www/mozilla
      Latest version available: 1.7
      Latest version installed: 1.7
      Size of downloaded files: 34,766 kB
      Homepage:    http://www.mozilla.org
      Description: The Mozilla Application Suite - web browser, email, HTML editor, IRC
      License:     MPL-1.1 NPL-1.1
*  net-www/mozilla-firefox-bin
      Latest version available: 0.8
      Latest version installed: 0.8
      Size of downloaded files: 7,493 kB
      Homepage:    http://www.mozilla.org/projects/firefox
      Description: The Mozilla Firefox Web Browser
      License:     MPL-1.1 NPL-1.1
Comment 6 .je 2004-07-25 07:19:49 UTC
same problem with epiphany
on a gnome 2.6 emerge ..
GtkNSSAuthDialogs fails
mozilla 1.7, no firefox
sync, update, rebuilt gtk+
same problem ..

1.2.2 should be deprecated

epiphany 1.2.6 compiles ok
and is current gnome stable

Comment 7 Mike Gardiner (RETIRED) gentoo-dev 2004-07-25 22:05:20 UTC
*** Bug 58058 has been marked as a duplicate of this bug. ***
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2004-07-25 22:05:30 UTC
*** Bug 58328 has been marked as a duplicate of this bug. ***
Comment 9 Mike Gardiner (RETIRED) gentoo-dev 2004-07-25 22:54:45 UTC
1.2.6 has been marked x86, thanks for your reports here and to brad[].