From owner-freebsd-java Thu Feb 20 12:38:44 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D61137B401 for ; Thu, 20 Feb 2003 12:38:42 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CBED43FAF for ; Thu, 20 Feb 2003 12:38:41 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1KKcZ4p095591; Thu, 20 Feb 2003 15:38:35 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1KKcYHx095588; Thu, 20 Feb 2003 15:38:34 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15957.15561.987766.819442@ool-18bacefa.dyn.optonline.net> Date: Thu, 20 Feb 2003 15:38:33 -0500 To: Munehiro Matsuda Cc: freebsd-java@freebsd.org Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing In-Reply-To: <20030220.153219.78706942.haro@kgt.co.jp> References: <20030220.115914.41627219.haro@kgt.co.jp> <15956.19601.491644.845972@ool-18bacefa.dyn.optonline.net> <20030220.152353.104026134.haro@kgt.co.jp> <20030220.153219.78706942.haro@kgt.co.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Munehiro Matsuda writes: > From: Munehiro Matsuda > Date: Thu, 20 Feb 2003 15:23:53 +0900 (JST) > :: > ::BTW, your were the only one who had the corrupted patch with '^M's. > ::I'll send you the original patch in private, so could you retry building > ::your JDK with it? > > So, here's the original patch. > Could you re-aplly it to the jdk13 port and see how it comes out? I applied your patches to my port without a problem. There does seem to be a problem applying the patch that came from your patch to the java source :-). Here's what I get: # make WITH_HOTSPOT=compiler2 -DWITH_NATIVE_THREADS install You have set WITH_HOTSPOT to enable HotSpot VM build. HotSpot is still EXPRERIMANTAL and should be used at YOUR OWN RISK! Do you really want HotSpot enabled (y/n)? y ===> Extracting for jdk-1.3.1p8 >> Checksum OK for j2sdk-1_3_1-src.tar.gz. >> Checksum OK for bsd-jdk131-patches-8.tar.gz. ===> jdk-1.3.1p8 depends on executable: gm4 - found ===> jdk-1.3.1p8 depends on executable: zip - found ===> jdk-1.3.1p8 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.3.1p8 depends on file: /usr/local/linux-sun-jdk1.3.1/bin/javac - found ===> jdk-1.3.1p8 depends on executable: msgfmt - found ===> jdk-1.3.1p8 depends on executable: gcc32 - found ===> jdk-1.3.1p8 depends on executable: gmake - found ===> jdk-1.3.1p8 depends on executable: gcc32 - found ===> jdk-1.3.1p8 depends on shared library: glib12.3 - found ===> jdk-1.3.1p8 depends on shared library: gtk12.2 - found ===> jdk-1.3.1p8 depends on shared library: nspr4.1 - found ===> Patching for jdk-1.3.1p8 ===> Applying FreeBSD patches for jdk-1.3.1p8 1 out of 1 hunks failed--saving rejects to ../src/solaris/hpi/native_threads/src/threads_md.c.rej >> Patch patch-native_threads.bsd failed to apply cleanly. >> Patch(es) patch-common::Defs-bsd.gmk applied cleanly. *** Error code 1 Stop in /usr/ports/java/jdk13. It seems that at the time the patch is attempted, my threads_md.c contains lines that end in ^M (all of them, it seems). The patch file (patch-native_threads.bsd) does not have ^M at the end of its lines. That seems to be the cause of the patch failure. What am I missing?? Thanks again. -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message