From owner-freebsd-java@FreeBSD.ORG Sun Mar 11 07:10:25 2012 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 10D15106566B for ; Sun, 11 Mar 2012 07:10:25 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from lilzmailso01.liwest.at (lilzmailso02.liwest.at [212.33.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id C739E8FC16 for ; Sun, 11 Mar 2012 07:10:24 +0000 (UTC) Received: from [90.146.7.130] (helo=[192.168.10.21]) by lilzmailso01.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1S6ceL-00021X-Il; Sun, 11 Mar 2012 07:53:01 +0100 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Horst Leitenmueller In-Reply-To: Date: Sun, 11 Mar 2012 07:53:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <01B7BF02-54A4-43E7-A709-D2FD88C9B160@liwest.at> References: To: David Warren X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.4 (-) Cc: freebsd-java@freebsd.org Subject: Re: Java without X? 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: Sun, 11 Mar 2012 07:10:25 -0000 Hi Dave, yes there is a possibility you just have to install the xorg-lib this = will not install the whole x dependencies cd /usr/ports/x11/xorg-libraries make install then install java as normal , and java apps you need Horst On 10.03.2012, at 16:24, David Warren wrote: > Hi all, >=20 > Is there a variant or config option that would let me install Java > without X dependencies? Much appreciated, >=20 > Dave > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Sun Mar 11 09:41:42 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1464106564A for ; Sun, 11 Mar 2012 09:41:42 +0000 (UTC) (envelope-from PThomas9243@ymail.com) Received: from [155.109.184.132] (70-7-80-146.pools.spcsdns.net [70.7.80.146]) by mx1.freebsd.org (Postfix) with SMTP id 2C70B8FC15 for ; Sun, 11 Mar 2012 09:41:41 +0000 (UTC) Received: from [155.109.184.132][127.0.0.1] by [155.109.184.132][127.0.0.1] (SMTPD32); Sun, 11 Mar 2012 02:41:42 -0700 Message-ID: <0b93ef39131a1fda536a5056001d959a@ymail.com> From: "P. Thomas" To: Date: Sun, 11 Mar 2012 02:41:39 -0700 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Proposal 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: Sun, 11 Mar 2012 09:41:43 -0000 Hello, As you can see, you received this e-mail and opened it. If you were = using our=20 e-mail=20 marketing services, we could be doing the same thing for=20 you. We can reach new prospective clients extremely fast and at an=20 incredibly low cost compared to any other form of marketing. We offer E-mail=20 Service Plans for every size business. Even if you don't have your = own=20 database, you can use one of our targeted lists at no additional = cost! We=20 have access to 200 Million Consumers and 45 Million Businesses. We can = target by=20 over 20K different search filters. We will create your e-mail ad, provide the database, send your message=20 through our dedicated mailing servers and provide realtime tracking for = your=20 reference. So, if you are serious about skyrocketing your sales this week, contact=20 us here. Order by TODAY for this special=20 offer: 120,000 Sent = Emails -=20 $549.00 (regular=20 $1,200) Contact me at 1 (800) 330-4022 ext 420 or fill=20 out our information request form for complete details. If you = know=20 someone that could benefit from this offer, please send them this e-mail. To Your Success, Patrick Thomas E-mail Blast USA, Inc. Scottsdale, AZ If you would like to be removed from our = database,=20 you can Click here. From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 01:50:10 2012 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 9D1CA106566B for ; Mon, 12 Mar 2012 01:50:10 +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 75BD48FC14 for ; Mon, 12 Mar 2012 01:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C1oAug022053 for ; Mon, 12 Mar 2012 01:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C1oAVr022052; Mon, 12 Mar 2012 01:50:10 GMT (envelope-from gnats) Resent-Date: Mon, 12 Mar 2012 01:50:10 GMT Resent-Message-Id: <201203120150.q2C1oAVr022052@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Merlin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D95DA106564A for ; Mon, 12 Mar 2012 01:46:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C425F8FC15 for ; Mon, 12 Mar 2012 01:46:06 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2C1k67M039121 for ; Mon, 12 Mar 2012 01:46:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2C1k6ei039120; Mon, 12 Mar 2012 01:46:06 GMT (envelope-from nobody) Message-Id: <201203120146.q2C1k6ei039120@red.freebsd.org> Date: Mon, 12 Mar 2012 01:46:06 GMT From: Merlin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/165957: Enabling IPv6 in port java/jdk16 disables IPv4 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, 12 Mar 2012 01:50:10 -0000 >Number: 165957 >Category: java >Synopsis: Enabling IPv6 in port java/jdk16 disables IPv4 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 01:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Merlin >Release: 9.0-RELEASE >Organization: merlinsbox.net >Environment: FreeBSD machine.merlinsbox.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: java/jdk16 with IPV6 enabled in configuration caused ipv4 to be disabled. Many applications which used the network all failed, unless dealing with ipv6 addresses. A test case of creating a connected socket and outputting the exception showed an invalid parameter was being passed to a socket call, which lead to the discovery that only ipv4 addresses were affected by this issue. >How-To-Repeat: Built and installed java/jdk16 from ports inside a jail on a build machine, with IPV6, WEB, POLICY, TZUPDATE, and JAIL selected in the configuration. Installed on two machines with the same effect (no ipv4). Namely, the following test program and methodology was used to diagnose the problem: Started netcat listeners like so: $ nc -lk 127.0.0.1 2000 $ nc -lk ::1 2000 // // test.java // built with javac test.java // ran with java test // import java.net.*; public class test { public static void main(String argv[]) { try { // This line was modified to be 127.0.0.1 to test ipv4 new Socket("::1", 2000); System.out.println("Success"); } catch (Exception e) { e.printStackTrace(); } } } // // end test.java // >Fix: Rebuilding the port without IPV6 has fixed IPV4, but now I cannot of course use IPV6. Thankfully, I didn't really NEED it (not like I NEED IPv4 anyway :P). >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 02:00:33 2012 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 05860106566C; Mon, 12 Mar 2012 02:00:33 +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 CD15B8FC17; Mon, 12 Mar 2012 02:00:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C20WPs030799; Mon, 12 Mar 2012 02:00:32 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C20WWv030795; Mon, 12 Mar 2012 02:00:32 GMT (envelope-from edwin) Date: Mon, 12 Mar 2012 02:00:32 GMT Message-Id: <201203120200.q2C20WWv030795@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/165957: Enabling IPv6 in port java/jdk16 disables IPv4 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, 12 Mar 2012 02:00:33 -0000 Synopsis: Enabling IPv6 in port java/jdk16 disables IPv4 Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: edwin Responsible-Changed-When: Mon Mar 12 02:00:31 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=165957 From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 11:07:15 2012 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D926D1065708 for ; Mon, 12 Mar 2012 11:07:15 +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 AD5498FC15 for ; Mon, 12 Mar 2012 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CB7Fkw072385 for ; Mon, 12 Mar 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CB7FcD072383 for freebsd-java@FreeBSD.org; Mon, 12 Mar 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2012 11:07:15 GMT Message-Id: <201203121107.q2CB7FcD072383@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, 12 Mar 2012 11:07:15 -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/165818 java java/openjdk7: build failed:/usr/include/sys/stdint.h: a java/163456 java [patch] java/openjdk6: build and distribute open timez o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/156674 java [PATCH] java/openjdk6: make x11-fonts/dejavu a build d o ports/155967 java [bsd.java.mk] [patch] javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o java/147512 java Crash of RXTX-2.1-7 on AMD64 system 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 f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con 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/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java 27 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 15:03:36 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09EC1106564A; Mon, 12 Mar 2012 15:03:36 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 80D6E8FC0C; Mon, 12 Mar 2012 15:03:35 +0000 (UTC) Received: from atlas.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q2CExXVd055264; Mon, 12 Mar 2012 14:59:33 GMT (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: <201203120146.q2C1k6ei039120@red.freebsd.org> Date: Mon, 12 Mar 2012 14:59:28 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <9698A471-795D-4FF9-A908-0278D5DC0BF9@gid.co.uk> References: <201203120146.q2C1k6ei039120@red.freebsd.org> To: Merlin X-Mailer: Apple Mail (2.1084) Cc: freebsd-gnats-submit@freebsd.org, freebsd-java@freebsd.org Subject: Re: java/165957: Enabling IPv6 in port java/jdk16 disables IPv4 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, 12 Mar 2012 15:03:36 -0000 Hi, On 12 Mar 2012, at 01:46, Merlin wrote: >=20 >> Number: 165957 >> Category: java >> Synopsis: Enabling IPv6 in port java/jdk16 disables IPv4 >> Confidential: no >> Severity: serious >> Priority: low >> Responsible: freebsd-java >> State: open >> Quarter: =20 >> Keywords: =20 >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Mon Mar 12 01:50:10 UTC 2012 >> Closed-Date: >> Last-Modified: >> Originator: Merlin >> Release: 9.0-RELEASE >> Organization: > merlinsbox.net >> Environment: > FreeBSD machine.merlinsbox.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue = Jan 3 07:46:30 UTC 2012 = root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> Description: > java/jdk16 with IPV6 enabled in configuration caused ipv4 to be = disabled. Many applications which used the network all failed, unless = dealing with ipv6 addresses. A test case of creating a connected socket = and outputting the exception showed an invalid parameter was being = passed to a socket call, which lead to the discovery that only ipv4 = addresses were affected by this issue. Probably java with IPv6 assumes IPv4 mapped addressing is in use = (net.inet6.ip6.v6only =3D 0), which is likely to break other = applications.=20 >> How-To-Repeat: > Built and installed java/jdk16 from ports inside a jail on a build = machine, with IPV6, WEB, POLICY, TZUPDATE, and JAIL selected in the = configuration. Installed on two machines with the same effect (no = ipv4). >=20 > Namely, the following test program and methodology was used to = diagnose the problem: >=20 > Started netcat listeners like so: > $ nc -lk 127.0.0.1 2000 > $ nc -lk ::1 2000 >=20 > // > // test.java > // built with javac test.java > // ran with java test > // >=20 > import java.net.*; >=20 > public class test { > public static void main(String argv[]) > { > try { > // This line was modified to be 127.0.0.1 to test ipv4 > new Socket("::1", 2000); > System.out.println("Success"); > } catch (Exception e) { > e.printStackTrace(); > } > } > } >=20 > // > // end test.java > // >> Fix: > Rebuilding the port without IPV6 has fixed IPV4, but now I cannot of = course use IPV6. Thankfully, I didn't really NEED it (not like I NEED = IPv4 anyway :P). >=20 >> Release-Note: >> Audit-Trail: >> Unformatted: > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >=20 -- Bob Bishop +44 (0)118 940 1243 rb@gid.co.uk fax +44 (0)118 940 1295 mobile +44 (0)783 626 4518 From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 15:26:35 2012 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 2F5A61065670; Mon, 12 Mar 2012 15:26:35 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1CD8FC15; Mon, 12 Mar 2012 15:26:34 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3778693bkc.13 for ; Mon, 12 Mar 2012 08:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=tN5IdTv84zDU5zSgjn04eptwURacK0EbJ53iHRH0Ky8=; b=iOi96LfMOWbrdzlbDyXuVvtZHY0ks37xVbFWQubGtuQ46V4FB9AB7QLlYXmh3R0t4m aR3S8gmUHiQ4P7kxRVaG2tUeSJTPVNXQ5kDnWe+RAl+3qUhQNnX6ZdIVXmJJuN5xDn7P ePMxWbI7BaUq4MEN3Zyg34uMtZhga+6+j9SIgoYZARSlvBLo7KchnwJr8YEDFNOCvOsD a8b3m+I78zpZUaDXZVHv8IKWwM5LK+imBTZIantbQuN2Hj503rjEzsS45rpt2j73ba/R Jywfy+L6ot46uw07GjLdn4yTP122b/MgiUZWEFOIZKzr+19cMfu31l+xxUdZ7lRwMyeg 4tzQ== Received: by 10.205.132.73 with SMTP id ht9mr548788bkc.46.1331565993393; Mon, 12 Mar 2012 08:26:33 -0700 (PDT) Received: from green.tandem.local (251-132-201-46.pool.ukrtel.net. [46.201.132.251]) by mx.google.com with ESMTPS id f6sm7194389bkg.10.2012.03.12.08.26.28 (version=SSLv3 cipher=OTHER); Mon, 12 Mar 2012 08:26:30 -0700 (PDT) Message-ID: <4F5E15A2.204@gmail.com> Date: Mon, 12 Mar 2012 17:26:26 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120220 Firefox/10.0.2 SeaMonkey/2.7.2 MIME-Version: 1.0 To: Jung-uk Kim References: <201203080750.q287oEA5033004@freefall.freebsd.org> <201203081309.55633.jkim@FreeBSD.org> In-Reply-To: <201203081309.55633.jkim@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: bug-followup@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: ports/162991: java/openjdk6 fails to build 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, 12 Mar 2012 15:26:35 -0000 Jung-uk Kim wrote: > On Thursday 08 March 2012 02:50 am, Volodymyr Kostyrko wrote: >> Ok, I found time to investigate it. >> >> Everything is about arch guessing. java/openjdk7 substitutes amd64 >> for x86_64 while java/openjdk6 doesn't. I just added missing bits >> from correspondent java/openjdk7 patch. >> >> Redports build: >> https://redports.org/buildarchive/20120307160255-45601 >> >> Patch attached. > > Sorry but it doesn't make any sense. I guess you are patching this: > > ... > # Platform settings specific to BSD > ifeq ($(PLATFORM), bsd) > OS_VERSION := $(shell uname -r) > # Arch and OS name/version > mach := $(shell uname -m) > archExpr = case "$(mach)" in \ > i[3-9]86) \ > echo i586 \ > ;; \ > *) \ > echo $(mach) \ > ;; \ > esac > ARCH := $(shell $(archExpr) ) > ARCH_FAMILY := $(ARCH) > ... > > Unless "UNAME_m" environment variable is set, there is no way that > this patch does anything at all. > > % uname -r > 10.0-CURRENT > % uname -m > amd64 > % env UNAME_m=x86_64 uname -m > x86_64 > > I believe OpenJDK7 added it because some BSDs (e.g., DragonFlyBSD) > return x86_64 for "uname -m". So why it ends up in our port and not in DragonFlyBSD's pkgsrc? > BTW, does "make DISABLE_MAKE_JOBS=yes" make any difference? Actually after successful build I can't reproduce this issue anymore. I seem to miss some bits of data so I'll try to retest in clean environment. -- Sphinx of black quartz judge my vow. From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 15:30:17 2012 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 501F7106564A for ; Mon, 12 Mar 2012 15:30:17 +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 3F1638FC0C for ; Mon, 12 Mar 2012 15:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CFUHMu019839 for ; Mon, 12 Mar 2012 15:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CFUHs5019836; Mon, 12 Mar 2012 15:30:17 GMT (envelope-from gnats) Date: Mon, 12 Mar 2012 15:30:17 GMT Message-Id: <201203121530.q2CFUHs5019836@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Volodymyr Kostyrko Cc: Subject: Re: ports/162991: java/openjdk6 fails to build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volodymyr Kostyrko List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 15:30:17 -0000 The following reply was made to PR ports/162991; it has been noted by GNATS. From: Volodymyr Kostyrko To: Jung-uk Kim Cc: freebsd-java@freebsd.org, bug-followup@FreeBSD.org Subject: Re: ports/162991: java/openjdk6 fails to build Date: Mon, 12 Mar 2012 17:26:26 +0200 Jung-uk Kim wrote: > On Thursday 08 March 2012 02:50 am, Volodymyr Kostyrko wrote: >> Ok, I found time to investigate it. >> >> Everything is about arch guessing. java/openjdk7 substitutes amd64 >> for x86_64 while java/openjdk6 doesn't. I just added missing bits >> from correspondent java/openjdk7 patch. >> >> Redports build: >> https://redports.org/buildarchive/20120307160255-45601 >> >> Patch attached. > > Sorry but it doesn't make any sense. I guess you are patching this: > > ... > # Platform settings specific to BSD > ifeq ($(PLATFORM), bsd) > OS_VERSION := $(shell uname -r) > # Arch and OS name/version > mach := $(shell uname -m) > archExpr = case "$(mach)" in \ > i[3-9]86) \ > echo i586 \ > ;; \ > *) \ > echo $(mach) \ > ;; \ > esac > ARCH := $(shell $(archExpr) ) > ARCH_FAMILY := $(ARCH) > ... > > Unless "UNAME_m" environment variable is set, there is no way that > this patch does anything at all. > > % uname -r > 10.0-CURRENT > % uname -m > amd64 > % env UNAME_m=x86_64 uname -m > x86_64 > > I believe OpenJDK7 added it because some BSDs (e.g., DragonFlyBSD) > return x86_64 for "uname -m". So why it ends up in our port and not in DragonFlyBSD's pkgsrc? > BTW, does "make DISABLE_MAKE_JOBS=yes" make any difference? Actually after successful build I can't reproduce this issue anymore. I seem to miss some bits of data so I'll try to retest in clean environment. -- Sphinx of black quartz judge my vow. From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 16:50:26 2012 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 3A971106566B; Mon, 12 Mar 2012 16:50:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Volodymyr Kostyrko Date: Mon, 12 Mar 2012 12:50:12 -0400 User-Agent: KMail/1.6.2 References: <201203080750.q287oEA5033004@freefall.freebsd.org> <201203081309.55633.jkim@FreeBSD.org> <4F5E15A2.204@gmail.com> In-Reply-To: <4F5E15A2.204@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203121250.14548.jkim@FreeBSD.org> Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: ports/162991: java/openjdk6 fails to build 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, 12 Mar 2012 16:50:26 -0000 On Monday 12 March 2012 11:26 am, Volodymyr Kostyrko wrote: > Jung-uk Kim wrote: > > On Thursday 08 March 2012 02:50 am, Volodymyr Kostyrko wrote: > >> Ok, I found time to investigate it. > >> > >> Everything is about arch guessing. java/openjdk7 substitutes > >> amd64 for x86_64 while java/openjdk6 doesn't. I just added > >> missing bits from correspondent java/openjdk7 patch. > >> > >> Redports build: > >> https://redports.org/buildarchive/20120307160255-45601 > >> > >> Patch attached. > > > > Sorry but it doesn't make any sense. I guess you are patching > > this: > > > > ... > > # Platform settings specific to BSD > > ifeq ($(PLATFORM), bsd) > > OS_VERSION := $(shell uname -r) > > # Arch and OS name/version > > mach := $(shell uname -m) > > archExpr = case "$(mach)" in \ > > i[3-9]86) \ > > echo i586 \ > > ;; \ > > *) \ > > echo $(mach) \ > > ;; \ > > esac > > ARCH := $(shell $(archExpr) ) > > ARCH_FAMILY := $(ARCH) > > ... > > > > Unless "UNAME_m" environment variable is set, there is no way > > that this patch does anything at all. > > > > % uname -r > > 10.0-CURRENT > > % uname -m > > amd64 > > % env UNAME_m=x86_64 uname -m > > x86_64 > > > > I believe OpenJDK7 added it because some BSDs (e.g., > > DragonFlyBSD) return x86_64 for "uname -m". > > So why it ends up in our port and not in DragonFlyBSD's pkgsrc? OpenJDK7 patchset is shared with other BSDs: https://wikis.oracle.com/display/OpenJDK/BSDPort OpenJDK6 patchset was based on early OpenJDK7 patchsets and it may or may not build on other platforms. I am 99% sure it won't build on DragonFlyBSD/x86-64, BTW. > > BTW, does "make DISABLE_MAKE_JOBS=yes" make any difference? > > Actually after successful build I can't reproduce this issue > anymore. I seem to miss some bits of data so I'll try to retest in > clean environment. These parallel build problems are very hard to reproduce. Actually, I was never able to reproduce it myself. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Mon Mar 12 17:00:32 2012 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BFD11065676 for ; Mon, 12 Mar 2012 17:00:32 +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 61FA38FC15 for ; Mon, 12 Mar 2012 17:00:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CH0WfD003157 for ; Mon, 12 Mar 2012 17:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CH0Wle003155; Mon, 12 Mar 2012 17:00:32 GMT (envelope-from gnats) Date: Mon, 12 Mar 2012 17:00:32 GMT Message-Id: <201203121700.q2CH0Wle003155@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Jung-uk Kim Cc: Subject: Re: ports/162991: java/openjdk6 fails to build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jung-uk Kim List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 17:00:32 -0000 The following reply was made to PR ports/162991; it has been noted by GNATS. From: Jung-uk Kim To: Volodymyr Kostyrko Cc: freebsd-java@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/162991: java/openjdk6 fails to build Date: Mon, 12 Mar 2012 12:50:12 -0400 On Monday 12 March 2012 11:26 am, Volodymyr Kostyrko wrote: > Jung-uk Kim wrote: > > On Thursday 08 March 2012 02:50 am, Volodymyr Kostyrko wrote: > >> Ok, I found time to investigate it. > >> > >> Everything is about arch guessing. java/openjdk7 substitutes > >> amd64 for x86_64 while java/openjdk6 doesn't. I just added > >> missing bits from correspondent java/openjdk7 patch. > >> > >> Redports build: > >> https://redports.org/buildarchive/20120307160255-45601 > >> > >> Patch attached. > > > > Sorry but it doesn't make any sense. I guess you are patching > > this: > > > > ... > > # Platform settings specific to BSD > > ifeq ($(PLATFORM), bsd) > > OS_VERSION := $(shell uname -r) > > # Arch and OS name/version > > mach := $(shell uname -m) > > archExpr = case "$(mach)" in \ > > i[3-9]86) \ > > echo i586 \ > > ;; \ > > *) \ > > echo $(mach) \ > > ;; \ > > esac > > ARCH := $(shell $(archExpr) ) > > ARCH_FAMILY := $(ARCH) > > ... > > > > Unless "UNAME_m" environment variable is set, there is no way > > that this patch does anything at all. > > > > % uname -r > > 10.0-CURRENT > > % uname -m > > amd64 > > % env UNAME_m=x86_64 uname -m > > x86_64 > > > > I believe OpenJDK7 added it because some BSDs (e.g., > > DragonFlyBSD) return x86_64 for "uname -m". > > So why it ends up in our port and not in DragonFlyBSD's pkgsrc? OpenJDK7 patchset is shared with other BSDs: https://wikis.oracle.com/display/OpenJDK/BSDPort OpenJDK6 patchset was based on early OpenJDK7 patchsets and it may or may not build on other platforms. I am 99% sure it won't build on DragonFlyBSD/x86-64, BTW. > > BTW, does "make DISABLE_MAKE_JOBS=yes" make any difference? > > Actually after successful build I can't reproduce this issue > anymore. I seem to miss some bits of data so I'll try to retest in > clean environment. These parallel build problems are very hard to reproduce. Actually, I was never able to reproduce it myself. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Tue Mar 13 05:20:13 2012 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2624D106566C; Tue, 13 Mar 2012 05:20:13 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECC838FC16; Tue, 13 Mar 2012 05:20:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2D5KCZK098926; Tue, 13 Mar 2012 05:20:12 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2D5KCmI098922; Tue, 13 Mar 2012 05:20:12 GMT (envelope-from glewis) Date: Tue, 13 Mar 2012 05:20:12 GMT Message-Id: <201203130520.q2D5KCmI098922@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org From: glewis@FreeBSD.org Cc: Subject: Re: ports/165818: java/openjdk7: build failed:/usr/include/sys/stdint.h:68:68: error: missing binary operator before token "(" 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, 13 Mar 2012 05:20:13 -0000 Synopsis: java/openjdk7: build failed:/usr/include/sys/stdint.h:68:68: error: missing binary operator before token "(" Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Mar 13 05:17:05 UTC 2012 Responsible-Changed-Why: Assigning to myself as maintainer. Takuya-san, I'm a little confused. Do these settings: CFLAGS=-D__STDC_CONSTANT_MACROS=1 CXXFLAGS=-D__STDC_CONSTANT_MACROS=1 cause or fix the bug? This also seems a lot like a bug in the system headers for 10.x rather than a problem with the openjdk7 port. http://www.freebsd.org/cgi/query-pr.cgi?pr=165818 From owner-freebsd-java@FreeBSD.ORG Sat Mar 17 18:08:25 2012 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E47F11065674 for ; Sat, 17 Mar 2012 18:08:25 +0000 (UTC) (envelope-from jb.1234abcd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A398F8FC22 for ; Sat, 17 Mar 2012 18:08:25 +0000 (UTC) Received: by ghrr20 with SMTP id r20so5971943ghr.13 for ; Sat, 17 Mar 2012 11:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xo+AcmWoLzAKuF3zZx8CqMbkYTSMd1T6fVRV6gPPCCw=; b=NyI+AlnklqeV81o3iTGmPvq/tlYDqhuEDbe9m7U4ts5kbZe0IPOAuRkdR1OXb4EQoL 9ePjyXuMeSTaJIDW8xLKSErRimwoQCKLScMQ9k4PELwtJBns9ipiEZZnVw5C72vV1srX hRF2vk013DxnaF2PqTZkzNQXwr0uVY10dqqhcN9aMvMNgm/LrrgoTs5nKwsEkmfZEhUP HftVGEG5DcAJfwqIT8u6IIvnVjdjNL99aX24XR0s6YrOLuGLFQ6Hm0H/Cu8sjmeTLFuO GywEK9NPqItP8zZfzMHQ8iFMfz17BkI0TTmSXKKcr+jmQbx47TvhtmAq6UB+DdMHS8M2 0WkA== MIME-Version: 1.0 Received: by 10.236.136.4 with SMTP id v4mr6980229yhi.44.1332007705111; Sat, 17 Mar 2012 11:08:25 -0700 (PDT) Received: by 10.146.232.12 with HTTP; Sat, 17 Mar 2012 11:08:25 -0700 (PDT) Date: Sat, 17 Mar 2012 19:08:25 +0100 Message-ID: From: J B To: java@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: icedtea-web update/compilation 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: Sat, 17 Mar 2012 18:08:26 -0000 Hi, this is FB9-release, with updates. I recently updated openjdk6 port with 'portmaster openjdk6'. The openjdk6 is required by icedtea-web. So, I updated icedtea-web to the latest version with 'portmaster icedtea-web'. I noticed that during compilation firefox-3.6.27 was downloaded which puzzled me. The final msg was: ===>>> The following actions were performed: Installation of www/libxul (libxul-1.9.2.27) Re-installation of icedtea-web-1.1.4 Is there any problem with firefox dependency here ? jb