From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 06:00:37 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E757106564A; Mon, 20 Dec 2010 06:00:37 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4473D8FC1A; Mon, 20 Dec 2010 06:00:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBK60bLk057988; Mon, 20 Dec 2010 06:00:37 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBK60bdb057968; Mon, 20 Dec 2010 06:00:37 GMT (envelope-from edwin) Date: Mon, 20 Dec 2010 06:00:37 GMT Message-Id: <201012200600.oBK60bdb057968@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/153301: java/openjdk6 web browser plugin doesn't work with both WEB and IPV6 enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 06:00:37 -0000 Synopsis: java/openjdk6 web browser plugin doesn't work with both WEB and IPV6 enabled Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: edwin Responsible-Changed-When: Mon Dec 20 06:00:36 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=153301 From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 06:10:10 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F531065670 for ; Mon, 20 Dec 2010 06:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5698FC16 for ; Mon, 20 Dec 2010 06:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBK6A48E067837 for ; Mon, 20 Dec 2010 06:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBK6A4Bf067836; Mon, 20 Dec 2010 06:10:04 GMT (envelope-from gnats) Date: Mon, 20 Dec 2010 06:10:04 GMT Message-Id: <201012200610.oBK6A4Bf067836@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Doug Barton Cc: Subject: Re: ports/153301: java/openjdk6 web browser plugin doesn't work with both WEB and IPV6 enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Doug Barton List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 06:10:10 -0000 The following reply was made to PR ports/153301; it has been noted by GNATS. From: Doug Barton To: bug-followup@FreeBSD.org, steve@mouf.net Cc: Subject: Re: ports/153301: java/openjdk6 web browser plugin doesn't work with both WEB and IPV6 enabled Date: Sun, 19 Dec 2010 22:07:19 -0800 I had a similar experience, add http://www.dslreports.com/stest to the list of sites that do not work when the openjdk6 has the IPv6 option, even though that site does not have IPv6 connectivity (and I do, FWIW). Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 06:13:05 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 481D11065674 for ; Mon, 20 Dec 2010 06:13:05 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id CE8E18FC12 for ; Mon, 20 Dec 2010 06:13:04 +0000 (UTC) Received: (qmail 16790 invoked by uid 399); 20 Dec 2010 06:13:04 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 20 Dec 2010 06:13:04 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D0EF3EE.6050306@FreeBSD.org> Date: Sun, 19 Dec 2010 22:13:02 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-java@FreeBSD.org References: <4D0C17B7.7030508@FreeBSD.org> In-Reply-To: <4D0C17B7.7030508@FreeBSD.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Firefox 3.6.13 + openjdk6 + web plugin not working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 06:13:05 -0000 On 12/17/2010 18:08, Doug Barton wrote: > I installed openjdk6, with the web plugin option, and linked > /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so into ~/.mozilla/plugins, > and tried going to http://www.java.com/en/download/help/testvm.xml, no > joy. I got the following errors on the command line: > http://pastebin.com/yutq6Bsj > > Any suggestions? > > This is on amd64 -current r216383M with up to date ports. Thanks to a suggestion from swills I tried compiling the port with the IPv6 option disabled, and now it works. http://www.freebsd.org/cgi/query-pr.cgi?pr=153301 FYI, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 11:07:00 2010 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B44510656C2 for ; Mon, 20 Dec 2010 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9EF8FC1E for ; Mon, 20 Dec 2010 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKB70B1024583 for ; Mon, 20 Dec 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBKB6xcw024581 for freebsd-java@FreeBSD.org; Mon, 20 Dec 2010 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Dec 2010 11:06:59 GMT Message-Id: <201012201106.oBKB6xcw024581@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/153301 java java/openjdk6 web browser plugin doesn't work with bot o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o ports/150142 java Not installed java/openjdk6 on file system zfs /usr/lo o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 30 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 11:29:02 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3457D106566B for ; Mon, 20 Dec 2010 11:29:02 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E1F3F8FC15 for ; Mon, 20 Dec 2010 11:29:01 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PUdvI-0003ZK-Sz for freebsd-java@freebsd.org; Mon, 20 Dec 2010 12:29:00 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2010 12:29:00 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2010 12:29:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Ivan Voras Date: Mon, 20 Dec 2010 12:28:46 +0100 Lines: 18 Message-ID: References: <4D0C17B7.7030508@FreeBSD.org> <4D0EF3EE.6050306@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4D0EF3EE.6050306@FreeBSD.org> X-Enigmail-Version: 1.1.2 Subject: Re: Firefox 3.6.13 + openjdk6 + web plugin not working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 11:29:02 -0000 On 20/12/2010 07:13, Doug Barton wrote: > On 12/17/2010 18:08, Doug Barton wrote: >> I installed openjdk6, with the web plugin option, and linked >> /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so into ~/.mozilla/plugins, >> and tried going to http://www.java.com/en/download/help/testvm.xml, no >> joy. I got the following errors on the command line: >> http://pastebin.com/yutq6Bsj >> >> Any suggestions? >> >> This is on amd64 -current r216383M with up to date ports. > > Thanks to a suggestion from swills I tried compiling the port with the > IPv6 option disabled, and now it works. > http://www.freebsd.org/cgi/query-pr.cgi?pr=153301 Maybe this is related to the (previously discussed / known) need to set the sysctl net.inet6.ip6.v6only=0 ? From owner-freebsd-java@FreeBSD.ORG Mon Dec 20 11:40:26 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA2B81065674 for ; Mon, 20 Dec 2010 11:40:26 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id 409098FC14 for ; Mon, 20 Dec 2010 11:40:26 +0000 (UTC) Received: from web132.yandex.ru (web132.yandex.ru [95.108.130.32]) by forward12.mail.yandex.net (Yandex) with ESMTP id 13311221114B for ; Mon, 20 Dec 2010 14:40:25 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by web132.yandex.ru (Yandex) with ESMTP id 0B1C12BC806B for ; Mon, 20 Dec 2010 14:40:25 +0300 (MSK) Received: from host85.khb.ttkdv.ru (host85.khb.ttkdv.ru [188.168.9.85]) by mail.yandex.ru with HTTP; Mon, 20 Dec 2010 14:40:24 +0300 From: Dima Panov To: freebsd-java@freebsd.org In-Reply-To: References: <4D0C17B7.7030508@FreeBSD.org> <4D0EF3EE.6050306@FreeBSD.org> MIME-Version: 1.0 Message-Id: <303931292845224@web132.yandex.ru> Date: Mon, 20 Dec 2010 21:40:24 +1000 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Subject: Re: Firefox 3.6.13 + openjdk6 + web plugin not working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 11:40:26 -0000 Hello! 20.12.2010, 21:28, "Ivan Voras" : > On 20/12/2010 07:13, Doug Barton wrote: > >> šOn 12/17/2010 18:08, Doug Barton wrote: >>> šI installed openjdk6, with the web plugin option, and linked >>> š/usr/local/openjdk6/jre/lib/IcedTeaPlugin.so into ~/.mozilla/plugins, >>> šand tried going to http://www.java.com/en/download/help/testvm.xml, no >>> šjoy. I got the following errors on the command line: >>> šhttp://pastebin.com/yutq6Bsj >>> >>> šAny suggestions? >>> >>> šThis is on amd64 -current r216383M with up to date ports. >> šThanks to a suggestion from swills I tried compiling the port with the >> šIPv6 option disabled, and now it works. >> šhttp://www.freebsd.org/cgi/query-pr.cgi?pr=153301 > > Maybe this is related to the (previously discussed / known) need to set > the sysctl net.inet6.ip6.v6only=0 ? Have it setup'ed. java applets still doesn't works correctly. will tty rebuild openjdk6 without ipv6 later. -- Dima Panov KDE@FreeBSD team Facebook: http://www.facebook.com/?id=100000181104157 From owner-freebsd-java@FreeBSD.ORG Tue Dec 21 14:39:06 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F2B10656A3 for ; Tue, 21 Dec 2010 14:39:06 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from srv3.ultra-secure.de (mail.ultra-secure.de [62.146.9.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3B98FC0C for ; Tue, 21 Dec 2010 14:39:05 +0000 (UTC) Received: (qmail 25308 invoked by uid 80); 21 Dec 2010 14:12:23 -0000 Received: from 212.71.117.70 (SquirrelMail authenticated user rainer@ultra-secure.de) by webmail.ultra-secure.de with HTTP; Tue, 21 Dec 2010 15:12:23 +0100 Message-ID: <0498e64a1d833e57b1720b86ea655caa.squirrel@webmail.ultra-secure.de> Date: Tue, 21 Dec 2010 15:12:23 +0100 From: rainer@ultra-secure.de To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: diablo-jdk16 + compat7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2010 14:39:06 -0000 Hi, I made a package of diablo-jdk16 (for internal deployment). But it seems, the dependency on compat7x did not get registered somehow. I can install the package without compat7 (and then it does not work, of course). Is this normal? Best Regards, Rainer From owner-freebsd-java@FreeBSD.ORG Fri Dec 24 19:22:59 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20845106566C; Fri, 24 Dec 2010 19:22:59 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EBAF18FC1B; Fri, 24 Dec 2010 19:22:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBOJMwYP094795; Fri, 24 Dec 2010 19:22:58 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBOJMwX1094791; Fri, 24 Dec 2010 19:22:58 GMT (envelope-from edwin) Date: Fri, 24 Dec 2010 19:22:58 GMT Message-Id: <201012241922.oBOJMwX1094791@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/153421: java/openjdk6: Typo in openjdk6 port patch set X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2010 19:22:59 -0000 Synopsis: java/openjdk6: Typo in openjdk6 port patch set Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: edwin Responsible-Changed-When: Fri Dec 24 19:22:58 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=153421 From owner-freebsd-java@FreeBSD.ORG Sat Dec 25 10:00:27 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECAD01065672 for ; Sat, 25 Dec 2010 10:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DBDF08FC16 for ; Sat, 25 Dec 2010 10:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBPA0RJU091904 for ; Sat, 25 Dec 2010 10:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBPA0Rxh091875; Sat, 25 Dec 2010 10:00:27 GMT (envelope-from gnats) Date: Sat, 25 Dec 2010 10:00:27 GMT Message-Id: <201012251000.oBPA0Rxh091875@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/151042: [patch] java/openjdk6 Respect CC X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2010 10:00:28 -0000 The following reply was made to PR ports/151042; it has been noted by GNATS. From: Anonymous To: rfarmer@predatorlabs.net Cc: bug-followup@FreeBSD.org Subject: Re: ports/151042: [patch] java/openjdk6 Respect CC Date: Sat, 25 Dec 2010 12:55:20 +0300 - sys.mk already provides default values for CC/CPP/CXX (cc/cpp/c++) - but the port may not support using cpp(1) directly, so don't inherit CPP - and using absolute paths breaks devel/ccache usage --- a.diff begins here --- Index: java/openjdk6/files/patch-set =================================================================== RCS file: /a/.cvsup/ports/java/openjdk6/files/patch-set,v retrieving revision 1.10 diff -u -p -r1.10 patch-set --- java/openjdk6/files/patch-set 13 Dec 2010 08:59:52 -0000 1.10 +++ java/openjdk6/files/patch-set 25 Dec 2010 09:37:51 -0000 @@ -203,15 +203,13 @@ # OPT build MUST have a mapfile? --- corba/make/common/shared/Compiler-gcc.gmk 2010-06-21 14:11:20.000000000 -0700 +++ corba/make/common/shared/Compiler-gcc.gmk 2010-06-20 21:56:15.000000000 -0700 -@@ -100,6 +100,24 @@ +@@ -100,6 +100,22 @@ endif +ifeq ($(PLATFORM), bsd) + # Settings specific to BSD -+ CC = $(COMPILER_PATH)gcc -+ CPP = $(COMPILER_PATH)gcc -E -+ CXX = $(COMPILER_PATH)g++ ++ CPP = $(CC) -E + REQUIRED_CC_VER = 3.3 + REQUIRED_GCC_VER = 3.3.* + @@ -6725,16 +6723,14 @@ --- jdk/make/common/shared/Compiler-gcc.gmk 2010-06-21 14:15:08.000000000 -0700 +++ jdk/make/common/shared/Compiler-gcc.gmk 2010-06-20 21:56:16.000000000 -0700 -@@ -99,6 +99,24 @@ +@@ -99,6 +99,22 @@ endif +ifeq ($(PLATFORM), bsd) + + # Settings specific to BSD -+ CC = $(COMPILER_PATH)gcc -+ CPP = $(COMPILER_PATH)gcc -E -+ CXX = $(COMPILER_PATH)g++ ++ CPP = $(CC) -E + REQUIRED_CC_VER = 3.2 + + # Option used to create a shared library --- a.diff ends here --- From owner-freebsd-java@FreeBSD.ORG Sat Dec 25 23:50:05 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2801065673 for ; Sat, 25 Dec 2010 23:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0398FC15 for ; Sat, 25 Dec 2010 23:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBPNo5n3081000 for ; Sat, 25 Dec 2010 23:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBPNo50J080998; Sat, 25 Dec 2010 23:50:05 GMT (envelope-from gnats) Date: Sat, 25 Dec 2010 23:50:05 GMT Message-Id: <201012252350.oBPNo50J080998@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Rob Farmer Cc: Subject: Re: ports/151042: [patch] java/openjdk6 Respect CC X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Farmer List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2010 23:50:05 -0000 The following reply was made to PR ports/151042; it has been noted by GNATS. From: Rob Farmer To: Anonymous Cc: bug-followup@freebsd.org Subject: Re: ports/151042: [patch] java/openjdk6 Respect CC Date: Sat, 25 Dec 2010 15:49:58 -0800 On Sat, Dec 25, 2010 at 01:55, Anonymous wrote: > - sys.mk already provides default values for CC/CPP/CXX (cc/cpp/c++) > - but the port may not support using cpp(1) directly, so don't inherit CPP cc -E is necessary here (with the base system) but I still think ?= is best, to allow override if desired. I've built this in the past with the recommended lang/gcc4x settings: .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44) CC=gcc44 CXX=g++44 CPP=cpp44 .endif And it worked fine. > - and using absolute paths breaks devel/ccache usage I'm not sure what you mean here. This works with my patch: rfarmer@thinkpad /home/lcvs/ports/java/openjdk6 % make CC=/usr/local/libexec/ccache/gcc CXX=/usr/local/libexec/ccache/g++ -- Rob Farmer