Subject: pkg/28871: galeon12 won't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 01/05/2005 04:18:01
>Number: 28871
>Category: pkg
>Synopsis: galeon12 gets compilation errors
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 05 04:18:01 +0000 2005
>Originator: Steven M. Bellovin
>Release: NetBSD 2.99.12, 4 January 2005
>Organization:
>Environment:
System: NetBSD gg1.cs.columbia.edu 2.99.12 NetBSD 2.99.12 (GENERIC.MPACPI) #1: Mon Jan 3 16:42:50 EST 2005 smb@berkshire.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/GENERIC.MPACPI i386
Architecture: i386
Machine: i386
>Description:
Trying to compile galeon12 on -current (with both pkgsrc and
the system current as of today), I get the following error:
In file included from /usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/n
spr/prtypes.h:55,
from /usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/x
pcom/nscore.h:51,
from mozilla.h:297,
from ContentHandler.cpp:149:
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/nspr/prcpucfg.h:53:1: w
arning: "HAVE_LONG_LONG" redefined
In file included from ../../src/galeon.h:30,
from ContentHandler.cpp:146:
../../config.h:132:1: warning: this is the location of the previous definition
ContentHandler.cpp: In member function `virtual nsresult
GContentHandler::PromptForSaveToFile(nsIHelperAppLauncher*, nsISupports*,
const PRUnichar*, const PRUnichar*, nsILocalFile**)':
ContentHandler.cpp:382: error: no matching function for call to `
nsDerivedSafe<nsIFilePicker>::Init(nsCOMPtr<nsIDOMWindowInternal>&, const
PRUnichar*, nsIFilePicker::<anonymous enum>)'
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/widget/nsIFilePicker.h:
76: error: candidates
are: virtual nsresult nsIFilePicker::Init(nsIDOMWindow*, const nsAString&,
short int)
ContentHandler.cpp:383: error: no matching function for call to `
nsDerivedSafe<nsIFilePicker>::SetDefaultString(const PRUnichar*&)'
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/widget/nsIFilePicker.h:
104: error: candidates
are: virtual nsresult nsIFilePicker::SetDefaultString(const nsAString&)
gmake[4]: *** [ContentHandler.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/www/galeon12/work/galeon-1.2.14/src/moz
illa'
>How-To-Repeat:
cd /usr/pkgsrc/www/galeon12 && make
>Fix:
>Unformatted: