From owner-freebsd-java@FreeBSD.ORG Fri Feb 11 17:55:17 2011 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 B07F4106566C; Fri, 11 Feb 2011 17:55:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Fri, 11 Feb 2011 12:54:59 -0500 User-Agent: KMail/1.6.2 References: <201101261721.58069.jkim@FreeBSD.org> <201102091507.19467.jkim@FreeBSD.org> <1297441474.15617.167.camel@scotth.emsphone.com> In-Reply-To: <1297441474.15617.167.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102111255.03596.jkim@FreeBSD.org> Cc: "Scott T. Hildreth" Subject: Re: [CFT] Update OpenJDK6 to b21 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, 11 Feb 2011 17:55:17 -0000 On Friday 11 February 2011 11:24 am, Scott T. Hildreth wrote: > Have you run the make test? Yes, I have. jdk/test has passed 3292, failed 37, and got 2 errors with openjdk6-b21_1 on amd64 CURRENT. Couple of tests may need multiple runs to pass. I haven't figured out why, though. :-( > I have 146 tests fail. Some of them look like x11 errors. Maybe > this can't or shouldn't be run as root? X11 problems are little tricky. What I usually do is: su root unsetenv SESSION_MANAGER xhost + (Note: "xhost +local:host" should work in theory but I haven't tried.) make test from an xterm session. I was told that sudo does little better job cleaning up environment variables. I have tried "make test" from console as root once (which automatically pulls X.org virtual framebuffer server) but it didn't work well for some unknown reason. I've never tried it as a normal user. Jung-uk Kim