From owner-freebsd-java@FreeBSD.ORG Mon Feb 18 06:42:59 2008 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 95F5016A417 for ; Mon, 18 Feb 2008 06:42:59 +0000 (UTC) (envelope-from martines@rochester.rr.com) Received: from ms-smtp-03.nyroc.rr.com (ms-smtp-03.nyroc.rr.com [24.24.2.57]) by mx1.freebsd.org (Postfix) with ESMTP id 6BCBE13C455 for ; Mon, 18 Feb 2008 06:42:59 +0000 (UTC) (envelope-from martines@rochester.rr.com) Received: from domain.crafts4life.com (cpe-66-66-102-155.rochester.res.rr.com [66.66.102.155]) by ms-smtp-03.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id m1I5pD5Y001895 for ; Mon, 18 Feb 2008 00:51:13 -0500 (EST) Received: from localhost (localhost.crafts4life.com [127.0.0.1]) by domain.crafts4life.com (Postfix) with ESMTP id AD3EC75E40C for ; Mon, 18 Feb 2008 00:51:12 -0500 (EST) Received: from [127.0.0.1] (SAURON-XP.crafts4life.com [192.168.1.247]) by domain.crafts4life.com (Postfix) with ESMTP id 2C0F475E3A1 for ; Mon, 18 Feb 2008 00:50:55 -0500 (EST) Message-ID: <47B91CB4.2090501@rochester.rr.com> Date: Mon, 18 Feb 2008 00:50:44 -0500 From: Eduard Martinescu User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: by amavisd 0.1 Subject: Compile error 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, 18 Feb 2008 06:42:59 -0000 I'm trying to get the latest version of jdk 1.6 compiled/installed on my FreeBSD system, but I'm running into a compile error while building the port. Last few lines included below, and I think it is tied to the problem with the 'ls' command. Is it just a problem because I'm running an old version of FreeBSD? FreeBSD domain.crafts4life.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [ hare/vm/prims/jvmtiEnv.cpp ../generated/jvmtifiles/jvmtiEnvStub.cpp ../generated/jvmtifiles/jvmtiEnvRecommended.cpp Generating ../generated/jvmtifiles/jvmti.h /usr/local/diablo-jdk1.5.0/bin/java -classpath ../generated/jvmtifiles jvmtiGen -IN /usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmti.xml -XSL /usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmtiH.xsl -OUT ../generated/jvmtifiles/jvmti.h gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' /bin/ls: Argument list too long gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' if [ -d /usr/ports/java/jdk16/work/hotspot/agent -a "i486" != "ia64" ] ; then \ gmake -f sa.make ../generated/sa-jdi.jar; \ fi /bin/ls: Argument list too long gmake[6]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' if [ "/usr/local/diablo-jdk1.5.0" = "" ]; then \ echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \ exit 1; \ fi echo "Making ../generated/sa-jdi.jar" Making ../generated/sa-jdi.jar if [ ! -d ../generated/saclasses ] ; then \ mkdir -p ../generated/saclasses; \ fi /usr/local/diablo-jdk1.5.0/bin/javac -source 1.4 -classpath /usr/local/diablo-jdk1.5.0/lib/tools.jar -g -d ../generated/saclasses javac: no source files Usage: javac where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath Specify where to find user class files -cp Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -endorseddirs Override location of endorsed standards path -d Specify where to place generated class files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -version Version information -help Print a synopsis of standard options -X Print a synopsis of nonstandard options -J Pass directly to the runtime system gmake[6]: *** [../generated/sa-jdi.jar] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: *** [all] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[4]: *** [sa_stuff] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[3]: *** [product] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1