Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2007 20:14:43 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        java@FreeBSD.org
Subject:   Re: jdk15 buildlog on -current
Message-ID:  <20070610031443.GA89186@misty.eyesbeyond.com>
In-Reply-To: <26165.1181329228@critter.freebsd.dk>
References:  <26165.1181329228@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 08, 2007 at 07:00:28PM +0000, Poul-Henning Kamp wrote:
> Still no jdk15 luck on -current:
> 
> 	http://phk.freebsd.dk/misc/_.java_jdk15.gz

So everyone who is seeing a failure is seeing one like this.  That is, the
new compiler can't compile Java code which it should be able to.  However,
all the failures are different and all the failures are indicative of a
file not being able to be read or the like.

Jung-uk Kim suggested trying this script on the filesystem being used.
Maybe it will be able to demonstrate a reproducible a problem with file
access.

It really seems like the JDK build is tickling a problem in -CURRENT rather
than anything else.

#!/bin/sh
TCOUNT=0
TMPFILE=`mktemp ./test-fs.XXXXXX`
if [ $? -ne 0 ]; then
	echo "Test file cannot be created. Exiting." >&2
	exit 1
fi

sighandler() {
	rm -f ${TMPFILE}
	echo
	echo "Test interrupted after ${TCOUNT} runs."
	echo "No problem encountered."
	exit 0
}

echo "Starting open(2)/unlink(2) test."
echo -n "Press ^C to stop the test. "
trap sighandler int
while true; do
	TCOUNT=$(( ${TCOUNT} + 1 ))
	touch ${TMPFILE}
	if [ ! -f ${TMPFILE} ]; then
		echo "Test file does not exist. This is wrong!" >&2
		exit 1
	fi
	rm -f ${TMPFILE}
	if [ -f ${TMPFILE} ]; then
		echo "Test file should not exist. This is wrong!" >&2
		exit 1
	fi
done

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070610031443.GA89186>