Subject: pkg/26020: galeon won't build (pkgsrc from yesterday)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <smb@research.att.com>
List: pkgsrc-bugs
Date: 06/22/2004 23:58:27
>Number:         26020
>Category:       pkg
>Synopsis:       Galeon won't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 03:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Steven Bellovin
>Release:        NetBSD 2.0_BETA
>Organization:
	
>Environment:
	
	
System: NetBSD vatch.machshav.com 2.0_BETA NetBSD 2.0_BETA (GENERIC_LAPTOP) #1: Tue Jun 15 22:58:04 EDT 2004 smb@berkshire.research.att.com:/usr/BUILD/obj/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	Galeon gets compilation errors. (Building with Mozilla 1.7 installed
	from pkgsrc)

	gmake[4]: Entering directory `/usr/pkgsrc/www/galeon/work/galeon-1.2.13/src/mozilla'
	if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include/mozilla -I/usr/pkg/include/mozilla/nspr -I/usr/pkg/include/mozilla/appcomps -I/usr/pkg/include/mozilla/caps -I/usr/pkg/include/mozilla/content -I/usr/pkg/include/mozilla/cookie -I/usr/pkg/include/mozilla/docshell -I/usr/pkg/include/mozilla/dom -I/usr/pkg/include/mozilla/exthandler -I/usr/pkg/include/mozilla/find -I/usr/pkg/include/mozilla/gfx -I/usr/pkg/include/mozilla/gtkembedmoz -I/usr/pkg/include/mozilla/helperAppDlg -I/usr/pkg/include/mozilla/history -I/usr/pkg/include/mozilla/java -I/usr/pkg/include/mozilla/js -I/usr/pkg/include/mozilla/jsconsole -I/usr/pkg/include/mozilla/layout -I/usr/pkg/include/mozilla/mimetype -I/usr/pkg/include/mozilla/mozxfer -I/usr/pkg/include/mozilla/necko -I/usr/pkg/include/mozilla/necko2 -I/usr/pkg/include/mozilla/nkcache -I/usr/pkg/include/mozilla/oji -I/usr/pkg/include/mozilla/pref -I/usr/pkg/include/mozilla/progressDlg -I/usr/pkg/include/mozilla/sidebar -I/usr/pkg/includ
 e/mozilla/string -I/usr/pkg/include/mozilla/shistory -I/usr/pkg/include/mozilla/typeaheadfind -I/usr/pkg/include/mozilla/uconv -I/usr/pkg/include/mozilla/uriloader -I/usr/pkg/include/mozilla/wallet -I/usr/pkg/include/mozilla/webbrowserpersist -I/usr/pkg/include/mozilla/webbrwsr -I/usr/pkg/include/mozilla/webshell -I/usr/pkg/include/mozilla/widget -I/usr/pkg/include/mozilla/windowwatcher -I/usr/pkg/include/mozilla/xpcom -I/usr/pkg/include/mozilla/xpconnect -I/usr/pkg/include/gconf/1 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/orbit-1.0 -I/usr/pkg/include/gtk-1.2 -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/gnome-vfs-1.0 -I/usr/pkg/lib/gnome-vfs-1.0/include -I/usr/pkg/include/gnome-xml -I/usr/pkg/include -I/usr/pkg/include/orbit-1.0 -I/usr/pkg/include/gconf/1 -D_REENTRANT -I/usr/pkg/incl
 ude/libglade-1.0 -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -DLIB_DIR=\"/usr/pkg/lib/galeon\" -DSHARE_DIR=\"/usr/pkg/share/galeon\" -D_GNU_SOURCE=1 -include /usr/pkg/include/mozilla/mozilla-config.h  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db3 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/X11R6/include  -fno-rtti -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db3 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/X11R6/include -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -fshort-wchar -MT mozilla.o -MD -MP -MF ".deps/mozilla.Tpo" \
	  -c -o mozilla.o `test -f 'mozilla.cpp' || echo './'`mozilla.cpp; \
	then mv -f ".deps/mozilla.Tpo" ".deps/mozilla.Po"; \
	else rm -f ".deps/mozilla.Tpo"; exit 1; \
	fi
	cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
	In file included from /usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIServiceManager.h:178,
			 from /usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsDirectoryServiceUtils.h:27,
			 from /usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIFile.h:823,
			 from /usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsILocalFile.h:10,
			 from mozilla.cpp:67:
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIServiceManagerUtils.h:48: warning: `
	   class nsGetServiceByCID' has virtual functions but non-virtual destructor
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIServiceManagerUtils.h:81: warning: `
	   class nsGetServiceByContractID' has virtual functions but non-virtual 
	   destructor
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIServiceManagerUtils.h:114: warning: `
	   class nsGetServiceFromCategory' has virtual functions but non-virtual 
	   destructor
	In file included from ProgressListener2.h:31,
			 from mozilla.cpp:74:
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsWeakReference.h:36: warning: `
	   class nsSupportsWeakReference' has virtual functions but non-virtual 
	   destructor
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsWeakReference.h:71: warning: `
	   class nsWeakReference' has virtual functions but non-virtual destructor
	In file included from /usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/necko/nsNetUtil.h:58,
			 from mozilla.cpp:75:
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/xpcom/nsIInterfaceRequestorUtils.h:42: warning: `
	   class nsGetInterface' has virtual functions but non-virtual destructor
	mozilla.cpp: In function `gboolean mozilla_save_url(GaleonEmbed*, const char*, 
	   char*, DownloadAction, void**)':
	mozilla.cpp:393: error: cannot allocate an object of type `GProgressListener2'
	mozilla.cpp:393: error:   because the following virtual functions are abstract:
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:65: error: 
	   virtual nsresult nsITransfer::Init(nsIURI*, nsIURI*, const PRUnichar*, 
	   nsIMIMEInfo*, long long int, nsIWebBrowserPersist*)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:71: error: 
	   virtual nsresult nsITransfer::GetSource(nsIURI**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:77: error: 
	   virtual nsresult nsITransfer::GetTarget(nsIURI**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:87: error: 
	   virtual nsresult nsITransfer::GetPersist(nsIWebBrowserPersist**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:93: error: 
	   virtual nsresult nsITransfer::GetPercentComplete(PRInt32*)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:99: error: 
	   virtual nsresult nsITransfer::GetDisplayName(PRUnichar**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:100: error: 
	   virtual nsresult nsITransfer::SetDisplayName(const PRUnichar*)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:106: error: 
	   virtual nsresult nsITransfer::GetStartTime(PRInt64*)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:114: error: 
	   virtual nsresult nsITransfer::GetMIMEInfo(nsIMIMEInfo**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:121: error: 
	   virtual nsresult nsITransfer::GetListener(nsIWebProgressListener**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:122: error: 
	   virtual nsresult nsITransfer::SetListener(nsIWebProgressListener*)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:129: error: 
	   virtual nsresult nsITransfer::GetObserver(nsIObserver**)
	/usr/pkgsrc/www/galeon/work/.buildlink/include/mozilla/uriloader/nsIDownload.h:130: error: 
	   virtual nsresult nsITransfer::SetObserver(nsIObserver*)
	gmake[4]: *** [mozilla.o] Error 1
	gmake[4]: Leaving directory `/usr/pkgsrc/www/galeon/work/galeon-1.2.13/src/mozilla'
	gmake[3]: *** [all-recursive] Error 1
	gmake[3]: Leaving directory `/usr/pkgsrc/www/galeon/work/galeon-1.2.13/src'
	gmake[2]: *** [all] Error 2
	gmake[2]: Leaving directory `/usr/pkgsrc/www/galeon/work/galeon-1.2.13/src'
	gmake[1]: *** [all-recursive] Error 1
	gmake[1]: Leaving directory `/usr/pkgsrc/www/galeon/work/galeon-1.2.13'
	gmake: *** [all] Error 2
	*** Error code 2

	Stop.
	make: stopped in /usr/pkgsrc/www/galeon
	*** Error code 1

	Stop.
	make: stopped in /usr/pkgsrc/www/galeon

>How-To-Repeat:
	cd /usr/pkgsrc/www/galeon && make
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: