Bug 19748 - galeon-1.2.10 compile dies
Bug#: 19748 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: liverbugg@juno.com
Component: GNOME
URL: 
Summary: galeon-1.2.10 compile dies
Keywords:  
Status Whiteboard: 
Opened: 2003-04-22 00:31 0000
Description:   Opened: 2003-04-22 00:31 0000
Making all in mozilla
make[4]: Entering directory
`/var/tmp/portage/galeon-1.2.10/work/galeon-1.2.10/src/mozilla'
source='MyportalProtocolHandler.cpp' object='MyportalProtocolHandler.o' libtool=no \
depfile='.deps/MyportalProtocolHandler.Po'
tmpdepfile='.deps/MyportalProtocolHandler.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/lib/mozilla/include
-I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/appcomps
-I/usr/lib/mozilla/include/caps -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/gtkembedmoz -I/usr/lib/mozilla/include/helperAppDlg
-I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include/js
-I/usr/lib/mozilla/include/jsconsole -I/usr/lib/mozilla/include/layout
-I/usr/lib/mozilla/include/mimetype -I/usr/lib/mozilla/include/mozxfer
-I/usr/lib/mozilla/include/necko -I/usr/lib/mozilla/include/necko2
-I/usr/lib/mozilla/include/nkcache -I/usr/lib/mozilla/include/oji
-I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/progressDlg
-I/usr/lib/mozilla/include/sidebar -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/shistory -I/usr/lib/mozilla/include/typeaheadfind
-I/usr/lib/mozilla/include/uconv -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 -I/usr/lib/mozilla/include/xpconnect
-I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-vfs-1.0
-I/usr/lib/gnome-vfs-1.0/include -I/usr/include/gnome-xml
-I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT
-I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include -DLIB_DIR=\"/usr/lib/galeon\"
-DSHARE_DIR=\"/usr/share/galeon\" -include
/usr/lib/mozilla/include/mozilla-config.h    -fno-rtti -march=i686 -O3 -pipe
-Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c -o
MyportalProtocolHandler.o `test -f 'MyportalProtocolHandler.cpp' || echo
'./'`MyportalProtocolHandler.cpp
MyportalProtocolHandler.cpp: In method `nsresult
GMyportalProtocolHandler::CreateMyportalPage(const nsACString &)':
MyportalProtocolHandler.cpp:209: implicit declaration of function `int
realpath(...)'
MyportalProtocolHandler.cpp:209: passing `int' to argument 1 of `strlen(const
char *)' lacks a cast
MyportalProtocolHandler.cpp:209: no matching function for call to
`nsDerivedSafe<nsIOutputStream>::Write (int, unsigned int, PRUint32 *)'
/usr/lib/mozilla/include/xpcom/nsIOutputStream.h:97: candidates are: nsresult
nsIOutputStream::Write(const char *, unsigned int, PRUint32 *)
make[4]: *** [MyportalProtocolHandler.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/galeon-1.2.10/work/galeon-1.2.10/src/mozilla'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/galeon-1.2.10/work/galeon-1.2.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/galeon-1.2.10/work/galeon-1.2.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/galeon-1.2.10/work/galeon-1.2.10'
make: *** [all] Error 2

!!! ERROR: net-www/galeon-1.2.10 failed.
!!! Function src_compile, Line 89, Exitcode 2
!!! (no error message)

using mozilla-1.3-r1 w/ spellchecker patch

Reproducible: Always
Steps to Reproduce:
1.emerge galeon


Actual Results:  
doesn't compile

Expected Results:  
compile

# emerge info
Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10e i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://linux.oit.umass.edu/gentoo/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/liverbugg/portage"
USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib
quicktime spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm gif
gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls
oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd
tiff X -kde -qt -arts -java dvd encode gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache digest"

------- Comment #1 From Alastair Tse (RETIRED) 2003-04-22 03:59:29 0000 -------
spell check patch for galeon?

what if you don't apply this patch?

------- Comment #2 From foser (RETIRED) 2003-04-22 06:58:34 0000 -------
You must understand that we can't go support non-gentoo ebuilds/extensions, i'm
very tempted to close this one as invalid.

------- Comment #3 From TGL 2003-04-22 18:52:08 0000 -------
I don't think it is related to this spellchecker patch. I have the exact same
failure with a standard net-www/mozilla-1.3-r1. And I also still use
gcc-2.95...

------- Comment #4 From TGL 2003-04-22 21:06:56 0000 -------
I've submitted a bugreport to the galeon team, in case they have some hints:
http://bugzilla.gnome.org/show_bug.cgi?id=111393

------- Comment #5 From Matt Taylor 2003-04-23 01:56:35 0000 -------
I was just mentioning the mozilla spell checker patch to be thurough.  All
previous versions of galeon have compiled fine with the patch, its just version
1.2.10 that fails.

the patch is the mozilla spellchecker mentioned in bug 18060.

looks like the galeon people replied to that bug.

------- Comment #6 From Alastair Tse (RETIRED) 2003-04-23 04:05:41 0000 -------
thanks TGL for forwarding the report upstream to the developers. well, what can
i say? they released 1.2.10a without annoucing it to anyone, not even on their
news page on galeon.sf.net.

i've just put 1.2.10a in portage now that should fixed the problem. please try
that version.

------- Comment #7 From TGL 2003-04-23 07:48:20 0000 -------
It does now compile and run fine here. Thanks for your quick reaction.