Date: Thu, 20 Feb 2003 15:38:33 -0500 From: Christopher Rued <c.rued@xsb.com> To: Munehiro Matsuda <haro@kgt.co.jp> Cc: freebsd-java@freebsd.org Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing Message-ID: <15957.15561.987766.819442@ool-18bacefa.dyn.optonline.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Munehiro Matsuda writes: > From: Munehiro Matsuda <haro@kgt.co.jp> > 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 <snip lots of happy little patches...> ===> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15957.15561.987766.819442>