From owner-freebsd-java@FreeBSD.ORG Sun Aug 29 08:08:18 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6969216A52E for ; Sun, 29 Aug 2004 08:08:18 +0000 (GMT) Received: from mail.unixconsult.co.uk (mail.unixconsult.co.uk [81.2.69.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE40A43D49 for ; Sun, 29 Aug 2004 08:08:17 +0000 (GMT) (envelope-from freebsd@unix-consult.com) Received: from localhost (localhost.unixconsult.co.uk [127.0.0.1]) by mail.unixconsult.co.uk (Postfix) with ESMTP id 9573F50835 for ; Sun, 29 Aug 2004 09:08:11 +0100 (BST) Received: from mail.unixconsult.co.uk ([127.0.0.1]) by localhost (mail.unixconsult.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57222-06 for ; Sun, 29 Aug 2004 09:08:09 +0100 (BST) Received: from nermal.unix-consult.com (wall.unixconsult.co.uk [81.2.69.82]) by mail.unixconsult.co.uk (Postfix) with ESMTP for ; Sun, 29 Aug 2004 09:08:09 +0100 (BST) Received: from odie.unix-consult.com (odie [192.168.0.2]) by nermal.unix-consult.com (Postfix) with ESMTP id 6E48C22E27 for ; Sun, 29 Aug 2004 09:08:14 +0100 (BST) Received: by odie.unix-consult.com (Postfix, from userid 1002) id 311AC824A; Sun, 29 Aug 2004 09:08:16 +0100 (BST) Date: Sun, 29 Aug 2004 09:08:16 +0100 From: Timo Geusch To: freebsd-java@freebsd.org Message-ID: <20040829080816.GA86993@odie.unix-consult.com> Mail-Followup-To: Timo Geusch , freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at unixconsult.co.uk Subject: Problem building JDK-1.3.1p9 on recent -current (patch included) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 08:08:18 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Apologies if this is a known problem... Building JDK13 on -current cvsup'd yesterday fails as the newer C++ compiler doesn't like some of the C++ code in the plugin directory - see attached error message. The patch fixes the error for me, unfortunately I don't have a scratch releng_4 box handy to rebuild the JDK there in order to verify that the patch doesn't break compilation with the older code. The patch itself is simple enough, it appears that the 'offending' code is already in place but was commented out. Regards, T. --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="make.out" >>>Recursively making ./../ext/plugin/build/solaris all @ Sun Aug 29 08:38:47 BST 2004 ... gmake[1]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' g++ -Wall -Wno-unused -Wconversion -O -c -w -D_GNU_SOURCE -DXP_UNIX -DVERSION="\"1.3.1-p9-root-040829-08:38\"" -DDATE="\"Aug-29-2004\"" -DARCH="\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../tmp/bsd/i386/CClassHeaders -I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig5 -I/usr/X11R6/include -I/usr/X11R6/include -I../../../../src/share/javavm/export -I../../../../src/solaris/javavm/export -I../../oji-plugin/include/solaris/navig5 -I/usr/local/include/glib12 -I/usr/X11R6/include/gtk12 -I -I/usr/local/bin//../plugin/libg/lib/glib/include -I/usr/local/include -I/usr/local/bin//../../share/plugin -o ../../tmp/bsd/i386/NetscapeStream5.o ../../oji-plugin/src/motif/navig5/NetscapeStream5.cpp In file included from ../../oji-plugin/include/solaris/navig5/nsComponentManagerUtils.h:23, from ../../oji-plugin/include/solaris/navig5/nsIComponentManager.h:157, from ../../oji-plugin/include/solaris/navig5/nsRepository.h:26, from ../../oji-plugin/include/solaris/navig5/nsplugin.h:86, from ../../oji-plugin/src/motif/navig5/NetscapeStream5.cpp:31: ../../oji-plugin/include/solaris/navig5/nsCOMPtr.h:605: error: an explicit specialization must be preceded by 'template <>' ../../oji-plugin/include/solaris/navig5/nsCOMPtr.h:848: error: an explicit specialization must be preceded by 'template <>' gmake[1]: *** [../../tmp/bsd/i386/NetscapeStream5.o] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- ext/plugin/oji-plugin/include/solaris/navig5/nsCOMPtr.h.orig Sun Aug 29 08:40:56 2004 +++ ext/plugin/oji-plugin/include/solaris/navig5/nsCOMPtr.h Sun Aug 29 08:41:48 2004 @@ -600,7 +600,7 @@ Specializing |nsCOMPtr| for |nsISupports| allows us to */ -// template <> +template <> class nsCOMPtr : private nsCOMPtr_base { @@ -843,7 +843,7 @@ }; -// template <> +template <> class nsGetterAddRefs { public: --nFreZHaLTZJo0R7j--