From mark at klomp.org Mon Oct 1 00:44:41 2007 From: mark at klomp.org (Mark Wielaard) Date: Mon, 01 Oct 2007 09:44:41 +0200 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <4700612C.6000709@redhat.com> References: <46FF1F26.3090907@gatech.edu> <46FFCB66.7000507@redhat.com> <1191181521.3275.26.camel@hermans.wildebeest.org> <4700612C.6000709@redhat.com> Message-ID: <1191224681.3842.2.camel@dijkstra.wildebeest.org> Hi Lillian, On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote: > Mark Wielaard wrote: > > I get the same as Matthew on Fedora 7. Where the system javac is of > > course just gcj/ecj. It looks like ant doesn't pick up the configured > > icedtea javac. Any ideas how to make it so? > > > Do you get this problem if you change the system javac to the IcedTea > rpm installed ? There isn't an icedtea rpm for Fedora 7 as for as I know. I could try to fetch and install the Fedora 8 test ones I guess. Will try that later today. But that wouldn't help anybody on any system that doesn't have a "system icedtea" yet, which I suspect is the majority of hackers out there. Cheers, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20071001/ddf0aad1/attachment.bin From twisti at complang.tuwien.ac.at Mon Oct 1 01:11:05 2007 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Mon, 01 Oct 2007 10:11:05 +0200 Subject: IcedTea bootstrapping Message-ID: <1191226265.29719.2.camel@localhost.localdomain> Hi! I'm a bit unsure about how I should go further on with the IcedTea-CACAO branch. I think the best solution would be to have another cacao-bootstrap branch which builds an IcedTea with CACAO as VM based on b19. We could also use a tag, but I think a branch is better when I have to include another bugfixes. What do people think about it? - twisti From gbenson at redhat.com Mon Oct 1 01:32:35 2007 From: gbenson at redhat.com (Gary Benson) Date: Mon, 1 Oct 2007 09:32:35 +0100 Subject: IcedTea bootstrapping In-Reply-To: <1191226265.29719.2.camel@localhost.localdomain> References: <1191226265.29719.2.camel@localhost.localdomain> Message-ID: <20071001083234.GA3721@redhat.com> For b20 I dropped its hotspot/src directory into my b17-based setup. I had to make a minor change to vm_version.c but aside from that it worked first time. I guess I'll try this with b21 too now there definitely will be no ecj support. Cheers, Gary Christian Thalinger wrote: > Hi! > > I'm a bit unsure about how I should go further on with the > IcedTea-CACAO branch. I think the best solution would be > to have another cacao-bootstrap branch which builds an > IcedTea with CACAO as VM based on b19. > > We could also use a tag, but I think a branch is better > when I have to include another bugfixes. > > What do people think about it? > > - twisti From aph at redhat.com Mon Oct 1 04:35:10 2007 From: aph at redhat.com (Andrew Haley) Date: Mon, 1 Oct 2007 12:35:10 +0100 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <1191224681.3842.2.camel@dijkstra.wildebeest.org> References: <46FF1F26.3090907@gatech.edu> <46FFCB66.7000507@redhat.com> <1191181521.3275.26.camel@hermans.wildebeest.org> <4700612C.6000709@redhat.com> <1191224681.3842.2.camel@dijkstra.wildebeest.org> Message-ID: <18176.56174.640434.415346@zebedee.pink> Mark Wielaard writes: > Hi Lillian, > > On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote: > > Mark Wielaard wrote: > > > I get the same as Matthew on Fedora 7. Where the system javac is of > > > course just gcj/ecj. It looks like ant doesn't pick up the configured > > > icedtea javac. Any ideas how to make it so? > > > > > Do you get this problem if you change the system javac to the IcedTea > > rpm installed ? > > There isn't an icedtea rpm for Fedora 7 as for as I know. I could try to > fetch and install the Fedora 8 test ones I guess. Will try that later > today. But that wouldn't help anybody on any system that doesn't have a > "system icedtea" yet, which I suspect is the majority of hackers out > there. The real fix for this is to get IcedTea back into a state where we can bootstrap with ecj. We're looking at it. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 From langel at redhat.com Mon Oct 1 05:00:29 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 08:00:29 -0400 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <1191224681.3842.2.camel@dijkstra.wildebeest.org> References: <46FF1F26.3090907@gatech.edu> <46FFCB66.7000507@redhat.com> <1191181521.3275.26.camel@hermans.wildebeest.org> <4700612C.6000709@redhat.com> <1191224681.3842.2.camel@dijkstra.wildebeest.org> Message-ID: <4700E15D.4040601@redhat.com> Mark Wielaard wrote: > Hi Lillian, > > On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote: > >> Mark Wielaard wrote: >> >>> I get the same as Matthew on Fedora 7. Where the system javac is of >>> course just gcj/ecj. It looks like ant doesn't pick up the configured >>> icedtea javac. Any ideas how to make it so? >>> >>> >> Do you get this problem if you change the system javac to the IcedTea >> rpm installed ? >> > > There isn't an icedtea rpm for Fedora 7 as for as I know. I could try to > fetch and install the Fedora 8 test ones I guess. Will try that later > today. But that wouldn't help anybody on any system that doesn't have a > "system icedtea" yet, which I suspect is the majority of hackers out > there. > You can set the alternatives to an previously built IcedTea (rpm or not). Lillian From langel at redhat.com Mon Oct 1 05:09:18 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 08:09:18 -0400 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <18176.56174.640434.415346@zebedee.pink> References: <46FF1F26.3090907@gatech.edu> <46FFCB66.7000507@redhat.com> <1191181521.3275.26.camel@hermans.wildebeest.org> <4700612C.6000709@redhat.com> <1191224681.3842.2.camel@dijkstra.wildebeest.org> <18176.56174.640434.415346@zebedee.pink> Message-ID: <4700E36E.6040900@redhat.com> Andrew Haley wrote: > Mark Wielaard writes: > > Hi Lillian, > > > > On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote: > > > Mark Wielaard wrote: > > > > I get the same as Matthew on Fedora 7. Where the system javac is of > > > > course just gcj/ecj. It looks like ant doesn't pick up the configured > > > > icedtea javac. Any ideas how to make it so? > > > > > > > Do you get this problem if you change the system javac to the IcedTea > > > rpm installed ? > > > > There isn't an icedtea rpm for Fedora 7 as for as I know. I could try to > > fetch and install the Fedora 8 test ones I guess. Will try that later > > today. But that wouldn't help anybody on any system that doesn't have a > > "system icedtea" yet, which I suspect is the majority of hackers out > > there. > > The real fix for this is to get IcedTea back into a state where we can > bootstrap with ecj. We're looking at it. > Everyone will have to change their system javac whether we change this back to bootstapping with gcj or not. The use of ant is new in OpenJDK's b20 and it requires a compatible system jdk. It wont work with gcj. Lillian > From gnu_andrew at member.fsf.org Mon Oct 1 06:48:45 2007 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Mon, 1 Oct 2007 14:48:45 +0100 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <4700E36E.6040900@redhat.com> References: <46FF1F26.3090907@gatech.edu> <18176.56174.640434.415346@zebedee.pink> <4700E36E.6040900@redhat.com> Message-ID: <200710011448.45398.gnu_andrew@member.fsf.org> On Monday 01 October 2007 13:09:18 Lillian Angel wrote: > Andrew Haley wrote: > > Mark Wielaard writes: > > > Hi Lillian, > > > > > > On Sun, 2007-09-30 at 22:53 -0400, Lillian Angel wrote: > > > > Mark Wielaard wrote: > > > > > I get the same as Matthew on Fedora 7. Where the system javac is > > > > > of course just gcj/ecj. It looks like ant doesn't pick up the > > > > > configured icedtea javac. Any ideas how to make it so? > > > > > > > > Do you get this problem if you change the system javac to the > > > > IcedTea rpm installed ? > > > > > > There isn't an icedtea rpm for Fedora 7 as for as I know. I could try > > > to fetch and install the Fedora 8 test ones I guess. Will try that > > > later today. But that wouldn't help anybody on any system that doesn't > > > have a "system icedtea" yet, which I suspect is the majority of > > > hackers out there. > > > > The real fix for this is to get IcedTea back into a state where we can > > bootstrap with ecj. We're looking at it. > > Everyone will have to change their system javac whether we change this > back to bootstapping with gcj or not. The use of ant is new in OpenJDK's > b20 and it requires a compatible system jdk. It wont work with gcj. > > Lillian I've not looked at the latest OpenJDK drop yet so I don't know exactly what their Ant build does, but usually the javac used by ant is obtained through tools.jar i.e. it's whatever com.sun.tools.javac.Main uses. This has bitten me more than once when building JikesRVM. The same goes for ant and javah. -- Andrew :) From langel at redhat.com Mon Oct 1 07:16:06 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 14:16:06 +0000 Subject: changeset in /hg/icedtea: 2007-10-01 Lillian Angel changeset 40217427037c in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=40217427037c description: 2007-10-01 Lillian Angel * patches/icedtea-java-home.patch: Removed * Makefile.am: Removed patch. * Makefile.in: Regenerated. diffstat: 4 files changed, 6 insertions(+), 12 deletions(-) ChangeLog | 6 ++++++ Makefile.am | 1 - Makefile.in | 1 - patches/icedtea-java-home.patch | 10 ---------- diffs (49 lines): diff -r bd242131c707 -r 40217427037c ChangeLog --- a/ChangeLog Fri Sep 28 15:50:51 2007 -0400 +++ b/ChangeLog Mon Oct 01 10:15:59 2007 -0400 @@ -1,3 +1,9 @@ 2007-09-28 Lillian Angel + + * patches/icedtea-java-home.patch: Removed + * Makefile.am: Removed patch. + * Makefile.in: Regenerated. + 2007-09-28 Lillian Angel * patches/icedtea-plugin.patch: Fixed so it patches correctly. diff -r bd242131c707 -r 40217427037c Makefile.am --- a/Makefile.am Fri Sep 28 15:50:51 2007 -0400 +++ b/Makefile.am Mon Oct 01 10:15:59 2007 -0400 @@ -134,7 +134,6 @@ ICEDTEA_PATCHES = \ patches/icedtea-certbundle.patch \ patches/icedtea-demos.patch \ patches/icedtea-use-system-tzdata.patch \ - patches/icedtea-java-home.patch \ patches/icedtea-headers.patch \ $(FAST_BUILD_PATCH) diff -r bd242131c707 -r 40217427037c Makefile.in --- a/Makefile.in Fri Sep 28 15:50:51 2007 -0400 +++ b/Makefile.in Mon Oct 01 10:15:59 2007 -0400 @@ -249,7 +249,6 @@ ICEDTEA_PATCHES = \ patches/icedtea-certbundle.patch \ patches/icedtea-demos.patch \ patches/icedtea-use-system-tzdata.patch \ - patches/icedtea-java-home.patch \ patches/icedtea-headers.patch \ $(FAST_BUILD_PATCH) diff -r bd242131c707 -r 40217427037c patches/icedtea-java-home.patch --- a/patches/icedtea-java-home.patch Fri Sep 28 15:50:51 2007 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ ---- ../openjdk-b20/openjdk/langtools/make/Makefile 2007-09-13 03:49:12.000000000 -0400 -+++ openjdk/langtools/make/Makefile 2007-09-14 13:15:42.000000000 -0400 -@@ -109,7 +109,6 @@ - - ifdef ALT_BOOTDIR - ANT_OPTIONS += -Dboot.java.home=$(ALT_BOOTDIR) -- ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR) - endif - - ifdef ALT_OUTPUTDIR From langel at redhat.com Mon Oct 1 07:17:46 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 10:17:46 -0400 Subject: Ant issue Message-ID: <4701018A.6010200@redhat.com> I found the problem with Ant not using the correct javac. In the process of trying to get b20/b21 building, we patched out a very important line in the langtools Makefile that sets JAVA_HOME to ALT_BOOTDIR. I apologize and this is back in. There is no need to change your system installed javac. Cheers, Lillian 2007-10-01 Lillian Angel * patches/icedtea-java-home.patch: Removed * Makefile.am: Removed patch. * Makefile.in: Regenerated. From mark at klomp.org Mon Oct 1 14:38:33 2007 From: mark at klomp.org (Mark Wielaard) Date: Mon, 01 Oct 2007 23:38:33 +0200 Subject: Ant issue In-Reply-To: <4701018A.6010200@redhat.com> References: <4701018A.6010200@redhat.com> Message-ID: <1191274713.7551.10.camel@hermans.wildebeest.org> Hi Lillian, On Mon, 2007-10-01 at 10:17 -0400, Lillian Angel wrote: > I found the problem with Ant not using the correct javac. Thanks, that fixed it for me. I had only one remaining problem: openjdk/j2se/src/share/classes/sun/security/x509/X509CRLEntryImpl.java:243: method does not override or implement a method from a supertype @Override ^ Removing the @Override on that line seems to make everything work though. Cheers, Mark From langel at redhat.com Mon Oct 1 15:23:29 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 18:23:29 -0400 Subject: Ant issue In-Reply-To: <1191274713.7551.10.camel@hermans.wildebeest.org> References: <4701018A.6010200@redhat.com> <1191274713.7551.10.camel@hermans.wildebeest.org> Message-ID: <47017361.9090900@redhat.com> Mark Wielaard wrote: > Hi Lillian, > > On Mon, 2007-10-01 at 10:17 -0400, Lillian Angel wrote: > >> I found the problem with Ant not using the correct javac. >> > > Thanks, that fixed it for me. > I had only one remaining problem: > > openjdk/j2se/src/share/classes/sun/security/x509/X509CRLEntryImpl.java:243: method does not override or implement a method from a supertype > @Override > ^ > Removing the @Override on that line seems to make everything work > though. > I didn't run into this problem. Did you try running make distclean before rebuilding? Lillian > Cheers, > > Mark > > From mark at klomp.org Mon Oct 1 15:37:59 2007 From: mark at klomp.org (Mark Wielaard) Date: Tue, 02 Oct 2007 00:37:59 +0200 Subject: Ant issue In-Reply-To: <47017361.9090900@redhat.com> References: <4701018A.6010200@redhat.com> <1191274713.7551.10.camel@hermans.wildebeest.org> <47017361.9090900@redhat.com> Message-ID: <1191278279.3040.9.camel@hermans.wildebeest.org> Hi Lillian, On Mon, 2007-10-01 at 18:23 -0400, Lillian Angel wrote: > > I had only one remaining problem: > > > > openjdk/j2se/src/share/classes/sun/security/x509/X509CRLEntryImpl.java:243: method does not override or implement a method from a supertype > > @Override > > ^ > > Removing the @Override on that line seems to make everything work > > though. > > > I didn't run into this problem. Did you try running make distclean > before rebuilding? Yes I did. I am not surprised this shows up though. Only the new 1.7 X509CRLEntry has a method getRevocationReason() that could be overridden. So any older icedtea would not have it since crypto was pulled from GNU Classpath (which definitely didn't have this method). Cheers, Mark From langel at redhat.com Mon Oct 1 15:49:34 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 18:49:34 -0400 Subject: Ant issue In-Reply-To: <1191278279.3040.9.camel@hermans.wildebeest.org> References: <4701018A.6010200@redhat.com> <1191274713.7551.10.camel@hermans.wildebeest.org> <47017361.9090900@redhat.com> <1191278279.3040.9.camel@hermans.wildebeest.org> Message-ID: <4701797E.7060305@redhat.com> Mark Wielaard wrote: > Hi Lillian, > > On Mon, 2007-10-01 at 18:23 -0400, Lillian Angel wrote: > >>> I had only one remaining problem: >>> >>> openjdk/j2se/src/share/classes/sun/security/x509/X509CRLEntryImpl.java:243: method does not override or implement a method from a supertype >>> @Override >>> ^ >>> Removing the @Override on that line seems to make everything work >>> though. >>> >>> >> I didn't run into this problem. Did you try running make distclean >> before rebuilding? >> > > Yes I did. > > I am not surprised this shows up though. Only the new 1.7 X509CRLEntry > has a method getRevocationReason() that could be overridden. So any > older icedtea would not have it since crypto was pulled from GNU > Classpath (which definitely didn't have this method). > > No, we are not using our crypto anymore. Crypto was merged into b21. Make sure all old instances of the jce dir are removed and lib/jce and jce.jar. This is from the old b19 build. Lillian > Cheers, > > Mark > > From mark at klomp.org Mon Oct 1 16:02:56 2007 From: mark at klomp.org (Mark Wielaard) Date: Tue, 02 Oct 2007 01:02:56 +0200 Subject: Ant issue In-Reply-To: <4701797E.7060305@redhat.com> References: <4701018A.6010200@redhat.com> <1191274713.7551.10.camel@hermans.wildebeest.org> <47017361.9090900@redhat.com> <1191278279.3040.9.camel@hermans.wildebeest.org> <4701797E.7060305@redhat.com> Message-ID: <1191279776.3040.13.camel@hermans.wildebeest.org> Hi Lillian, On Mon, 2007-10-01 at 18:49 -0400, Lillian Angel wrote: > No, we are not using our crypto anymore. Crypto was merged into b21. > Make sure all old instances of the jce dir are removed and lib/jce and > jce.jar. This is from the old b19 build. You are right. After doing a completely fresh clone of icedtea it does build without that compile error. Cheers, Mark From langel at redhat.com Mon Oct 1 16:25:54 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 01 Oct 2007 19:25:54 -0400 Subject: Ant issue In-Reply-To: <4701018A.6010200@redhat.com> References: <4701018A.6010200@redhat.com> Message-ID: <47018202.7040401@redhat.com> Also, it has become apparent that Ant 1.7.0 does not work if JAVA_HOME/javac is set to IcedTea. I have reported this to the package maintainer. This works fine with Ant 1.6.0/1.6.5 Cheers, Lillian Lillian Angel wrote: > I found the problem with Ant not using the correct javac. > > In the process of trying to get b20/b21 building, we patched out a > very important line in the langtools Makefile that sets JAVA_HOME to > ALT_BOOTDIR. I apologize and this is back in. There is no need to > change your system installed javac. > > > Cheers, > Lillian > > > 2007-10-01 Lillian Angel > > * patches/icedtea-java-home.patch: Removed > * Makefile.am: Removed patch. > * Makefile.in: Regenerated. From twisti at complang.tuwien.ac.at Tue Oct 2 01:11:08 2007 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Tue, 02 Oct 2007 10:11:08 +0200 Subject: IcedTea bootstrapping In-Reply-To: <20071001083234.GA3721@redhat.com> References: <1191226265.29719.2.camel@localhost.localdomain> <20071001083234.GA3721@redhat.com> Message-ID: <1191312668.31284.17.camel@localhost.localdomain> On Mon, 2007-10-01 at 09:32 +0100, Gary Benson wrote: > For b20 I dropped its hotspot/src directory into my b17-based > setup. I had to make a minor change to vm_version.c but aside > from that it worked first time. I guess I'll try this with > b21 too now there definitely will be no ecj support. Hmm, yeah, but that does not fix my problem. We need a setup to build IcedTea b19 without HotSpot and the same for current OpenJDK drops. - twisti From doko at ubuntu.com Tue Oct 2 02:54:31 2007 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 02 Oct 2007 11:54:31 +0200 Subject: Ant issue In-Reply-To: <47018202.7040401@redhat.com> References: <4701018A.6010200@redhat.com> <47018202.7040401@redhat.com> Message-ID: <47021557.80206@ubuntu.com> Seen as well; works for me again after adding ant.jar and lib/tools.jar to ant's LOCALCLASSPATH. Matthias Lillian Angel schrieb: > Also, it has become apparent that Ant 1.7.0 does not work if > JAVA_HOME/javac is set to IcedTea. I have reported this to the package > maintainer. This works fine with Ant 1.6.0/1.6.5 > > > Cheers, > Lillian > > > > Lillian Angel wrote: >> I found the problem with Ant not using the correct javac. >> >> In the process of trying to get b20/b21 building, we patched out a >> very important line in the langtools Makefile that sets JAVA_HOME to >> ALT_BOOTDIR. I apologize and this is back in. There is no need to >> change your system installed javac. >> >> >> Cheers, >> Lillian >> >> >> 2007-10-01 Lillian Angel >> >> * patches/icedtea-java-home.patch: Removed >> * Makefile.am: Removed patch. >> * Makefile.in: Regenerated. > From doko at ubuntu.com Tue Oct 2 04:40:53 2007 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 02 Oct 2007 13:40:53 +0200 Subject: [icedtea patch] unbreak builds with ANT_HOME != /usr Message-ID: <47022E45.1020308@ubuntu.com> This was introduced between b19 and b21, couldn't find anything in the changelog. At least on Ubuntu and Debian ANT_HOME is /usr/share/ant. Matthias -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ant-home.diff Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20071002/6ee9833b/attachment.ksh From langel at redhat.com Tue Oct 2 05:57:13 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 08:57:13 -0400 Subject: [icedtea patch] unbreak builds with ANT_HOME != /usr In-Reply-To: <47022E45.1020308@ubuntu.com> References: <47022E45.1020308@ubuntu.com> Message-ID: <47024029.7030103@redhat.com> Matthias Klose wrote: > This was introduced between b19 and b21, couldn't find anything in the > changelog. At least on Ubuntu and Debian ANT_HOME is /usr/share/ant. > Thanks for this, I was planning to add this today :) I will commit it for you. Lillian > Matthias > From doko at ubuntu.com Tue Oct 2 05:59:42 2007 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 02 Oct 2007 14:59:42 +0200 Subject: [icedtea patch] DISTRIBUTION_PATCHES / jni include dir In-Reply-To: <46F82888.6010602@redhat.com> References: <46D5BF29.2010007@ubuntu.com> <46F82888.6010602@redhat.com> Message-ID: <470240BE.6080603@ubuntu.com> Thomas Fitzsimmons schrieb: > Matthias Klose wrote: >> actually two patches: >> >> - re-add DISTRIBUTION_PATCHES; this might be empty, but is very >> conveniant to integrate patches before they are integrated in icedtea. > > How would DISTRIBUTION_PATCHES be used? well, I should ask you, because it *was* there before ;) I'm setting it from the debian/rules file to include patches (like the gcc-version patch) which is not found upstream and in icedtea. >> - when building with gcc version != gcj version, the jni headers are >> not found. maybe this should become a new configure flag >> --with-jni-include= > > This seems fine, except why is "gcj" one of the installed symlinks? gcj/libgcj-config.h is included by jni_md.h. Matthias From doko at ubuntu.com Tue Oct 2 06:00:38 2007 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 02 Oct 2007 15:00:38 +0200 Subject: [openjdk / icedtea patch] allow to build with versioned compiler In-Reply-To: <46F82961.2040106@redhat.com> References: <46D5C013.4000602@ubuntu.com> <46F82961.2040106@redhat.com> Message-ID: <470240F6.80109@ubuntu.com> Thomas Fitzsimmons schrieb: > Matthias Klose wrote: >> its somewhat difficult to set the compiler to something different than >> gcc/g++. >> Adding another bin dir to PATH doesn't work because the compiler is >> called with >> an absolute path (why)? Adding a GCC_VERSION macro (which can be set >> in the >> environment), works for me to build using a specific compiler version. > > This looks fine; can you test it for b20, add the Makefile.am bits and > resubmit? this works unmodified with b21. Not sure, what you do mean by adding "Makefile.am bits". Matthias From langel at redhat.com Tue Oct 2 06:04:11 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 13:04:11 +0000 Subject: changeset in /hg/icedtea: 2007-10-02 Lillian Angel changeset ba2a7d244aca in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ba2a7d244aca description: 2007-10-02 Lillian Angel * AUTHORS: Added Matthias Klose. 2007-10-02 Matthias Klose * configure.ac: Add --with-ant-home support. * Makefile.am: Use SYSTEM_ANT_DIR. * configure, Makefile.in: Regenerate. diffstat: 6 files changed, 53 insertions(+), 3 deletions(-) AUTHORS | 1 + ChangeLog | 10 ++++++++++ Makefile.am | 2 +- Makefile.in | 3 ++- configure | 24 +++++++++++++++++++++++- configure.ac | 16 ++++++++++++++++ diffs (148 lines): diff -r 40217427037c -r ba2a7d244aca AUTHORS --- a/AUTHORS Mon Oct 01 10:15:59 2007 -0400 +++ b/AUTHORS Tue Oct 02 09:04:05 2007 -0400 @@ -7,6 +7,7 @@ Thomas Fitzsimmons Thomas Fitzsimmons Kyle Galloway Andrew Haley +Matthias Klose Francis Kung Casey Marshall Raif Naffah diff -r 40217427037c -r ba2a7d244aca ChangeLog --- a/ChangeLog Mon Oct 01 10:15:59 2007 -0400 +++ b/ChangeLog Tue Oct 02 09:04:05 2007 -0400 @@ -1,3 +1,13 @@ 2007-10-01 Lillian Angel + + * AUTHORS: Added Matthias Klose. + +2007-10-02 Matthias Klose + + * configure.ac: Add --with-ant-home support. + * Makefile.am: Use SYSTEM_ANT_DIR. + * configure, Makefile.in: Regenerate. + 2007-10-01 Lillian Angel * patches/icedtea-java-home.patch: Removed diff -r 40217427037c -r ba2a7d244aca Makefile.am --- a/Makefile.am Mon Oct 01 10:15:59 2007 -0400 +++ b/Makefile.am Tue Oct 02 09:04:05 2007 -0400 @@ -39,7 +39,7 @@ ICEDTEA_ENDORSED_DIR = \ ICEDTEA_ENDORSED_DIR = \ $(abs_top_srcdir)/bootstrap/jdk1.6.0/lib/endorsed ICEDTEA_ENV = \ - "ANT_HOME=/usr" \ + "ANT_HOME=@SYSTEM_ANT_DIR@" \ "BUILD_NUMBER=b21" \ "JRE_RELEASE_VERSION=1.7.0-b21" \ "HOTSPOT_RELEASE_VERSION=1.7.0-b21" \ diff -r 40217427037c -r ba2a7d244aca Makefile.in --- a/Makefile.in Mon Oct 01 10:15:59 2007 -0400 +++ b/Makefile.in Tue Oct 02 09:04:05 2007 -0400 @@ -125,6 +125,7 @@ SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ +SYSTEM_ANT_DIR = @SYSTEM_ANT_DIR@ SYSTEM_ICEDTEA_DIR = @SYSTEM_ICEDTEA_DIR@ UNZIP = @UNZIP@ VERSION = @VERSION@ @@ -201,7 +202,7 @@ ICEDTEA_ENDORSED_DIR = \ $(abs_top_srcdir)/bootstrap/jdk1.6.0/lib/endorsed ICEDTEA_ENV = \ - "ANT_HOME=/usr" \ + "ANT_HOME=@SYSTEM_ANT_DIR@" \ "BUILD_NUMBER=b21" \ "JRE_RELEASE_VERSION=1.7.0-b21" \ "HOTSPOT_RELEASE_VERSION=1.7.0-b21" \ diff -r 40217427037c -r ba2a7d244aca configure --- a/configure Mon Oct 01 10:15:59 2007 -0400 +++ b/configure Tue Oct 02 09:04:05 2007 -0400 @@ -712,6 +712,7 @@ CHMOD CHMOD GAWK SYSTEM_ICEDTEA_DIR +SYSTEM_ANT_DIR BUILD_ARCH_DIR INSTALL_ARCH_DIR JAVA @@ -1349,6 +1350,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-icedtea-home IcedTea home directory (default is /usr/lib/jvm/java-icedtea) + --with-ant-home Ant home directory (default is /usr) --with-openjdk-src-zip specify the location of the openjdk source zip --with-openjdk-src-dir specify the location of the openjdk sources @@ -4796,6 +4798,25 @@ else else SYSTEM_ICEDTEA_DIR=/usr/lib/jvm/java-icedtea + +fi + + + + +# Check whether --with-ant-home was given. +if test "${with_ant_home+set}" = set; then + withval=$with_ant_home; + if test "x${withval}" == x + then + SYSTEM_ANT_DIR=/usr + else + SYSTEM_ANT_DIR=${withval} + fi + +else + + SYSTEM_ANT_DIR=/usr fi @@ -8436,6 +8457,7 @@ ac_delim='%!_!# ' ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim BUILD_ARCH_DIR!$BUILD_ARCH_DIR$ac_delim INSTALL_ARCH_DIR!$INSTALL_ARCH_DIR$ac_delim JAVA!$JAVA$ac_delim @@ -8466,7 +8488,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -r 40217427037c -r ba2a7d244aca configure.ac --- a/configure.ac Mon Oct 01 10:15:59 2007 -0400 +++ b/configure.ac Tue Oct 02 09:04:05 2007 -0400 @@ -35,6 +35,22 @@ AC_ARG_WITH([icedtea-home], SYSTEM_ICEDTEA_DIR=/usr/lib/jvm/java-icedtea ]) AC_SUBST(SYSTEM_ICEDTEA_DIR) + +AC_ARG_WITH([ant-home], + [AS_HELP_STRING([--with-ant-home], + [Ant home directory (default is /usr)])], + [ + if test "x${withval}" == x + then + SYSTEM_ANT_DIR=/usr + else + SYSTEM_ANT_DIR=${withval} + fi + ], + [ + SYSTEM_ANT_DIR=/usr + ]) +AC_SUBST(SYSTEM_ANT_DIR) SET_ARCH_DIRS JAVA=$SYSTEM_ICEDTEA_DIR/bin/java From langel at redhat.com Tue Oct 2 08:48:25 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 15:48:25 +0000 Subject: changeset in /hg/icedtea: 2007-10-02 Lillian Angel changeset ea10471637af in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ea10471637af description: 2007-10-02 Lillian Angel * Makefile.am: Removed ANT_HOME, added patch. * Makefile.in: Regenerated. * configure: Regenerated. * configure.ac: Set --with-ant-home default to /usr/share/ant * patches/icedtea-ant.patch: New patch diffstat: 6 files changed, 37 insertions(+), 6 deletions(-) ChangeLog | 8 ++++++++ Makefile.am | 1 + Makefile.in | 1 + configure | 6 +++--- configure.ac | 6 +++--- patches/icedtea-ant.patch | 21 +++++++++++++++++++++ diffs (115 lines): diff -r ba2a7d244aca -r ea10471637af ChangeLog --- a/ChangeLog Tue Oct 02 09:04:05 2007 -0400 +++ b/ChangeLog Tue Oct 02 11:48:14 2007 -0400 @@ -1,3 +1,11 @@ 2007-10-02 Lillian Angel + + * Makefile.am: Removed ANT_HOME, added patch. + * Makefile.in: Regenerated. + * configure: Regenerated. + * configure.ac: Set --with-ant-home default to /usr/share/ant + * patches/icedtea-ant.patch: New patch + 2007-10-02 Lillian Angel * AUTHORS: Added Matthias Klose. diff -r ba2a7d244aca -r ea10471637af Makefile.am --- a/Makefile.am Tue Oct 02 09:04:05 2007 -0400 +++ b/Makefile.am Tue Oct 02 11:48:14 2007 -0400 @@ -135,6 +135,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-demos.patch \ patches/icedtea-use-system-tzdata.patch \ patches/icedtea-headers.patch \ + patches/icedtea-ant.patch \ $(FAST_BUILD_PATCH) stamps/patch.stamp: stamps/extract.stamp diff -r ba2a7d244aca -r ea10471637af Makefile.in --- a/Makefile.in Tue Oct 02 09:04:05 2007 -0400 +++ b/Makefile.in Tue Oct 02 11:48:14 2007 -0400 @@ -251,6 +251,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-demos.patch \ patches/icedtea-use-system-tzdata.patch \ patches/icedtea-headers.patch \ + patches/icedtea-ant.patch \ $(FAST_BUILD_PATCH) diff -r ba2a7d244aca -r ea10471637af configure --- a/configure Tue Oct 02 09:04:05 2007 -0400 +++ b/configure Tue Oct 02 11:48:14 2007 -0400 @@ -1350,7 +1350,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-icedtea-home IcedTea home directory (default is /usr/lib/jvm/java-icedtea) - --with-ant-home Ant home directory (default is /usr) + --with-ant-home Ant home directory (default is /usr/share/ant) --with-openjdk-src-zip specify the location of the openjdk source zip --with-openjdk-src-dir specify the location of the openjdk sources @@ -4809,14 +4809,14 @@ if test "${with_ant_home+set}" = set; th withval=$with_ant_home; if test "x${withval}" == x then - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant else SYSTEM_ANT_DIR=${withval} fi else - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant fi diff -r ba2a7d244aca -r ea10471637af configure.ac --- a/configure.ac Tue Oct 02 09:04:05 2007 -0400 +++ b/configure.ac Tue Oct 02 11:48:14 2007 -0400 @@ -38,17 +38,17 @@ AC_SUBST(SYSTEM_ICEDTEA_DIR) AC_ARG_WITH([ant-home], [AS_HELP_STRING([--with-ant-home], - [Ant home directory (default is /usr)])], + [Ant home directory (default is /usr/share/ant)])], [ if test "x${withval}" == x then - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant else SYSTEM_ANT_DIR=${withval} fi ], [ - SYSTEM_ANT_DIR=/usr + SYSTEM_ANT_DIR=/usr/share/ant ]) AC_SUBST(SYSTEM_ANT_DIR) diff -r ba2a7d244aca -r ea10471637af patches/icedtea-ant.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-ant.patch Tue Oct 02 11:48:14 2007 -0400 @@ -0,0 +1,21 @@ +--- lang.orig 2007-10-02 11:38:32.000000000 -0400 ++++ openjdk/langtools/make/Makefile 2007-10-02 11:38:52.000000000 -0400 +@@ -129,17 +129,7 @@ + ANT_OPTIONS += -Dfindbugs.home=$(FINDBUGS_HOME) + endif + +-ifdef ANT_HOME +- ANT = $(ANT_HOME)/bin/ant +- ifneq ($(shell test -x $(ANT) && echo OK), OK) +- $(error $(ANT) not found -- please update ANT_HOME) +- endif +-else +- ANT = ant +- ifneq ($(shell test -x "`which $(ANT)`" && echo OK), OK) +- $(error 'ant' not found -- please set ANT_HOME or put 'ant' on your PATH) +- endif +-endif ++ANT = ant + + # Default target and expected 'do everything' target + all: build From langel at redhat.com Tue Oct 2 08:50:50 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 11:50:50 -0400 Subject: Ant 1.6.5/1.7.0 Message-ID: <470268DA.5030600@redhat.com> Hi, I have just committed a change so both Ant 1.6.5 and Ant 1.7.0. The only thing that is required is that you have ant in your $PATH. You can use --with-ant-home to set ANT_HOME still, but the default has been changed to /usr/share/ant. I have added a patch to the OpenJDK dir, that calls ant instead of ANT_HOME/bin/ant to start the langtools build. Lillian From langel at redhat.com Tue Oct 2 08:51:40 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 15:51:40 +0000 Subject: changeset in /hg/icedtea: Fixed typo in ChangeLog Message-ID: changeset ea769f98233d in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ea769f98233d description: Fixed typo in ChangeLog diffstat: 1 file changed, 1 insertion(+), 1 deletion(-) ChangeLog | 2 +- diffs (11 lines): diff -r ea10471637af -r ea769f98233d ChangeLog --- a/ChangeLog Tue Oct 02 11:48:14 2007 -0400 +++ b/ChangeLog Tue Oct 02 11:51:34 2007 -0400 @@ -1,6 +1,6 @@ 2007-10-02 Lillian Angel - * Makefile.am: Removed ANT_HOME, added patch. + * Makefile.am: Added patch. * Makefile.in: Regenerated. * configure: Regenerated. * configure.ac: Set --with-ant-home default to /usr/share/ant From langel at redhat.com Tue Oct 2 09:02:02 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 16:02:02 +0000 Subject: changeset in /hg/icedtea: 2007-10-02 Lillian Angel changeset a68a89a22f13 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a68a89a22f13 description: 2007-10-02 Lillian Angel * patches/icedtea-ant.patch: Added check to make sure ant is in PATH. diffstat: 2 files changed, 10 insertions(+), 5 deletions(-) ChangeLog | 4 ++++ patches/icedtea-ant.patch | 11 ++++++----- diffs (36 lines): diff -r ea769f98233d -r a68a89a22f13 ChangeLog --- a/ChangeLog Tue Oct 02 11:51:34 2007 -0400 +++ b/ChangeLog Tue Oct 02 12:01:56 2007 -0400 @@ -1,3 +1,7 @@ 2007-10-02 Lillian Angel + + * patches/icedtea-ant.patch: Added check to make sure ant is in PATH. + 2007-10-02 Lillian Angel * Makefile.am: Added patch. diff -r ea769f98233d -r a68a89a22f13 patches/icedtea-ant.patch --- a/patches/icedtea-ant.patch Tue Oct 02 11:51:34 2007 -0400 +++ b/patches/icedtea-ant.patch Tue Oct 02 12:01:56 2007 -0400 @@ -1,6 +1,6 @@ ---- lang.orig 2007-10-02 11:38:32.000000000 -0400 -+++ openjdk/langtools/make/Makefile 2007-10-02 11:38:52.000000000 -0400 -@@ -129,17 +129,7 @@ +--- lang.orig 2007-10-02 11:57:53.000000000 -0400 ++++ openjdk/langtools/make/Makefile 2007-10-02 11:58:08.000000000 -0400 +@@ -129,16 +129,9 @@ ANT_OPTIONS += -Dfindbugs.home=$(FINDBUGS_HOME) endif @@ -14,8 +14,9 @@ - ifneq ($(shell test -x "`which $(ANT)`" && echo OK), OK) - $(error 'ant' not found -- please set ANT_HOME or put 'ant' on your PATH) - endif --endif +ANT = ant ++ifneq ($(shell test -x "`which $(ANT)`" && echo OK), OK) ++ $(error 'ant' not found -- please put 'ant' on your PATH) + endif # Default target and expected 'do everything' target - all: build From langel at redhat.com Tue Oct 2 10:39:24 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 02 Oct 2007 17:39:24 +0000 Subject: changeset in /hg/icedtea: 2007-10-02 Lillian Angel changeset 11b79ff15191 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=11b79ff15191 description: 2007-10-02 Lillian Angel * INSTALL: Removed info about jce plugs. diffstat: 2 files changed, 5 insertions(+), 4 deletions(-) ChangeLog | 4 ++++ INSTALL | 5 +---- diffs (27 lines): diff -r a68a89a22f13 -r 11b79ff15191 ChangeLog --- a/ChangeLog Tue Oct 02 12:01:56 2007 -0400 +++ b/ChangeLog Tue Oct 02 13:39:18 2007 -0400 @@ -1,3 +1,7 @@ 2007-10-02 Lillian Angel + + * INSTALL: Removed info about jce plugs. + 2007-10-02 Lillian Angel * patches/icedtea-ant.patch: Added check to make sure ant is in PATH. diff -r a68a89a22f13 -r 11b79ff15191 INSTALL --- a/INSTALL Tue Oct 02 12:01:56 2007 -0400 +++ b/INSTALL Tue Oct 02 13:39:18 2007 -0400 @@ -53,11 +53,8 @@ Rebuilding The IcedTea Plugs When IcedTea is initially built, it creates stamp files in the stamps directory to determine what and when dependencies were compiled. For example, to rebuild -the rt/jce plugs certain files need to be deleted before restarting the build. +the rt plugs certain files need to be deleted before restarting the build. - - If the jce plugs have been modified, delete stamps/jce-class-files.stamp. - - If a new class has been added to the jce plugs, delete - jce-source-files.txt so it can be recreated with the new class list. - If the rt plugs have been modified, delete stamps/rt-class-files.stamp. - If a new class has been added to the rt plugs, delete rt-source-files.txt so it can be recreated with the new class list. From fitzsim at redhat.com Tue Oct 2 13:09:59 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Tue, 02 Oct 2007 16:09:59 -0400 Subject: system zoneinfo AccessControlException Message-ID: <4702A597.70506@redhat.com> Hi Keith, Can you fix this bug? http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=71 I suspect you'll need to wrap the privileged operations you added in patches/icedtea-use-system-tzdata.patch in AccessController.doPrivileged calls. Here's the Fedora report: https://bugzilla.redhat.com/show_bug.cgi?id=314211 Thanks, Tom From matthew.flaschen at gatech.edu Wed Oct 3 03:03:12 2007 From: matthew.flaschen at gatech.edu (Matthew Flaschen) Date: Wed, 03 Oct 2007 06:03:12 -0400 Subject: Ant issue In-Reply-To: <4701018A.6010200@redhat.com> References: <4701018A.6010200@redhat.com> Message-ID: <470368E0.2050404@gatech.edu> Lillian Angel wrote: > I found the problem with Ant not using the correct javac. > > In the process of trying to get b20/b21 building, we patched out a very > important line in the langtools Makefile that sets JAVA_HOME to > ALT_BOOTDIR. I apologize and this is back in. There is no need to change > your system installed javac. Thanks for fixing this. I was able to compile on Fedora 7 with the latest updates. Matt Flaschen From fitzsim at redhat.com Wed Oct 3 10:15:51 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Wed, 03 Oct 2007 13:15:51 -0400 Subject: [icedtea patch] DISTRIBUTION_PATCHES / jni include dir In-Reply-To: <470240BE.6080603@ubuntu.com> References: <46D5BF29.2010007@ubuntu.com> <46F82888.6010602@redhat.com> <470240BE.6080603@ubuntu.com> Message-ID: <4703CE47.6050905@redhat.com> Matthias Klose wrote: > Thomas Fitzsimmons schrieb: >> Matthias Klose wrote: >>> actually two patches: >>> >>> - re-add DISTRIBUTION_PATCHES; this might be empty, but is very >>> conveniant to integrate patches before they are integrated in icedtea. >> How would DISTRIBUTION_PATCHES be used? > > well, I should ask you, because it *was* there before ;) Really? Can you refer to a Mercurial revision that contains DISTRIBUTION_PATCHES? I don't remember it being there. > I'm setting it from the > debian/rules file to include patches (like the gcc-version patch) which is not > found upstream and in icedtea. OK, that explains the confusion about "Makefile.am bits". DISTRIBUTION_PATCHES seems fine to me. >> > This seems fine, except why is "gcj" one of the installed symlinks? > > gcj/libgcj-config.h is included by jni_md.h. OK. Josh will commit this for you. Tom From fitzsim at redhat.com Wed Oct 3 10:17:57 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Wed, 03 Oct 2007 13:17:57 -0400 Subject: [openjdk / icedtea patch] allow to build with versioned compiler In-Reply-To: <470240F6.80109@ubuntu.com> References: <46D5C013.4000602@ubuntu.com> <46F82961.2040106@redhat.com> <470240F6.80109@ubuntu.com> Message-ID: <4703CEC5.7010702@redhat.com> Matthias Klose wrote: > Thomas Fitzsimmons schrieb: >> Matthias Klose wrote: >>> its somewhat difficult to set the compiler to something different than >>> gcc/g++. >>> Adding another bin dir to PATH doesn't work because the compiler is >>> called with >>> an absolute path (why)? Adding a GCC_VERSION macro (which can be set >>> in the >>> environment), works for me to build using a specific compiler version. >> This looks fine; can you test it for b20, add the Makefile.am bits and >> resubmit? > > this works unmodified with b21. Not sure, what you do mean by adding > "Makefile.am bits". Add the patch to Makefile.am's ICEDTEA_PATCHES variable, then regenerate Makefile.in. Josh will take care of this and commit the patch. Tom From langel at redhat.com Wed Oct 3 10:27:51 2007 From: langel at redhat.com (Lillian Angel) Date: Wed, 03 Oct 2007 17:27:51 +0000 Subject: changeset in /hg/icedtea: 2007-10-02 Lillian Angel changeset 777a9a9b9392 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=777a9a9b9392 description: 2007-10-02 Lillian Angel * .hgignore: Updated. diffstat: 2 files changed, 96 insertions(+), 152 deletions(-) .hgignore | 244 +++++++++++++++++++++++-------------------------------------- ChangeLog | 4 + diffs (391 lines): diff -r 11b79ff15191 -r 777a9a9b9392 .hgignore --- a/.hgignore Tue Oct 02 13:39:18 2007 -0400 +++ b/.hgignore Wed Oct 03 13:27:46 2007 -0400 @@ -6,11 +6,16 @@ openjdk openjdk bootstrap lib +tools +stamps Makefile config.log config.status javac javap +gcjwebplugin.so +rt-source-files.txt +tools-source-files.txt rt/com/sun/jdi/AbsentInformationException.java rt/com/sun/jdi/Accessible.java rt/com/sun/jdi/ArrayReference.java @@ -27,8 +32,43 @@ rt/com/sun/jdi/ClassNotPreparedException rt/com/sun/jdi/ClassNotPreparedException.java rt/com/sun/jdi/ClassObjectReference.java rt/com/sun/jdi/ClassType.java +rt/com/sun/jdi/connect/AttachingConnector.java +rt/com/sun/jdi/connect/Connector.java +rt/com/sun/jdi/connect/IllegalConnectorArgumentsException.java +rt/com/sun/jdi/connect/LaunchingConnector.java +rt/com/sun/jdi/connect/ListeningConnector.java +rt/com/sun/jdi/connect/spi/ClosedConnectionException.java +rt/com/sun/jdi/connect/spi/Connection.java +rt/com/sun/jdi/connect/spi/TransportService.java +rt/com/sun/jdi/connect/Transport.java +rt/com/sun/jdi/connect/TransportTimeoutException.java +rt/com/sun/jdi/connect/VMStartException.java rt/com/sun/jdi/DoubleType.java rt/com/sun/jdi/DoubleValue.java +rt/com/sun/jdi/event/AccessWatchpointEvent.java +rt/com/sun/jdi/event/BreakpointEvent.java +rt/com/sun/jdi/event/ClassPrepareEvent.java +rt/com/sun/jdi/event/ClassUnloadEvent.java +rt/com/sun/jdi/event/EventIterator.java +rt/com/sun/jdi/event/Event.java +rt/com/sun/jdi/event/EventQueue.java +rt/com/sun/jdi/event/EventSet.java +rt/com/sun/jdi/event/ExceptionEvent.java +rt/com/sun/jdi/event/LocatableEvent.java +rt/com/sun/jdi/event/MethodEntryEvent.java +rt/com/sun/jdi/event/MethodExitEvent.java +rt/com/sun/jdi/event/ModificationWatchpointEvent.java +rt/com/sun/jdi/event/MonitorContendedEnteredEvent.java +rt/com/sun/jdi/event/MonitorContendedEnterEvent.java +rt/com/sun/jdi/event/MonitorWaitedEvent.java +rt/com/sun/jdi/event/MonitorWaitEvent.java +rt/com/sun/jdi/event/StepEvent.java +rt/com/sun/jdi/event/ThreadDeathEvent.java +rt/com/sun/jdi/event/ThreadStartEvent.java +rt/com/sun/jdi/event/VMDeathEvent.java +rt/com/sun/jdi/event/VMDisconnectEvent.java +rt/com/sun/jdi/event/VMStartEvent.java +rt/com/sun/jdi/event/WatchpointEvent.java rt/com/sun/jdi/Field.java rt/com/sun/jdi/FloatType.java rt/com/sun/jdi/FloatValue.java @@ -59,58 +99,6 @@ rt/com/sun/jdi/PrimitiveType.java rt/com/sun/jdi/PrimitiveType.java rt/com/sun/jdi/PrimitiveValue.java rt/com/sun/jdi/ReferenceType.java -rt/com/sun/jdi/ShortType.java -rt/com/sun/jdi/ShortValue.java -rt/com/sun/jdi/StackFrame.java -rt/com/sun/jdi/StringReference.java -rt/com/sun/jdi/ThreadGroupReference.java -rt/com/sun/jdi/ThreadReference.java -rt/com/sun/jdi/Type.java -rt/com/sun/jdi/TypeComponent.java -rt/com/sun/jdi/VMCannotBeModifiedException.java -rt/com/sun/jdi/VMDisconnectedException.java -rt/com/sun/jdi/VMMismatchException.java -rt/com/sun/jdi/VMOutOfMemoryException.java -rt/com/sun/jdi/Value.java -rt/com/sun/jdi/VirtualMachine.java -rt/com/sun/jdi/VirtualMachineManager.java -rt/com/sun/jdi/VoidType.java -rt/com/sun/jdi/VoidValue.java -rt/com/sun/jdi/connect/AttachingConnector.java -rt/com/sun/jdi/connect/Connector.java -rt/com/sun/jdi/connect/IllegalConnectorArgumentsException.java -rt/com/sun/jdi/connect/LaunchingConnector.java -rt/com/sun/jdi/connect/ListeningConnector.java -rt/com/sun/jdi/connect/Transport.java -rt/com/sun/jdi/connect/TransportTimeoutException.java -rt/com/sun/jdi/connect/VMStartException.java -rt/com/sun/jdi/connect/spi/ClosedConnectionException.java -rt/com/sun/jdi/connect/spi/Connection.java -rt/com/sun/jdi/connect/spi/TransportService.java -rt/com/sun/jdi/event/AccessWatchpointEvent.java -rt/com/sun/jdi/event/BreakpointEvent.java -rt/com/sun/jdi/event/ClassPrepareEvent.java -rt/com/sun/jdi/event/ClassUnloadEvent.java -rt/com/sun/jdi/event/Event.java -rt/com/sun/jdi/event/EventIterator.java -rt/com/sun/jdi/event/EventQueue.java -rt/com/sun/jdi/event/EventSet.java -rt/com/sun/jdi/event/ExceptionEvent.java -rt/com/sun/jdi/event/LocatableEvent.java -rt/com/sun/jdi/event/MethodEntryEvent.java -rt/com/sun/jdi/event/MethodExitEvent.java -rt/com/sun/jdi/event/ModificationWatchpointEvent.java -rt/com/sun/jdi/event/MonitorContendedEnterEvent.java -rt/com/sun/jdi/event/MonitorContendedEnteredEvent.java -rt/com/sun/jdi/event/MonitorWaitEvent.java -rt/com/sun/jdi/event/MonitorWaitedEvent.java -rt/com/sun/jdi/event/StepEvent.java -rt/com/sun/jdi/event/ThreadDeathEvent.java -rt/com/sun/jdi/event/ThreadStartEvent.java -rt/com/sun/jdi/event/VMDeathEvent.java -rt/com/sun/jdi/event/VMDisconnectEvent.java -rt/com/sun/jdi/event/VMStartEvent.java -rt/com/sun/jdi/event/WatchpointEvent.java rt/com/sun/jdi/request/AccessWatchpointRequest.java rt/com/sun/jdi/request/BreakpointRequest.java rt/com/sun/jdi/request/ClassPrepareRequest.java @@ -123,35 +111,32 @@ rt/com/sun/jdi/request/MethodEntryReques rt/com/sun/jdi/request/MethodEntryRequest.java rt/com/sun/jdi/request/MethodExitRequest.java rt/com/sun/jdi/request/ModificationWatchpointRequest.java +rt/com/sun/jdi/request/MonitorContendedEnteredRequest.java rt/com/sun/jdi/request/MonitorContendedEnterRequest.java -rt/com/sun/jdi/request/MonitorContendedEnteredRequest.java +rt/com/sun/jdi/request/MonitorWaitedRequest.java rt/com/sun/jdi/request/MonitorWaitRequest.java -rt/com/sun/jdi/request/MonitorWaitedRequest.java rt/com/sun/jdi/request/StepRequest.java rt/com/sun/jdi/request/ThreadDeathRequest.java rt/com/sun/jdi/request/ThreadStartRequest.java rt/com/sun/jdi/request/VMDeathRequest.java rt/com/sun/jdi/request/WatchpointRequest.java -rt/com/sun/tools/jdi/LinkedHashMap.java -rt/java/util/Observer.java -rt/java/security/cert/CertPathValidator.java -rt/java/util/Timer.java -rt/javax/security/auth/callback/ChoiceCallback.java -rt/javax/security/auth/callback/ConfirmationCallback.java -rt/javax/security/auth/callback/LanguageCallback.java -rt/javax/security/auth/callback/NameCallback.java -rt/javax/security/auth/callback/TextInputCallback.java -rt/javax/security/auth/callback/TextOutputCallback.java -rt/javax/security/sasl/AuthenticationException.java -rt/javax/security/sasl/Sasl.java -rt/javax/security/sasl/SaslClient.java -rt/javax/security/sasl/SaslClientFactory.java -rt/javax/security/sasl/SaslException.java -rt/javax/security/sasl/SaslServer.java -rt/javax/security/sasl/SaslServerFactory.java -generated/gen-srcs.lst -rt/com/sun/jmx/snmp/agent/SnmpMibEntry.java -rt/com/sun/jmx/snmp/agent/SnmpMib.java +rt/com/sun/jdi/ShortType.java +rt/com/sun/jdi/ShortValue.java +rt/com/sun/jdi/StackFrame.java +rt/com/sun/jdi/StringReference.java +rt/com/sun/jdi/ThreadGroupReference.java +rt/com/sun/jdi/ThreadReference.java +rt/com/sun/jdi/TypeComponent.java +rt/com/sun/jdi/Type.java +rt/com/sun/jdi/Value.java +rt/com/sun/jdi/VirtualMachine.java +rt/com/sun/jdi/VirtualMachineManager.java +rt/com/sun/jdi/VMCannotBeModifiedException.java +rt/com/sun/jdi/VMDisconnectedException.java +rt/com/sun/jdi/VMMismatchException.java +rt/com/sun/jdi/VMOutOfMemoryException.java +rt/com/sun/jdi/VoidType.java +rt/com/sun/jdi/VoidValue.java rt/com/sun/jmx/snmp/agent/SnmpEntryOid.java rt/com/sun/jmx/snmp/agent/SnmpErrorHandlerAgent.java rt/com/sun/jmx/snmp/agent/SnmpGenericMetaServer.java @@ -159,13 +144,14 @@ rt/com/sun/jmx/snmp/agent/SnmpIndex.java rt/com/sun/jmx/snmp/agent/SnmpIndex.java rt/com/sun/jmx/snmp/agent/SnmpMibAgent.java rt/com/sun/jmx/snmp/agent/SnmpMibAgentMBean.java -rt/com/sun/jmx/snmp/agent/SnmpMibEntry.javt +rt/com/sun/jmx/snmp/agent/SnmpMibEntry.java rt/com/sun/jmx/snmp/agent/SnmpMibGroup.java rt/com/sun/jmx/snmp/agent/SnmpMibHandler.java +rt/com/sun/jmx/snmp/agent/SnmpMib.java rt/com/sun/jmx/snmp/agent/SnmpMibNode.java rt/com/sun/jmx/snmp/agent/SnmpMibOid.java +rt/com/sun/jmx/snmp/agent/SnmpMibRequestImpl.java rt/com/sun/jmx/snmp/agent/SnmpMibRequest.java -rt/com/sun/jmx/snmp/agent/SnmpMibRequestImpl.java rt/com/sun/jmx/snmp/agent/SnmpMibSubRequest.java rt/com/sun/jmx/snmp/agent/SnmpMibTable.java rt/com/sun/jmx/snmp/agent/SnmpRequestTree.java @@ -176,6 +162,21 @@ rt/com/sun/jmx/snmp/agent/SnmpTableEntry rt/com/sun/jmx/snmp/agent/SnmpTableEntryNotification.java rt/com/sun/jmx/snmp/agent/SnmpTableSupport.java rt/com/sun/jmx/snmp/agent/SnmpUserDataFactory.java +rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java +rt/com/sun/jmx/snmp/daemon/SnmpSession.java +rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java +rt/com/sun/jmx/snmp/SnmpDefinitions.java +rt/com/sun/jmx/snmp/SnmpOid.java +rt/com/sun/jmx/snmp/SnmpOidRecord.java +rt/com/sun/jmx/snmp/SnmpOidTable.java +rt/com/sun/jmx/snmp/SnmpOidTableSupport.java +rt/com/sun/jmx/snmp/SnmpParameters.java +rt/com/sun/jmx/snmp/SnmpPduPacket.java +rt/com/sun/jmx/snmp/SnmpPeer.java +rt/com/sun/jmx/snmp/SnmpSession.java +rt/com/sun/jmx/snmp/SnmpTimeticks.java +rt/com/sun/jmx/snmp/SnmpVarBind.java +rt/com/sun/jmx/snmp/SnmpVarBindList.java rt/com/sun/tools/jdi/AbstractLauncher.java rt/com/sun/tools/jdi/ArrayReferenceImpl.java rt/com/sun/tools/jdi/ArrayTypeImpl.java @@ -209,6 +210,7 @@ rt/com/sun/tools/jdi/JDWPException.java rt/com/sun/tools/jdi/JDWPException.java rt/com/sun/tools/jdi/JNITypeParser.java rt/com/sun/tools/jdi/LineInfo.java +rt/com/sun/tools/jdi/LinkedHashMap.java rt/com/sun/tools/jdi/LocalVariableImpl.java rt/com/sun/tools/jdi/LocationImpl.java rt/com/sun/tools/jdi/LockObject.java @@ -244,59 +246,17 @@ rt/com/sun/tools/jdi/ThreadReferenceImpl rt/com/sun/tools/jdi/ThreadReferenceImpl.java rt/com/sun/tools/jdi/TypeComponentImpl.java rt/com/sun/tools/jdi/TypeImpl.java -rt/com/sun/tools/jdi/VMAction.java -rt/com/sun/tools/jdi/VMListener.java -rt/com/sun/tools/jdi/VMModifiers.java -rt/com/sun/tools/jdi/VMState.java rt/com/sun/tools/jdi/ValueContainer.java rt/com/sun/tools/jdi/ValueImpl.java rt/com/sun/tools/jdi/VirtualMachineImpl.java rt/com/sun/tools/jdi/VirtualMachineManagerImpl.java rt/com/sun/tools/jdi/VirtualMachineManagerService.java +rt/com/sun/tools/jdi/VMAction.java +rt/com/sun/tools/jdi/VMListener.java +rt/com/sun/tools/jdi/VMModifiers.java +rt/com/sun/tools/jdi/VMState.java rt/com/sun/tools/jdi/VoidTypeImpl.java rt/com/sun/tools/jdi/VoidValueImpl.java -rt/java/security/cert/CRL.java -rt/java/security/cert/CRLException.java -rt/java/security/cert/CRLSelector.java -rt/java/security/cert/CertPath.java -rt/java/security/cert/CertPathBuilder.java -rt/java/security/cert/CertPathBuilderException.java -rt/java/security/cert/CertPathBuilderResult.java -rt/java/security/cert/CertPathBuilderSpi.java -rt/java/security/cert/CertPathHelperImpl.java -rt/java/security/cert/CertPathParameters.java -rt/java/security/cert/CertPathValidatorException.java -rt/java/security/cert/CertPathValidatorResult.java -rt/java/security/cert/CertPathValidatorSpi.java -rt/java/security/cert/CertSelector.java -rt/java/security/cert/CertStore.java -rt/java/security/cert/CertStoreException.java -rt/java/security/cert/CertStoreParameters.java -rt/java/security/cert/CertStoreSpi.java -rt/java/security/cert/Certificate.java -rt/java/security/cert/CertificateEncodingException.java -rt/java/security/cert/CertificateException.java -rt/java/security/cert/CertificateExpiredException.java -rt/java/security/cert/CertificateFactory.java -rt/java/security/cert/CertificateFactorySpi.java -rt/java/security/cert/CertificateNotYetValidException.java -rt/java/security/cert/CertificateParsingException.java -rt/java/security/cert/CollectionCertStoreParameters.java -rt/java/security/cert/LDAPCertStoreParameters.java -rt/java/security/cert/PKIXBuilderParameters.java -rt/java/security/cert/PKIXCertPathBuilderResult.java -rt/java/security/cert/PKIXCertPathChecker.java -rt/java/security/cert/PKIXCertPathValidatorResult.java -rt/java/security/cert/PKIXParameters.java -rt/java/security/cert/PolicyNode.java -rt/java/security/cert/PolicyQualifierInfo.java -rt/java/security/cert/TrustAnchor.java -rt/java/security/cert/X509CRL.java -rt/java/security/cert/X509CRLEntry.java -rt/java/security/cert/X509CRLSelector.java -rt/java/security/cert/X509CertSelector.java -rt/java/security/cert/X509Certificate.java -rt/java/security/cert/X509Extension.java rt/java/util/AbstractCollection.java rt/java/util/AbstractList.java rt/java/util/AbstractMap.java @@ -318,17 +278,17 @@ rt/java/util/Dictionary.java rt/java/util/Dictionary.java rt/java/util/DuplicateFormatFlagsException.java rt/java/util/EmptyStackException.java +rt/java/util/Enumeration.java rt/java/util/EnumMap.java rt/java/util/EnumSet.java -rt/java/util/Enumeration.java rt/java/util/EventListener.java rt/java/util/EventListenerProxy.java rt/java/util/EventObject.java rt/java/util/FormatFlagsConversionMismatchException.java +rt/java/util/FormattableFlags.java rt/java/util/Formattable.java -rt/java/util/FormattableFlags.java +rt/java/util/FormatterClosedException.java rt/java/util/Formatter.java -rt/java/util/FormatterClosedException.java rt/java/util/GregorianCalendar.java rt/java/util/HashMap.java rt/java/util/HashSet.java @@ -348,11 +308,11 @@ rt/java/util/LinkedHashMap.java rt/java/util/LinkedHashMap.java rt/java/util/LinkedHashSet.java rt/java/util/LinkedList.java +rt/java/util/ListIterator.java rt/java/util/List.java -rt/java/util/ListIterator.java rt/java/util/ListResourceBundle.java +rt/java/util/LocaleISOData.java rt/java/util/Locale.java -rt/java/util/LocaleISOData.java rt/java/util/Map.java rt/java/util/MissingFormatArgumentException.java rt/java/util/MissingFormatWidthException.java @@ -361,13 +321,14 @@ rt/java/util/NavigableSet.java rt/java/util/NavigableSet.java rt/java/util/NoSuchElementException.java rt/java/util/Observable.java +rt/java/util/Observer.java rt/java/util/PriorityQueue.java rt/java/util/Properties.java rt/java/util/PropertyPermission.java rt/java/util/PropertyResourceBundle.java rt/java/util/Queue.java +rt/java/util/RandomAccess.java rt/java/util/Random.java -rt/java/util/RandomAccess.java rt/java/util/RegularEnumSet.java rt/java/util/ResourceBundle.java rt/java/util/Scanner.java @@ -379,36 +340,15 @@ rt/java/util/SortedSet.java rt/java/util/SortedSet.java rt/java/util/Stack.java rt/java/util/StringTokenizer.java +rt/java/util/Timer.java +rt/java/util/TimerTask.java rt/java/util/TimeZone.java -rt/java/util/TimerTask.java rt/java/util/TooManyListenersException.java rt/java/util/TreeMap.java rt/java/util/TreeSet.java -rt/java/util/UUID.java rt/java/util/UnknownFormatConversionException.java rt/java/util/UnknownFormatFlagsException.java +rt/java/util/UUID.java rt/java/util/Vector.java rt/java/util/WeakHashMap.java rt/java/util/XMLUtils.java -rt/javax/security/auth/AuthPermission.java -rt/javax/security/auth/DestroyFailedException.java -rt/javax/security/auth/Destroyable.java -rt/javax/security/auth/Policy.java -rt/javax/security/auth/PrivateCredentialPermission.java -rt/javax/security/auth/RefreshFailedException.java -rt/javax/security/auth/Refreshable.java -rt/javax/security/auth/Subject.java -rt/javax/security/auth/SubjectDomainCombiner.java -rt/javax/security/auth/callback/Callback.java -rt/javax/security/auth/callback/CallbackHandler.java -rt/javax/security/auth/callback/PasswordCallback.java -rt/javax/security/auth/callback/UnsupportedCallbackException.java -rt/javax/security/sasl/AuthorizeCallback.java -rt/javax/security/sasl/RealmCallback.java -rt/javax/security/sasl/RealmChoiceCallback.java -gcjwebplugin.so -jce-source-files.txt -rt-source-files.txt -tools-source-files.txt -tools/ -stamps/ diff -r 11b79ff15191 -r 777a9a9b9392 ChangeLog --- a/ChangeLog Tue Oct 02 13:39:18 2007 -0400 +++ b/ChangeLog Wed Oct 03 13:27:46 2007 -0400 @@ -1,3 +1,7 @@ 2007-10-02 Lillian Angel + + * .hgignore: Updated. + 2007-10-02 Lillian Angel * INSTALL: Removed info about jce plugs. From jsumali at redhat.com Wed Oct 3 11:47:11 2007 From: jsumali at redhat.com (Joshua Sumali) Date: Wed, 03 Oct 2007 18:47:11 +0000 Subject: changeset in /hg/icedtea: 2007-10-03 Matthias Klose changeset d3db7d98b005 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=d3db7d98b005 description: 2007-10-03 Matthias Klose * Makefile.am: Use DISTRIBUTION_PATCHES and gcc-suffix. * Makefile.in: Regenerated. * patches/icedtea-gcc-suffix.patch: New patch. diffstat: 4 files changed, 60 insertions(+), 2 deletions(-) ChangeLog | 6 ++++ Makefile.am | 4 ++- Makefile.in | 4 ++- patches/icedtea-gcc-suffix.patch | 48 ++++++++++++++++++++++++++++++++++++++ diffs (93 lines): diff -r 777a9a9b9392 -r d3db7d98b005 ChangeLog --- a/ChangeLog Wed Oct 03 13:27:46 2007 -0400 +++ b/ChangeLog Wed Oct 03 14:46:43 2007 -0400 @@ -1,3 +1,9 @@ 2007-10-02 Lillian Angel + + * Makefile.am: Use DISTRIBUTION_PATCHES and gcc-suffix. + * Makefile.in: Regenerated. + * patches/icedtea-gcc-suffix.patch: New patch. + 2007-10-02 Lillian Angel * .hgignore: Updated. diff -r 777a9a9b9392 -r d3db7d98b005 Makefile.am --- a/Makefile.am Wed Oct 03 13:27:46 2007 -0400 +++ b/Makefile.am Wed Oct 03 14:46:43 2007 -0400 @@ -136,7 +136,9 @@ ICEDTEA_PATCHES = \ patches/icedtea-use-system-tzdata.patch \ patches/icedtea-headers.patch \ patches/icedtea-ant.patch \ - $(FAST_BUILD_PATCH) + patches/icedtea-gcc-suffix.patch \ + $(FAST_BUILD_PATCH) \ + $(DISTRIBUTION_PATCHES) stamps/patch.stamp: stamps/extract.stamp for p in $(ICEDTEA_PATCHES) ; \ diff -r 777a9a9b9392 -r d3db7d98b005 Makefile.in --- a/Makefile.in Wed Oct 03 13:27:46 2007 -0400 +++ b/Makefile.in Wed Oct 03 14:46:43 2007 -0400 @@ -252,7 +252,9 @@ ICEDTEA_PATCHES = \ patches/icedtea-use-system-tzdata.patch \ patches/icedtea-headers.patch \ patches/icedtea-ant.patch \ - $(FAST_BUILD_PATCH) + patches/icedtea-gcc-suffix.patch \ + $(FAST_BUILD_PATCH) \ + $(DISTRIBUTION_PATCHES) # Bootstrap Directory Targets diff -r 777a9a9b9392 -r d3db7d98b005 patches/icedtea-gcc-suffix.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-gcc-suffix.patch Wed Oct 03 14:46:43 2007 -0400 @@ -0,0 +1,48 @@ +--- openjdk/hotspot/agent/src/os/linux/Makefile~ 2007-08-02 09:16:50.000000000 +0200 ++++ openjdk/hotspot/agent/src/os/linux/Makefile 2007-08-08 17:00:11.204338801 +0200 +@@ -23,7 +23,7 @@ + # + + ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) +-GCC = gcc ++GCC = gcc$(GCC_SUFFIX) + + JAVAH = ${JAVA_HOME}/bin/javah + +--- openjdk/hotspot/build/linux/makefiles/gcc.make~ 2007-08-08 16:13:12.281815996 +0200 ++++ openjdk/hotspot/build/linux/makefiles/gcc.make 2007-08-08 16:36:52.573240769 +0200 +@@ -25,8 +25,8 @@ + #------------------------------------------------------------------------ + # CC, CPP & AS + +-CPP = g++ +-CC = gcc ++CPP = g++$(GCC_SUFFIX) ++CC = gcc$(GCC_SUFFIX) + AS = $(CC) -c + + # -dumpversion in gcc-2.91 shows "egcs-2.91.66". In later version, it only +--- openjdk/j2se/make/common/shared/Compiler-gcc.gmk~ 2007-08-02 09:17:53.000000000 +0200 ++++ openjdk/j2se/make/common/shared/Compiler-gcc.gmk 2007-08-08 16:30:52.857814544 +0200 +@@ -58,17 +58,17 @@ + ifeq ($(PLATFORM), linux) + + # Settings specific to Linux +- CC = $(COMPILER_PATH)gcc +- CPP = $(COMPILER_PATH)gcc -E ++ CC = $(COMPILER_PATH)gcc$(GCC_SUFFIX) ++ CPP = $(COMPILER_PATH)gcc$(GCC_SUFFIX) -E + # statically link libstdc++ before C++ ABI is stablized on Linux + STATIC_CXX = true + ifeq ($(STATIC_CXX),true) + # g++ always dynamically links libstdc++, even we use "-Wl,-Bstatic -lstdc++" + # We need to use gcc to statically link the C++ runtime. gcc and g++ use + # the same subprocess to compile C++ files, so it is OK to build using gcc. +- CXX = $(COMPILER_PATH)gcc ++ CXX = $(COMPILER_PATH)gcc$(GCC_SUFFIX) + else +- CXX = $(COMPILER_PATH)g++ ++ CXX = $(COMPILER_PATH)g++$(GCC_SUFFIX) + endif + ifneq ("$(findstring sparc,$(ARCH))", "") + # sparc or sparcv9 From keiths at redhat.com Wed Oct 3 15:38:26 2007 From: keiths at redhat.com (Keith Seitz) Date: Wed, 03 Oct 2007 22:38:26 +0000 Subject: changeset in /hg/icedtea: * patches/icedtea-use-system-tzdata.pa... Message-ID: changeset 7cddb298bb0a in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7cddb298bb0a description: * patches/icedtea-use-system-tzdata.patch: Use AccessController instead of System.getProperty. Catch AccessControlException while attempting to stat ZoneInfoMappings. diffstat: 2 files changed, 44 insertions(+), 27 deletions(-) ChangeLog | 7 +++ patches/icedtea-use-system-tzdata.patch | 64 +++++++++++++++++-------------- diffs (101 lines): diff -r d3db7d98b005 -r 7cddb298bb0a ChangeLog --- a/ChangeLog Wed Oct 03 14:46:43 2007 -0400 +++ b/ChangeLog Wed Oct 03 15:38:04 2007 -0700 @@ -1,3 +1,10 @@ 2007-10-03 Matthias Klose + + * patches/icedtea-use-system-tzdata.patch: Use AccessController + instead of System.getProperty. + Catch AccessControlException while attempting to stat + ZoneInfoMappings. + 2007-10-03 Matthias Klose * Makefile.am: Use DISTRIBUTION_PATCHES and gcc-suffix. diff -r d3db7d98b005 -r 7cddb298bb0a patches/icedtea-use-system-tzdata.patch --- a/patches/icedtea-use-system-tzdata.patch Wed Oct 03 14:46:43 2007 -0400 +++ b/patches/icedtea-use-system-tzdata.patch Wed Oct 03 15:38:04 2007 -0700 @@ -1,19 +1,27 @@ diff -r 7afa92fca0fd hotspot/src/os/linu -diff -r 7afa92fca0fd hotspot/src/os/linux/vm/os_linux.cpp ---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp Thu Sep 27 12:57:09 2007 -0700 -+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp Thu Sep 27 14:00:27 2007 -0700 -@@ -391,6 +391,9 @@ void os::init_system_properties_values() +--- openjdk/hotspot/src/os/linux/vm/os_linux.cpp.keiths 2007-10-03 08:39:51.000000000 -0700 ++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2007-10-03 08:41:49.000000000 -0700 +@@ -391,6 +391,10 @@ void os::init_system_properties_values() "javax.net.ssl.trustStorePassword", ""); + // Use the system zoneinfo files, if present + Arguments::PropertyList_add (&sp, + "user.zoneinfo.dir", "/usr/share/javazi"); ++ #undef malloc #undef getenv #undef EXTENSIONS_DIR ---- ../openjdk-b21/openjdk/j2se/src/share/classes/sun/util/calendar/ZoneInfoFile.java 2007-09-27 22:30:36.000000000 -0400 -+++ openjdk/j2se/src/share/classes/sun/util/calendar/ZoneInfoFile.java 2007-09-28 11:24:52.000000000 -0400 -@@ -1021,11 +1021,25 @@ +--- openjdk/j2se/src/share/classes/sun/util/calendar/ZoneInfoFile.java.keiths 2007-10-03 13:42:51.000000000 -0700 ++++ openjdk/j2se/src/share/classes/sun/util/calendar/ZoneInfoFile.java 2007-10-03 13:42:57.000000000 -0700 +@@ -30,6 +30,7 @@ import java.io.FileInputStream; + import java.io.FileNotFoundException; + import java.io.IOException; + import java.lang.ref.SoftReference; ++import java.security.AccessControlException; + import java.security.AccessController; + import java.security.PrivilegedAction; + import java.security.PrivilegedActionException; +@@ -1021,10 +1022,28 @@ public class ZoneInfoFile { byte[] buffer = null; try { @@ -21,26 +29,28 @@ diff -r 7afa92fca0fd hotspot/src/os/linu - new sun.security.action.GetPropertyAction("java.home")); - final String fname = homeDir + File.separator + "lib" + File.separator - + "zi" + File.separator + fileName; -- buffer = (byte[]) AccessController.doPrivileged(new PrivilegedExceptionAction() { -+ String zi_dir = (String) System.getProperty("user.zoneinfo.dir"); -+ File dir = null; -+ if (zi_dir != null) -+ dir = new File(zi_dir); -+ -+ // Some minimal sanity checking -+ if (dir != null) { -+ File f = new File(dir, "ZoneInfoMappings"); -+ if (!f.exists()) -+ dir = null; -+ } ++ String zi_dir = (String) AccessController.doPrivileged(new sun.security.action.GetPropertyAction("user.zoneinfo.dir")); ++ File dir = null; ++ if (zi_dir != null) ++ dir = new File(zi_dir); + -+ if (dir == null) { -+ String homeDir = (String) System.getProperty("java.home"); -+ zi_dir = homeDir + File.separator + "lib" + File.separator -+ + "zi"; -+ } -+ final String fname = zi_dir + File.separator + fileName; -+ buffer = (byte[]) AccessController.doPrivileged(new PrivilegedExceptionAction() { ++ // Some minimal sanity checking ++ if (dir != null) { ++ try { ++ File f = new File(dir, "ZoneInfoMappings"); ++ if (!f.exists()) ++ dir = null; ++ } catch (AccessControlException ace) { ++ dir = null; ++ } ++ } ++ ++ if (dir == null) { ++ String homeDir = (String) AccessController.doPrivileged(new sun.security.action.GetPropertyAction("java.home")); ++ zi_dir = homeDir + File.separator + "lib" + File.separator ++ + "zi"; ++ } ++ final String fname = zi_dir + File.separator + fileName; + buffer = (byte[]) AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws IOException { File file = new File(fname); - if (!file.canRead()) { From keiths at redhat.com Wed Oct 3 15:44:43 2007 From: keiths at redhat.com (Keith Seitz) Date: Wed, 03 Oct 2007 22:44:43 +0000 Subject: changeset in /hg/icedtea: * patches/icedtea-bytebuffer-compact.p... Message-ID: changeset ec5c1b178b00 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ec5c1b178b00 description: * patches/icedtea-bytebuffer-compact.patch: New file. * Makefile.am (ICEDTEA_PATCHES): Add above patch. * Makefile.in: Regenerated. diffstat: 4 files changed, 89 insertions(+) ChangeLog | 6 ++ Makefile.am | 1 Makefile.in | 1 patches/icedtea-bytebuffer-compact.patch | 81 ++++++++++++++++++++++++++++++ diffs (120 lines): diff -r 7cddb298bb0a -r ec5c1b178b00 ChangeLog --- a/ChangeLog Wed Oct 03 15:38:04 2007 -0700 +++ b/ChangeLog Wed Oct 03 15:44:35 2007 -0700 @@ -1,3 +1,9 @@ 2007-10-03 Keith Seitz + + * patches/icedtea-bytebuffer-compact.patch: New file. + * Makefile.am (ICEDTEA_PATCHES): Add above patch. + * Makefile.in: Regenerated. + 2007-10-03 Keith Seitz * patches/icedtea-use-system-tzdata.patch: Use AccessController diff -r 7cddb298bb0a -r ec5c1b178b00 Makefile.am --- a/Makefile.am Wed Oct 03 15:38:04 2007 -0700 +++ b/Makefile.am Wed Oct 03 15:44:35 2007 -0700 @@ -137,6 +137,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-headers.patch \ patches/icedtea-ant.patch \ patches/icedtea-gcc-suffix.patch \ + patches/icedtea-bytebuffer-compact.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 7cddb298bb0a -r ec5c1b178b00 Makefile.in --- a/Makefile.in Wed Oct 03 15:38:04 2007 -0700 +++ b/Makefile.in Wed Oct 03 15:44:35 2007 -0700 @@ -253,6 +253,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-headers.patch \ patches/icedtea-ant.patch \ patches/icedtea-gcc-suffix.patch \ + patches/icedtea-bytebuffer-compact.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 7cddb298bb0a -r ec5c1b178b00 patches/icedtea-bytebuffer-compact.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-bytebuffer-compact.patch Wed Oct 03 15:44:35 2007 -0700 @@ -0,0 +1,81 @@ +diff -r 317d604b4da9 j2se/src/share/classes/java/nio/Buffer.java +--- openjdk/j2se/src/share/classes/java/nio/Buffer.java Tue Sep 25 12:45:52 2007 -0700 ++++ openjdk/j2se/src/share/classes/java/nio/Buffer.java Tue Sep 25 12:47:10 2007 -0700 +@@ -235,7 +235,7 @@ public abstract class Buffer { + if ((newPosition > limit) || (newPosition < 0)) + throw new IllegalArgumentException(); + position = newPosition; +- if (mark > position) mark = -1; ++ if (mark > position) clearMark(); + return this; + } + +@@ -267,7 +267,7 @@ public abstract class Buffer { + throw new IllegalArgumentException(); + limit = newLimit; + if (position > limit) position = limit; +- if (mark > limit) mark = -1; ++ if (mark > limit) clearMark(); + return this; + } + +@@ -320,7 +320,7 @@ public abstract class Buffer { + public final Buffer clear() { + position = 0; + limit = capacity; +- mark = -1; ++ clearMark(); + return this; + } + +@@ -348,7 +348,7 @@ public abstract class Buffer { + public final Buffer flip() { + limit = position; + position = 0; +- mark = -1; ++ clearMark(); + return this; + } + +@@ -369,7 +369,7 @@ public abstract class Buffer { + */ + public final Buffer rewind() { + position = 0; +- mark = -1; ++ clearMark(); + return this; + } + +@@ -543,6 +543,10 @@ public abstract class Buffer { + return mark; + } + ++ final void clearMark() { // package-private ++ mark = -1; ++ } ++ + static void checkBounds(int off, int len, int size) { // package-private + if ((off | len | (off + len) | (size - (off + len))) < 0) + throw new IndexOutOfBoundsException(); +diff -r 317d604b4da9 j2se/src/share/classes/java/nio/Direct-X-Buffer.java +--- openjdk/j2se/src/share/classes/java/nio/Direct-X-Buffer.java Tue Sep 25 12:45:52 2007 -0700 ++++ openjdk/j2se/src/share/classes/java/nio/Direct-X-Buffer.java Tue Sep 25 12:47:10 2007 -0700 +@@ -354,6 +354,7 @@ class Direct$Type$Buffer$RW$$BO$ + unsafe.copyMemory(ix(pos), ix(0), rem << $LG_BYTES_PER_VALUE$); + position(rem); + limit(capacity()); ++ clearMark(); + return this; + #else[rw] + throw new ReadOnlyBufferException(); +diff -r 317d604b4da9 j2se/src/share/classes/java/nio/Heap-X-Buffer.java +--- openjdk/j2se/src/share/classes/java/nio/Heap-X-Buffer.java Tue Sep 25 12:45:52 2007 -0700 ++++ openjdk/j2se/src/share/classes/java/nio/Heap-X-Buffer.java Tue Sep 25 12:47:10 2007 -0700 +@@ -222,6 +222,7 @@ class Heap$Type$Buffer$RW$ + System.arraycopy(hb, ix(position()), hb, ix(0), remaining()); + position(remaining()); + limit(capacity()); ++ clearMark(); + return this; + #else[rw] + throw new ReadOnlyBufferException(); From keiths at redhat.com Wed Oct 3 16:48:07 2007 From: keiths at redhat.com (Keith Seitz) Date: Wed, 03 Oct 2007 23:48:07 +0000 Subject: changeset in /hg/icedtea: * patches/icedtea-float-double-trailin... Message-ID: changeset 3ff54046cde2 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=3ff54046cde2 description: * patches/icedtea-float-double-trailing-zeros.patch: New file. * Makefile.am (ICEDTEA_PATCHES): Add above patch. * Makefile.in: Regenerate. diffstat: 4 files changed, 39 insertions(+) ChangeLog | 7 ++++ Makefile.am | 1 Makefile.in | 1 patches/icedtea-float-double-trailing-zeros.patch | 30 +++++++++++++++++++++ diffs (70 lines): diff -r ec5c1b178b00 -r 3ff54046cde2 ChangeLog --- a/ChangeLog Wed Oct 03 15:44:35 2007 -0700 +++ b/ChangeLog Wed Oct 03 16:48:03 2007 -0700 @@ -1,3 +1,10 @@ 2007-10-03 Keith Seitz + + * patches/icedtea-float-double-trailing-zeros.patch: + New file. + * Makefile.am (ICEDTEA_PATCHES): Add above patch. + * Makefile.in: Regenerate. + 2007-10-03 Keith Seitz * patches/icedtea-bytebuffer-compact.patch: New file. diff -r ec5c1b178b00 -r 3ff54046cde2 Makefile.am --- a/Makefile.am Wed Oct 03 15:44:35 2007 -0700 +++ b/Makefile.am Wed Oct 03 16:48:03 2007 -0700 @@ -138,6 +138,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-ant.patch \ patches/icedtea-gcc-suffix.patch \ patches/icedtea-bytebuffer-compact.patch \ + patches/icedtea-float-double-trailing-zeros.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r ec5c1b178b00 -r 3ff54046cde2 Makefile.in --- a/Makefile.in Wed Oct 03 15:44:35 2007 -0700 +++ b/Makefile.in Wed Oct 03 16:48:03 2007 -0700 @@ -254,6 +254,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-ant.patch \ patches/icedtea-gcc-suffix.patch \ patches/icedtea-bytebuffer-compact.patch \ + patches/icedtea-float-double-trailing-zeros.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r ec5c1b178b00 -r 3ff54046cde2 patches/icedtea-float-double-trailing-zeros.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-float-double-trailing-zeros.patch Wed Oct 03 16:48:03 2007 -0700 @@ -0,0 +1,30 @@ +diff -r 48f64c7da34f j2se/src/share/classes/sun/misc/FloatingDecimal.java +--- openjdk/j2se/src/share/classes/sun/misc/FloatingDecimal.java Thu Sep 27 12:56:46 2007 -0700 ++++ openjdk/j2se/src/share/classes/sun/misc/FloatingDecimal.java Wed Oct 03 15:53:31 2007 -0700 +@@ -730,7 +730,7 @@ public class FloatingDecimal{ + * Thus we will need more than one digit if we're using + * E-form + */ +- if ( decExp <= -3 || decExp >= 8 ){ ++ if ( decExp < -3 || decExp >= 8 ){ + high = low = false; + } + while( ! low && ! high ){ +@@ -783,7 +783,7 @@ public class FloatingDecimal{ + * Thus we will need more than one digit if we're using + * E-form + */ +- if ( decExp <= -3 || decExp >= 8 ){ ++ if ( decExp < -3 || decExp >= 8 ){ + high = low = false; + } + while( ! low && ! high ){ +@@ -847,7 +847,7 @@ public class FloatingDecimal{ + * Thus we will need more than one digit if we're using + * E-form + */ +- if ( decExp <= -3 || decExp >= 8 ){ ++ if ( decExp < -3 || decExp >= 8 ){ + high = low = false; + } + while( ! low && ! high ){ From langel at redhat.com Thu Oct 4 11:08:48 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 04 Oct 2007 18:08:48 +0000 Subject: changeset in /hg/icedtea: 2007-10-04 Lillian Angel changeset d0100142281b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=d0100142281b description: 2007-10-04 Lillian Angel * INSTALL: Updated docs on how-to-build, and build requirements. * Makefile.am: Added new patch to list. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Added check for libXinerama libs. * patches/icedtea-xinerama.patch: New patch for bug #72. diffstat: 7 files changed, 110 insertions(+), 16 deletions(-) ChangeLog | 9 ++++ INSTALL | 26 +++++-------- Makefile.am | 1 Makefile.in | 1 configure | 75 ++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 + patches/icedtea-xinerama.patch | 12 ++++++ diffs (201 lines): diff -r 3ff54046cde2 -r d0100142281b ChangeLog --- a/ChangeLog Wed Oct 03 16:48:03 2007 -0700 +++ b/ChangeLog Thu Oct 04 14:06:11 2007 -0400 @@ -1,3 +1,12 @@ 2007-10-03 Keith Seitz + + * INSTALL: Updated docs on how-to-build, and build requirements. + * Makefile.am: Added new patch to list. + * Makefile.in: Regenerate. + * configure: Regenerate. + * configure.ac: Added check for libXinerama libs. + * patches/icedtea-xinerama.patch: New patch for bug #72. + 2007-10-03 Keith Seitz * patches/icedtea-float-double-trailing-zeros.patch: diff -r 3ff54046cde2 -r d0100142281b INSTALL --- a/INSTALL Wed Oct 03 16:48:03 2007 -0700 +++ b/INSTALL Thu Oct 04 14:06:11 2007 -0400 @@ -4,13 +4,6 @@ For convenience we've provided make targ For convenience we've provided make targets that automatically download, extract and patch the source code from openjdk.java.net, in a default location. - -To build IcedTea, do: - -./configure [OPTION]... [VAR=VALUE]... -make - -There is currently no install target. The build requirements are as follows: @@ -31,22 +24,23 @@ firefox-devel firefox-devel glib2-devel gtk2-devel +ant >= 1.6.5 +libXinerama-devel See ./configure --help if you need to override defaults. + +./configure + --with-icedtea-home=/path/to/old/icedtea + [default /usr/lib/jvm/java-icedtea] +make + +There is currently no install target. IcedTea ends up in openjdk/control/build/linux-i586 or openjdk/control/build/linux-amd64 when the build completes. -Building IcedTea with IcedTea ------------------------------ +This builds IcedTea against a previously built IcedTea. -To perform a full bootstrap, do: - -./configure -make - -This builds IcedTea against ecj running on libgcj first then uses the -result of that build to build IcedTea again. Rebuilding The IcedTea Plugs ---------------------------- diff -r 3ff54046cde2 -r d0100142281b Makefile.am --- a/Makefile.am Wed Oct 03 16:48:03 2007 -0700 +++ b/Makefile.am Thu Oct 04 14:06:11 2007 -0400 @@ -139,6 +139,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-gcc-suffix.patch \ patches/icedtea-bytebuffer-compact.patch \ patches/icedtea-float-double-trailing-zeros.patch \ + patches/icedtea-xinerama.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 3ff54046cde2 -r d0100142281b Makefile.in --- a/Makefile.in Wed Oct 03 16:48:03 2007 -0700 +++ b/Makefile.in Thu Oct 04 14:06:11 2007 -0400 @@ -255,6 +255,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-gcc-suffix.patch \ patches/icedtea-bytebuffer-compact.patch \ patches/icedtea-float-double-trailing-zeros.patch \ + patches/icedtea-xinerama.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 3ff54046cde2 -r d0100142281b configure --- a/configure Wed Oct 03 16:48:03 2007 -0700 +++ b/configure Thu Oct 04 14:06:11 2007 -0400 @@ -6817,6 +6817,81 @@ fi fi +{ echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5 +echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6; } +if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lXinerama $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char XineramaQueryExtension (); +int +main () +{ +return XineramaQueryExtension (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_Xinerama_XineramaQueryExtension=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_Xinerama_XineramaQueryExtension=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5 +echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; } +if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBXINERAMA 1 +_ACEOF + + LIBS="-lXinerama $LIBS" + +else + { { echo "$as_me:$LINENO: error: \"libXinerama not found - try installing libXinerama-devel\"" >&5 +echo "$as_me: error: \"libXinerama not found - try installing libXinerama-devel\"" >&2;} + { (exit 1); exit 1; }; } +fi + + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then diff -r 3ff54046cde2 -r d0100142281b configure.ac --- a/configure.ac Wed Oct 03 16:48:03 2007 -0700 +++ b/configure.ac Thu Oct 04 14:06:11 2007 -0400 @@ -72,6 +72,8 @@ CHECK_HEADERS AC_CHECK_LIB(Xtst, XTestQueryExtension, , [AC_MSG_ERROR("libXtst not found - try installing libXtst-devel")]) +AC_CHECK_LIB(Xinerama, XineramaQueryExtension, + , [AC_MSG_ERROR("libXinerama not found - try installing libXinerama-devel")]) dnl Check for plugin support headers and libraries. PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], \ diff -r 3ff54046cde2 -r d0100142281b patches/icedtea-xinerama.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-xinerama.patch Thu Oct 04 14:06:11 2007 -0400 @@ -0,0 +1,12 @@ +diff -up openjdk/j2se/make/sun/xawt/Makefile.jx openjdk/j2se/make/sun/xawt/Makefile +--- openjdk/j2se/make/sun/xawt/Makefile.jx 2007-08-30 03:19:44.000000000 -0400 ++++ openjdk/j2se/make/sun/xawt/Makefile 2007-10-03 14:49:11.000000000 -0400 +@@ -49,8 +49,7 @@ AUTO_JAVA_PRUNE = WrapperGenerator.java + LDFLAGS += -L$(OPENWIN_LIB) + + ifeq ($(PLATFORM), linux) +-FILES_c += Xinerama.c +-LDFLAGS += -lpthread ++LDFLAGS += -lXinerama -lpthread + dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) + endif From fitzsim at redhat.com Thu Oct 4 13:43:28 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Thu, 04 Oct 2007 20:43:28 +0000 Subject: changeset in /hg/icedtea: 2007-10-04 Thomas Fitzsimmons changeset 0d5ebdf62450 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0d5ebdf62450 description: 2007-10-04 Thomas Fitzsimmons PR 73 * Makefile.am (ICEDTEA_PATCHES): Add patches/icedtea-gtkplaf.patch. * Makefile.in: Regenerate. * patches/icedtea-gtkplaf.patch: New file. diffstat: 4 files changed, 33 insertions(+) ChangeLog | 8 ++++++++ Makefile.am | 1 + Makefile.in | 1 + patches/icedtea-gtkplaf.patch | 23 +++++++++++++++++++++++ diffs (64 lines): diff -r d0100142281b -r 0d5ebdf62450 ChangeLog --- a/ChangeLog Thu Oct 04 14:06:11 2007 -0400 +++ b/ChangeLog Thu Oct 04 16:43:18 2007 -0400 @@ -1,3 +1,11 @@ 2007-10-04 Lillian Angel + + PR 73 + * Makefile.am (ICEDTEA_PATCHES): Add + patches/icedtea-gtkplaf.patch. + * Makefile.in: Regenerate. + * patches/icedtea-gtkplaf.patch: New file. + 2007-10-04 Lillian Angel * INSTALL: Updated docs on how-to-build, and build requirements. diff -r d0100142281b -r 0d5ebdf62450 Makefile.am --- a/Makefile.am Thu Oct 04 14:06:11 2007 -0400 +++ b/Makefile.am Thu Oct 04 16:43:18 2007 -0400 @@ -140,6 +140,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-bytebuffer-compact.patch \ patches/icedtea-float-double-trailing-zeros.patch \ patches/icedtea-xinerama.patch \ + patches/icedtea-gtkplaf.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r d0100142281b -r 0d5ebdf62450 Makefile.in --- a/Makefile.in Thu Oct 04 14:06:11 2007 -0400 +++ b/Makefile.in Thu Oct 04 16:43:18 2007 -0400 @@ -256,6 +256,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-bytebuffer-compact.patch \ patches/icedtea-float-double-trailing-zeros.patch \ patches/icedtea-xinerama.patch \ + patches/icedtea-gtkplaf.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r d0100142281b -r 0d5ebdf62450 patches/icedtea-gtkplaf.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-gtkplaf.patch Thu Oct 04 16:43:18 2007 -0400 @@ -0,0 +1,23 @@ +--- openjdk/j2se/src/solaris/native/sun/awt/gtk2_interface.c.orig 2007-09-27 04:08:04.000000000 -0400 ++++ openjdk/j2se/src/solaris/native/sun/awt/gtk2_interface.c 2007-10-04 16:31:04.000000000 -0400 +@@ -1410,20 +1410,6 @@ + (*fp_gtk_menu_item_set_submenu)((GtkMenuItem*)root_menu, result); + (*fp_gtk_menu_shell_append)((GtkMenuShell *)menu_bar, root_menu); + } +- else if (widget_type == COMBO_BOX_ARROW_BUTTON || +- widget_type == COMBO_BOX_TEXT_FIELD) +- { +- /* +- * We add a regular GtkButton/GtkEntry to a GtkComboBoxEntry +- * in order to trick engines into thinking it's a real combobox +- * arrow button/text field. +- */ +- GtkWidget *combo = (*fp_gtk_combo_box_entry_new)(); +- (*fp_gtk_container_add)((GtkContainer *)combo, result); +- (*fp_gtk_container_add)((GtkContainer *)gtk2_fixed, combo); +- (*fp_gtk_widget_realize)(result); +- return result; +- } + else if (widget_type != TOOL_TIP && + widget_type != INTERNAL_FRAME && + widget_type != OPTION_PANE) From aph at redhat.com Fri Oct 5 04:01:26 2007 From: aph at redhat.com (Andrew Haley) Date: Fri, 5 Oct 2007 12:01:26 +0100 Subject: Fix debuginfo generation for Linux Message-ID: <18182.6534.155466.15727@zebedee.pink> In Linux packages we always generate full debuginfo, regardless of optimization. Recent changes to OpenJDK have broken our debuginfo patches, and this new version of icedtea-debuginfo.patch fixes that, I hope. We need to find some way to test debuginfo generation in our regression testing. At the moment I can think of no easy way to do that: it's a hard problem because even if we detect that one file has correct debuginfo, that doesn't mean that _all_ files do. Ideas welcome... Andrew. 2007-10-05 Andrew Haley * patches/icedtea-debuginfo.patch: Add openjdk/hotspot/build/linux/makefiles/gcc.make. Add -g to CFLAGS_REQUIRED in openjdk/j2se/make/common/Defs-linux.gmk --- openjdk/j2se/make/common/Defs-linux.gmk.orig 2007-09-27 08:52:06.000000000 +0100 +++ openjdk/j2se/make/common/Defs-linux.gmk 2007-10-04 15:04:02.000000000 +0100 @@ -155,13 +155,11 @@ CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) endif -# Linux 64bit machines use Dwarf2, which can be HUGE, have fastdebug use -g1 DEBUG_FLAG = -g -ifeq ($(FASTDEBUG), true) - ifeq ($(ARCH_DATA_MODEL), 64) - DEBUG_FLAG = -g1 - endif -endif + +# Always generate full debuginfo on Linux. It'll be in a separate +# debuginfo package when building RPMs. +CFLAGS_REQUIRED += -g CFLAGS_OPT = $(POPT) CFLAGS_DBG = $(DEBUG_FLAG) @@ -236,7 +234,7 @@ ifeq ($(VARIANT), OPT) ifneq ($(NO_STRIP), true) # Debug 'strip -g' leaves local function Elf symbols (better stack traces) - POST_STRIP_PROCESS = $(STRIP) -g + # POST_STRIP_PROCESS = $(STRIP) -g endif endif --- openjdk/j2se/make/sun/awt/mawt.gmk~ 2007-05-24 08:33:23.000000000 +0100 +++ openjdk/j2se/make/sun/awt/mawt.gmk 2007-06-21 15:25:58.000000000 +0100 @@ -132,7 +132,7 @@ # -#CFLAGS += -g +CFLAGS += -g ifeq ($(HEADLESS),true) CFLAGS += -DHEADLESS=$(HEADLESS) CPPFLAGS += -DHEADLESS=$(HEADLESS) --- openjdk/j2se/make/common/shared/Defs-java.gmk 2007-09-13 03:52:42.000000000 -0400 +++ openjdk/j2se/make/common/shared/Defs-java.gmk 2007-09-14 10:50:45.000000000 -0400 @@ -98,15 +98,9 @@ # -- Use JAVAC_CMD if you want to take the defaults given to you. # -ifndef DEBUG_CLASSFILES - ifeq ($(VARIANT), DBG) - DEBUG_CLASSFILES = true - endif -endif -JAVACFLAGS = -ifeq ($(DEBUG_CLASSFILES),true) - JAVACFLAGS += -g -endif +DEBUG_CLASSFILES = true +JAVACFLAGS += -g + ifeq ($(COMPILER_WARNINGS_FATAL), true) JAVACFLAGS += -Werror endif --- openjdk/hotspot/build/linux/makefiles/gcc.make~ 2007-10-03 17:54:11.000000000 +0100 +++ openjdk/hotspot/build/linux/makefiles/gcc.make 2007-10-03 18:19:33.000000000 +0100 @@ -63,6 +63,10 @@ CFLAGS += -D_REENTRANT CFLAGS += -fcheck-new +# Always generate full debuginfo on Linux. It'll be in a separate +# debuginfo package when building RPMs. +CFLAGS += -g + ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) ARCHFLAG/i486 = -m32 -march=i586 ARCHFLAG/amd64 = -m64 -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 From aph at redhat.com Fri Oct 5 04:46:02 2007 From: aph at redhat.com (Andrew Haley) Date: Fri, 05 Oct 2007 11:46:02 +0000 Subject: changeset in /hg/icedtea: 2007-10-05 Andrew Haley changeset bfc6f7f31e6d in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=bfc6f7f31e6d description: 2007-10-05 Andrew Haley * patches/icedtea-debuginfo.patch: Add openjdk/hotspot/build/linux/makefiles/gcc.make. Add -g to CFLAGS_REQUIRED in openjdk/j2se/make/common/Defs-linux.gmk diffstat: 2 files changed, 29 insertions(+), 5 deletions(-) ChangeLog | 7 +++++++ patches/icedtea-debuginfo.patch | 27 ++++++++++++++++++++++----- diffs (69 lines): diff -r 0d5ebdf62450 -r bfc6f7f31e6d ChangeLog --- a/ChangeLog Thu Oct 04 16:43:18 2007 -0400 +++ b/ChangeLog Fri Oct 05 12:45:23 2007 +0100 @@ -1,3 +1,10 @@ 2007-10-04 Thomas Fitzsimmons + + * patches/icedtea-debuginfo.patch: Add + openjdk/hotspot/build/linux/makefiles/gcc.make. + Add -g to CFLAGS_REQUIRED in + openjdk/j2se/make/common/Defs-linux.gmk + 2007-10-04 Thomas Fitzsimmons PR 73 diff -r 0d5ebdf62450 -r bfc6f7f31e6d patches/icedtea-debuginfo.patch --- a/patches/icedtea-debuginfo.patch Thu Oct 04 16:43:18 2007 -0400 +++ b/patches/icedtea-debuginfo.patch Fri Oct 05 12:45:23 2007 +0100 @@ -1,6 +1,6 @@ ---- openjdk/j2se/make/common/Defs-linux.gmk~ 2007-05-24 08:33:20.000000000 +0100 -+++ openjdk/j2se/make/common/Defs-linux.gmk 2007-06-21 15:32:44.000000000 +0100 -@@ -155,13 +155,7 @@ +--- openjdk/j2se/make/common/Defs-linux.gmk.orig 2007-09-27 08:52:06.000000000 +0100 ++++ openjdk/j2se/make/common/Defs-linux.gmk 2007-10-04 15:04:02.000000000 +0100 +@@ -155,13 +155,11 @@ CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) endif @@ -11,10 +11,14 @@ - DEBUG_FLAG = -g1 - endif -endif ++ ++# Always generate full debuginfo on Linux. It'll be in a separate ++# debuginfo package when building RPMs. ++CFLAGS_REQUIRED += -g CFLAGS_OPT = $(POPT) CFLAGS_DBG = $(DEBUG_FLAG) -@@ -230,7 +230,7 @@ +@@ -236,7 +234,7 @@ ifeq ($(VARIANT), OPT) ifneq ($(NO_STRIP), true) # Debug 'strip -g' leaves local function Elf symbols (better stack traces) @@ -34,7 +38,7 @@ ifeq ($(HEADLESS),true) CFLAGS += -DHEADLESS=$(HEADLESS) CPPFLAGS += -DHEADLESS=$(HEADLESS) ---- ../openjdk-b20/openjdk/j2se/make/common/shared/Defs-java.gmk 2007-09-13 03:52:42.000000000 -0400 +--- openjdk/j2se/make/common/shared/Defs-java.gmk 2007-09-13 03:52:42.000000000 -0400 +++ openjdk/j2se/make/common/shared/Defs-java.gmk 2007-09-14 10:50:45.000000000 -0400 @@ -98,15 +98,9 @@ # -- Use JAVAC_CMD if you want to take the defaults given to you. @@ -55,3 +59,16 @@ ifeq ($(COMPILER_WARNINGS_FATAL), true) JAVACFLAGS += -Werror endif +--- openjdk/hotspot/build/linux/makefiles/gcc.make~ 2007-10-03 17:54:11.000000000 +0100 ++++ openjdk/hotspot/build/linux/makefiles/gcc.make 2007-10-03 18:19:33.000000000 +0100 +@@ -63,6 +63,10 @@ + CFLAGS += -D_REENTRANT + CFLAGS += -fcheck-new + ++# Always generate full debuginfo on Linux. It'll be in a separate ++# debuginfo package when building RPMs. ++CFLAGS += -g ++ + ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) + ARCHFLAG/i486 = -m32 -march=i586 + ARCHFLAG/amd64 = -m64 From fitzsim at redhat.com Fri Oct 5 07:23:10 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Fri, 05 Oct 2007 10:23:10 -0400 Subject: Fix debuginfo generation for Linux In-Reply-To: <18182.6534.155466.15727@zebedee.pink> References: <18182.6534.155466.15727@zebedee.pink> Message-ID: <470648CE.5050101@redhat.com> Andrew Haley wrote: > In Linux packages we always generate full debuginfo, regardless of > optimization. Recent changes to OpenJDK have broken our debuginfo > patches, and this new version of icedtea-debuginfo.patch fixes that, I > hope. > > We need to find some way to test debuginfo generation in our > regression testing. At the moment I can think of no easy way to do > that: it's a hard problem because even if we detect that one file has > correct debuginfo, that doesn't mean that _all_ files do. Ideas > welcome... I'm surprised rpm's debuginfo package generation step doesn't include a "no debuginfo" check. The relevant script is /usr/lib/rpm/find-debuginfo.sh. Adding a check there would catch regressions at rpm build time. Tom From Tom.Marble at Sun.COM Fri Oct 5 14:04:32 2007 From: Tom.Marble at Sun.COM (Tom Marble) Date: Fri, 05 Oct 2007 16:04:32 -0500 Subject: Volunteers needed to test IcedTea (on amd64) !!! Message-ID: <4706A6E0.2030605@sun.com> All: As of this week there is a new build of IcedTea based on OpenJDK b21: http://icedtea.classpath.org This is important for Fedora 8 and the upcoming release of Ubuntu Gutsy. If you can test IcedTea in the next couple days that would be fantastic. Thanks to everyone that has helped with OpenJDK and IcedTea! --Tom === getting IcedTea b21 on Fedora === Where do I get Fedora 8 test3? https://www.redhat.com/archives/fedora-test-list/2007-October/msg00103.html What are the build dependencies for Fedora? ant, a previous version of icedtea, and [help needed here!] see also [0] you can get b19 from yum now: % yum --enablerepo=development install java-1.7.0-icedtea* and use that to build b21 % ./configure --with-icedtea-home=/path/to/icedtea/openjdk/control/build/linux-{arch}/j2sdk-image/ === getting IcedTea b21 on Ubuntu === Where do I get Ubuntu Gutsy beta? http://www.ubuntu.com/testing/gutsybeta What are the build dependencies for Ubuntu: ant, a previous version of icedtea, and [help needed here!] firefox-dev libnspr4-dev libnss3-dev libgtk2.0-dev see also [0] Where can get the latest version of IcedTea for Ubuntu (or Debian)? deb http://people.ubuntu.com/~doko/ubuntu/ gutsy/ deb-src http://people.ubuntu.com/~doko/ubuntu/ gutsy/ You can choose which implementation is used by default (and thus in Firefox) by doing this (with the packages above) # update-java-alternatives --set java-7-icedtea To try the plugin from your own build directory (instead of a preinstalled package) carefully change the plugin link for Firefox (don't forget to put it back when you are done testing)! in /usr/lib/firefox/plugins/ libjavaplugin.so -> /etc/alternatives/firefox-javaplugin.so to libjavaplugin.so -> /home/mypathto/icedtea/openjdk/control/build/linux-i586/j2sdk-image/jre/lib/i386/gcjwebplugin.so Extra points awarded to testing on amd64!!! Once you have restored the libjavaplugin.so link to it's original (alternatives) location you can set the default back to JDK 6 with: # update-java-alternatives --set java-6-sun === getting test tools === 0. Demos - from an installed JDK in jdk/demo/ - or from your build in icedtea/openjdk/control/build/linux-i586/j2sdk-image/demo/ 1. Applets - http://www.gnu.org/software/classpath/ - http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example1.html 2. The TCK. - Are you an SCA signatory? http://www.sun.com/software/opensource/contributor_agreement.jsp - Are you willing to sign the OpenJDK TCK license? http://openjdk.java.net/legal/openjdk-tck-license.pdf - Even though OpenJDK and thus IcedTea are based on JDK 7 (not JDK 6) would you like to evaluate how well IcedTea is doing here? - please respond to me directly! 3. jtreg - http://openjdk.java.net/jtreg/index.html 4. mauve - http://sourceware.org/mauve/ 5. dacapo - http://dacapobench.org/ 6. other [help needed here!] === reporting results === Send feedback to this list! Thanks!! ================================ [0] current Ubuntu build deps from README-builds.html (please help us update this!) * build-essential o dpkg-dev o g++ o g++-4.1 o libc6-dev o libstdc++6.4.1-dev o linux-libc-dev * gawk * m4 * libasound2-dev * libcupsys2-dev o libgcrypt11-dev o lgnutls-dev o libgpg-error-dev o liblzo-dev o libopencdk8-dev o libpopt-dev o libtasn1-3-dev o zlib1g-dev * sun-java6-jdk o java-common o libltdl3 o odbcinst1debian1 o sun-java6-bin o sun-java6-jre o unixodbc * xlibs-dev o (many) * x11proto-print-dev * libxaw7-dev o libxaw-headers * libxp-dev * libfreetype6-dev From j.w.r.degoede at hhs.nl Fri Oct 5 23:17:29 2007 From: j.w.r.degoede at hhs.nl (Hans de Goede) Date: Sat, 06 Oct 2007 08:17:29 +0200 Subject: Volunteers needed to test IcedTea (on amd64) !!! In-Reply-To: <4706A6E0.2030605@sun.com> References: <4706A6E0.2030605@sun.com> Message-ID: <47072879.4090908@hhs.nl> Tom Marble wrote: > All: > > As of this week there is a new build of IcedTea based on OpenJDK b21: > http://icedtea.classpath.org > > This is important for Fedora 8 and the upcoming release of Ubuntu Gutsy. > If you can test IcedTea in the next couple days that would be fantastic. > > Thanks to everyone that has helped with OpenJDK and IcedTea! > > --Tom > Hmm, Won't the b21 based version be in rawhide soon then, or could an srpm be made available? I don't mind doing some testing, but I don't want to mess up my system by building from sources, so I would really want to see this in rpm form, .src.rpm is fine too. Regards, Hans From aph at redhat.com Sat Oct 6 03:14:23 2007 From: aph at redhat.com (Andrew Haley) Date: Sat, 6 Oct 2007 11:14:23 +0100 Subject: Volunteers needed to test IcedTea (on amd64) !!! In-Reply-To: <47072879.4090908@hhs.nl> References: <4706A6E0.2030605@sun.com> <47072879.4090908@hhs.nl> Message-ID: <18183.24575.740627.353126@zebedee.pink> Hans de Goede writes: > Tom Marble wrote: > > All: > > > > As of this week there is a new build of IcedTea based on OpenJDK b21: > > http://icedtea.classpath.org > > > > This is important for Fedora 8 and the upcoming release of Ubuntu Gutsy. > > If you can test IcedTea in the next couple days that would be fantastic. > > > > Thanks to everyone that has helped with OpenJDK and IcedTea! > > > > --Tom > > > > Hmm, > > Won't the b21 based version be in rawhide soon then, or could an srpm be made > available? It will be there soon. We're doing this as fast as we can. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 From plugwash at p10link.net Sat Oct 6 06:22:48 2007 From: plugwash at p10link.net (peter green) Date: Sat, 06 Oct 2007 14:22:48 +0100 Subject: Volunteers needed to test IcedTea (on amd64) !!! Message-ID: <47078C28.3000101@p10link.net> >Extra points awarded to testing on amd64!!! I've been running a version of icedtea B21 built in an amd64 sid chroot from the ubuntu source packages that doko released on my mixed lenny/sid amd64 system. The moleculeviewer applet seems to work fine. http://www.frontiernet.net/~imaging/lunar_lander_game.html works kind of but the fonts are too big (This could just be platform differences that the author didn't consider though) and sound also misbehaves (in some ways misbehaving sound makes things like this less playable than if there was no sound at all). btw what is the status of the licensing issues that doko cited as being the reason for being unable to upload icedtea to the ubuntu repositries? From lnunez at gmail.com Sat Oct 6 09:11:39 2007 From: lnunez at gmail.com (Leonel) Date: Sat, 6 Oct 2007 10:11:39 -0600 Subject: b21 Ubuntu Gutsy Message-ID: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> b21 on gutsy needs a correct link to the prevous icedtea after a long compile time I get this error : openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file openjdk/hotspot/agent/src/os/Linux/LinuxDebuggerLocal.c:28:18: jni.h No such file any idea how to fix this to finish compiling ? -- Leonel From Tom.Marble at Sun.COM Sat Oct 6 09:17:05 2007 From: Tom.Marble at Sun.COM (Tom Marble) Date: Sat, 06 Oct 2007 11:17:05 -0500 Subject: Volunteers needed to test IcedTea (on amd64) !!! In-Reply-To: <47078C28.3000101@p10link.net> References: <47078C28.3000101@p10link.net> Message-ID: <4707B501.6090207@sun.com> peter green wrote: >>Extra points awarded to testing on amd64!!! > > I've been running a version of icedtea B21 built in an amd64 sid chroot > from the ubuntu source packages that doko released on my mixed lenny/sid > amd64 system. > > The moleculeviewer applet seems to work fine. That is certainly good to know as it demonstrates that IcedTea including gcjwebplugin does interoperate correctly on amd64. This would be strange because, apparently, IcedTea b21/amd64 works on sid, but not gutsy? > http://www.frontiernet.net/~imaging/lunar_lander_game.html works kind of > but the fonts are too big (This could just be platform differences that > the author didn't consider though) and sound also misbehaves (in some > ways misbehaving sound makes things like this less playable than if > there was no sound at all). Sound is certainly an area where there could be some troubles. Can you characterize the way sound misbehaves? NOTE: part of this may actually be present in Sun's "commercial" Java bits as well (apparently we like to take over your sound system :( ). Can you retest this with sun-java6-plugin (and set it with # update-java-alternatives --set java-6-sun ) to see if the behavior is any different? Of course you can't! My bad. We don't have plugin for amd64 :( But this is now RFE#1 !!! http://bugs.sun.com/bugdatabase/top25_rfes.do And using gcjwebplugin is a stopgap measure until we get our plugin source code released. So perhaps someone could test that applet in 32-bit mode (who also has access to an amd64 system) to compare the behaviors. > btw what is the status of the licensing issues that doko cited as being > the reason for being unable to upload icedtea to the ubuntu repositries? The "licensing issues" basically amount to certain (among the thousands of files) that had incomplete copyright headers. We are confident that all the stuff we have released for OpenJDK is fine and so these sorts of things amount to typos. As of b21 most of these "typos" have been fixed. If anyone has any questions about the disposition of a file please let me know. Thanks for the report! --Tom From Tom.Marble at Sun.COM Sat Oct 6 09:24:00 2007 From: Tom.Marble at Sun.COM (Tom Marble) Date: Sat, 06 Oct 2007 11:24:00 -0500 Subject: b21 Ubuntu Gutsy In-Reply-To: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> Message-ID: <4707B6A0.8010404@sun.com> Leonel wrote: > b21 on gutsy needs a correct link to the prevous icedtea > > after a long compile time I get this error : > > openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file > openjdk/hotspot/agent/src/os/Linux/LinuxDebuggerLocal.c:28:18: jni.h > No such file > any idea how to fix this to finish compiling ? I actually built b21 using the previous b19 IcedTea as follows: % ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea Previously to this I had not set "--with-icedtea-home" (despite Lillian's note w/b21 which was quite explicit about this). Lillian says she will do an earlier "sanity check" on the bootstrap JDK so that we will discover this sort of trouble before "a long compile time". HTH, --Tom From lnunez at gmail.com Sat Oct 6 10:00:47 2007 From: lnunez at gmail.com (Leonel) Date: Sat, 6 Oct 2007 11:00:47 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <4707B6A0.8010404@sun.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> Message-ID: <33c54f810710061000y404b4c14j9afb34f4166dc94d@mail.gmail.com> On 10/6/07, Tom Marble wrote: > Leonel wrote: > > b21 on gutsy needs a correct link to the prevous icedtea > > > > after a long compile time I get this error : > > > > openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file > > openjdk/hotspot/agent/src/os/Linux/LinuxDebuggerLocal.c:28:18: jni.h > > No such file > > any idea how to fix this to finish compiling ? > > I actually built b21 using the previous b19 IcedTea as follows: > > % ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea > > Previously to this I had not set "--with-icedtea-home" (despite > Lillian's note w/b21 which was quite explicit about this). Lillian > says she will do an earlier "sanity check" on the bootstrap JDK > so that we will discover this sort of trouble before "a long compile time". > > HTH, > > --Tom > > > I did --with-icedtea-home=/usr/lib/jvm/java-1.7.0-icedtea and previous error was a bad link to jdk1.6.0 pointing to java-icedtea then fixit pointing to the correct icedtea and this is the error that came about jni.h -- Leonel From lnunez at gmail.com Sun Oct 7 06:26:24 2007 From: lnunez at gmail.com (Leonel) Date: Sun, 7 Oct 2007 07:26:24 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <4707B6A0.8010404@sun.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> Message-ID: <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> On 10/6/07, Tom Marble wrote: > Leonel wrote: > > b21 on gutsy needs a correct link to the prevous icedtea > > > > after a long compile time I get this error : > > > > openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file > > openjdk/hotspot/agent/src/os/Linux/LinuxDebuggerLocal.c:28:18: jni.h > > No such file > > any idea how to fix this to finish compiling ? > > I actually built b21 using the previous b19 IcedTea as follows: > > % ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea > > Previously to this I had not set "--with-icedtea-home" (despite > Lillian's note w/b21 which was quite explicit about this). Lillian > says she will do an earlier "sanity check" on the bootstrap JDK > so that we will discover this sort of trouble before "a long compile time". > > HTH, > > --Tom > > > made a link from /usr/lib/jvm/java-1.7.0-icedtea to /usr/lib/jvm/java-7-icedtea run configure with that change and same result -- Leonel From Tom.Marble at Sun.COM Sun Oct 7 08:31:50 2007 From: Tom.Marble at Sun.COM (Tom Marble) Date: Sun, 07 Oct 2007 10:31:50 -0500 Subject: b21 Ubuntu Gutsy In-Reply-To: <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> Message-ID: <4708FBE6.5000403@sun.com> Leonel wrote: >>> after a long compile time I get this error : >>> >>> openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file > made a link from /usr/lib/jvm/java-1.7.0-icedtea to > /usr/lib/jvm/java-7-icedtea > Since you already did: --with-icedtea-home=/usr/lib/jvm/java-1.7.0-icedtea Then it's not surprising the result is the same. On my system I do have: /usr/lib/jvm/java-7-icedtea/include/jni.h So finding your problem may require more digging into the make log... Did you unset JAVA_HOME? Regards, --Tom From mark at klomp.org Sun Oct 7 09:41:40 2007 From: mark at klomp.org (Mark Wielaard) Date: Sun, 07 Oct 2007 18:41:40 +0200 Subject: Volunteers needed to test IcedTea (on amd64) !!! In-Reply-To: <4706A6E0.2030605@sun.com> References: <4706A6E0.2030605@sun.com> Message-ID: <1191775300.3118.15.camel@localhost.localdomain> Hi Tom, On Fri, 2007-10-05 at 16:04 -0500, Tom Marble wrote: > === getting IcedTea b21 on Fedora === > > Where do I get Fedora 8 test3? > https://www.redhat.com/archives/fedora-test-list/2007-October/msg00103.html > > What are the build dependencies for Fedora? > ant, a previous version of icedtea, and [help needed here!] > see also [0] The IcedTea INSTALL file lists the following: http://icedtea.classpath.org/hg/icedtea/file/tip/INSTALL GNU libgcj 4.1.2 Eclipse Java Compiler 3.2.1 CUPS libX11 (libXp, libXtst, libXi, libXt) lesstif Freetype2 patch sed unzip md5sum wget alsa xalan xerces firefox-devel glib2-devel gtk2-devel ant >= 1.6.5 libXinerama-devel > you can get b19 from yum now: > % yum --enablerepo=development install java-1.7.0-icedtea* > and use that to build b21 > % ./configure --with-icedtea-home=/path/to/icedtea/openjdk/control/build/linux-{arch}/j2sdk-image/ If you are using a prebuild fedora icedtea rpm to bootstrap then the default --with-icedtea-home=/usr/lib/jvm/java-icedtea should work. > === getting IcedTea b21 on Ubuntu === > > Where do I get Ubuntu Gutsy beta? > http://www.ubuntu.com/testing/gutsybeta > > What are the build dependencies for Ubuntu: > ant, a previous version of icedtea, and [help needed here!] > firefox-dev libnspr4-dev libnss3-dev libgtk2.0-dev > see also [0] > > Where can get the latest version of IcedTea for Ubuntu (or Debian)? > deb http://people.ubuntu.com/~doko/ubuntu/ gutsy/ > deb-src http://people.ubuntu.com/~doko/ubuntu/ gutsy/ Note that Ubuntu != Debian. Normally you should be able to install the build requirements with apt-get build-dep icedtea-java7-jdk but since Ubuntu doesn't strictly follow the packaging names of Debian that won't work :{ What you can do is look at the build-deps as listed in http://people.ubuntu.com/~doko/ubuntu/gutsy/Sources and then do the following replacements s/firefox-devel/libxul-dev/ and s/xprop/x11-utils/ > 0. Demos > - from an installed JDK in jdk/demo/ > - or from your build in icedtea/openjdk/control/build/linux-i586/j2sdk-image/demo/ > 1. Applets > - http://www.gnu.org/software/classpath/ > - http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example1.html > 2. The TCK. > - Are you an SCA signatory? > http://www.sun.com/software/opensource/contributor_agreement.jsp > - Are you willing to sign the OpenJDK TCK license? > http://openjdk.java.net/legal/openjdk-tck-license.pdf > - Even though OpenJDK and thus IcedTea are based on JDK 7 > (not JDK 6) would you like to evaluate how well IcedTea > is doing here? > - please respond to me directly! > 3. jtreg > - http://openjdk.java.net/jtreg/index.html > 4. mauve > - http://sourceware.org/mauve/ > 5. dacapo > - http://dacapobench.org/ > 6. other [help needed here!] It would be nice to automate some of these, at least the free ones (mauve, dacapo, etc). I'll try to see if I can set something up on either builder.classpath.org or icedtea.classpath.org so we have some automated results. No promises when though, depends on time and resources (need to either get more diskspace on builder.c.o or more memory in icedtea.c.o). If someone already has some of these automated please let me know. Cheers, Mark From mark at klomp.org Sun Oct 7 09:58:53 2007 From: mark at klomp.org (Mark Wielaard) Date: Sun, 07 Oct 2007 18:58:53 +0200 Subject: Volunteers needed to test IcedTea (on amd64) !!! In-Reply-To: <4707B501.6090207@sun.com> References: <47078C28.3000101@p10link.net> <4707B501.6090207@sun.com> Message-ID: <1191776333.3118.24.camel@localhost.localdomain> Hi Tom, On Sat, 2007-10-06 at 11:17 -0500, Tom Marble wrote: > peter green wrote: > >>Extra points awarded to testing on amd64!!! > > > > I've been running a version of icedtea B21 built in an amd64 sid chroot > > from the ubuntu source packages that doko released on my mixed lenny/sid > > amd64 system. > > > > The moleculeviewer applet seems to work fine. > That is certainly good to know as it demonstrates that IcedTea including > gcjwebplugin does interoperate correctly on amd64. I can confirm that things build and look good, if you don't mind some strange font/graphics artifacts (nothing big, but not always anti-aliased) on both x86 and x86_64 (Fedora 8 Test 3). > Of course you can't! My bad. We don't have plugin for amd64 :( > But this is now RFE#1 !!! > http://bugs.sun.com/bugdatabase/top25_rfes.do > And using gcjwebplugin is a stopgap measure until we get our > plugin source code released. gcjwebplugin works pretty good (except for liveconnect/javascript interaction). Is there any timeline or work items to be done for the Sun plugin source code release? Why doesn't it compile/work on x86_64? Cheers, Mark From lnunez at gmail.com Sun Oct 7 11:12:47 2007 From: lnunez at gmail.com (Leonel) Date: Sun, 7 Oct 2007 12:12:47 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <4708FBE6.5000403@sun.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> Message-ID: <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> On 10/7/07, Tom Marble wrote: > Leonel wrote: > >>> after a long compile time I get this error : > >>> > >>> openjdk/hotspot/agent/src/os/Linux/ps_core.c:28:17: error jni.h: no such file > > > made a link from /usr/lib/jvm/java-1.7.0-icedtea to > > /usr/lib/jvm/java-7-icedtea > > > Since you already did: > --with-icedtea-home=/usr/lib/jvm/java-1.7.0-icedtea > Then it's not surprising the result is the same. > > On my system I do have: > /usr/lib/jvm/java-7-icedtea/include/jni.h > > So finding your problem may require more digging into the make log... > Did you unset JAVA_HOME? > > Regards, > > --Tom > There's no spoon .. :) I mean no JAVA_HOME and I don't have in my icedtea an include dir the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ I've installed the icedtea jre and jdk I guess there's a library missing to install ... -- Leonel From konqueror at gmx.de Sun Oct 7 11:26:28 2007 From: konqueror at gmx.de (Michael Koch) Date: Sun, 7 Oct 2007 20:26:28 +0200 Subject: b21 Ubuntu Gutsy In-Reply-To: <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> Message-ID: <20071007182628.GE23835@quadriga.konqueror.de> Hello Leonel, On Sun, Oct 07, 2007 at 12:12:47PM -0600, Leonel wrote: > There's no spoon .. :) I mean no JAVA_HOME > and I don't have in my icedtea an include dir > the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ > > I've installed the icedtea jre and jdk > > I guess there's a library missing to install ... This icedtea is old, outdated, crap, whatever. I should remove them from my webspace. Cheers Michael From lnunez at gmail.com Sun Oct 7 11:51:30 2007 From: lnunez at gmail.com (Leonel) Date: Sun, 7 Oct 2007 12:51:30 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <20071007182628.GE23835@quadriga.konqueror.de> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> <20071007182628.GE23835@quadriga.konqueror.de> Message-ID: <33c54f810710071151q13f8c2c4we0662af522c620dc@mail.gmail.com> On 10/7/07, Michael Koch wrote: > Hello Leonel, > > > On Sun, Oct 07, 2007 at 12:12:47PM -0600, Leonel wrote: > > There's no spoon .. :) I mean no JAVA_HOME > > and I don't have in my icedtea an include dir > > the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ > > > > I've installed the icedtea jre and jdk > > > > I guess there's a library missing to install ... > > This icedtea is old, outdated, crap, whatever. I should remove them from > my webspace. > > > Cheers > Michael > Can it be builded with sun's java ? -- Leonel From mark at klomp.org Sun Oct 7 13:56:21 2007 From: mark at klomp.org (Mark Wielaard) Date: Sun, 07 Oct 2007 22:56:21 +0200 Subject: b21 Ubuntu Gutsy In-Reply-To: <33c54f810710071151q13f8c2c4we0662af522c620dc@mail.gmail.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> <20071007182628.GE23835@quadriga.konqueror.de> <33c54f810710071151q13f8c2c4we0662af522c620dc@mail.gmail.com> Message-ID: <1191790581.7424.9.camel@localhost.localdomain> Hi Leonel, On Sun, 2007-10-07 at 12:51 -0600, Leonel wrote: > > > the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ > > > > > > I've installed the icedtea jre and jdk > > > > > > I guess there's a library missing to install ... > > > > This icedtea is old, outdated, crap, whatever. I should remove them from > > my webspace. > > Can it be builded with sun's java ? I don't believe anyone ever tried that. But I think it should work (and afterwards you should have an icedtea that you can then use for future bootstrapping). But you can install the ubuntu packages on Debian sid the normal dependencies should just resolve, the only problem is with the build-deps, but as long as you don't want to rebuild the deb itself that shouldn't be a big issue. Add the following to your apt source.list file: deb http://people.ubuntu.com/~doko/ubuntu/ gutsy/ And aptitude update && aptitude install icedtea-java7-jdk Then you can bootstrap your own icedtea sources with: ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea make Cheers, Mark From plugwash at p10link.net Sun Oct 7 15:55:09 2007 From: plugwash at p10link.net (peter green) Date: Sun, 07 Oct 2007 23:55:09 +0100 Subject: Volunteers needed to test IcedTea (on amd64) !!! Message-ID: <470963CD.4000203@p10link.net> >Sound is certainly an area where there could be some troubles. >Can you characterize the way sound misbehaves? All the sounds the applet uses play at the start (I suspect it is trying to play them silently to get them cached and is failing to make them silent but I don't have the source). It also seems to fail to play sounds if another sound is already playing). The sound works fine in java 5 on my 32 bit etch system. P.S. please CC me in replies as I have not yet subscribed to the list From lnunez at gmail.com Sun Oct 7 17:19:15 2007 From: lnunez at gmail.com (Leonel) Date: Sun, 7 Oct 2007 18:19:15 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <1191790581.7424.9.camel@localhost.localdomain> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> <20071007182628.GE23835@quadriga.konqueror.de> <33c54f810710071151q13f8c2c4we0662af522c620dc@mail.gmail.com> <1191790581.7424.9.camel@localhost.localdomain> Message-ID: <33c54f810710071719o65e52521r8f575096446c3348@mail.gmail.com> On 10/7/07, Mark Wielaard wrote: > Hi Leonel, > > On Sun, 2007-10-07 at 12:51 -0600, Leonel wrote: > > > > the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ > > > > > > > > I've installed the icedtea jre and jdk > > > > > > > > I guess there's a library missing to install ... > > > > > > This icedtea is old, outdated, crap, whatever. I should remove them from > > > my webspace. > > > > Can it be builded with sun's java ? > > I don't believe anyone ever tried that. But I think it should work (and > afterwards you should have an icedtea that you can then use for future > bootstrapping). But you can install the ubuntu packages on Debian sid > the normal dependencies should just resolve, the only problem is with > the build-deps, but as long as you don't want to rebuild the deb itself > that shouldn't be a big issue. Add the following to your apt source.list > file: > > deb http://people.ubuntu.com/~doko/ubuntu/ gutsy/ > > And aptitude update && aptitude install icedtea-java7-jdk > > Then you can bootstrap your own icedtea sources with: > ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea > make > > Cheers, > > Mark > > thank you it's working .. -- Leonel From lnunez at gmail.com Sun Oct 7 18:45:11 2007 From: lnunez at gmail.com (Leonel) Date: Sun, 7 Oct 2007 19:45:11 -0600 Subject: b21 Ubuntu Gutsy In-Reply-To: <33c54f810710071719o65e52521r8f575096446c3348@mail.gmail.com> References: <33c54f810710060911g6ba6e1a8h36d0f5c2c06fd21e@mail.gmail.com> <4707B6A0.8010404@sun.com> <33c54f810710070626u57bd2251gcc910e772b1fd630@mail.gmail.com> <4708FBE6.5000403@sun.com> <33c54f810710071112y62b8e000p1bb3f948e3d569b1@mail.gmail.com> <20071007182628.GE23835@quadriga.konqueror.de> <33c54f810710071151q13f8c2c4we0662af522c620dc@mail.gmail.com> <1191790581.7424.9.camel@localhost.localdomain> <33c54f810710071719o65e52521r8f575096446c3348@mail.gmail.com> Message-ID: <33c54f810710071845r1fa6f1e1jd826b4ace501c086@mail.gmail.com> On 10/7/07, Leonel wrote: > On 10/7/07, Mark Wielaard wrote: > > Hi Leonel, > > > > On Sun, 2007-10-07 at 12:51 -0600, Leonel wrote: > > > > > the icedtea I'm using is the one from http://people.debian.org/~mkoch/java/ > > > > > > > > > > I've installed the icedtea jre and jdk > > > > > > > > > > I guess there's a library missing to install ... > > > > > > > > This icedtea is old, outdated, crap, whatever. I should remove them from > > > > my webspace. > > > > > > Can it be builded with sun's java ? > > > > I don't believe anyone ever tried that. But I think it should work (and > > afterwards you should have an icedtea that you can then use for future > > bootstrapping). But you can install the ubuntu packages on Debian sid > > the normal dependencies should just resolve, the only problem is with > > the build-deps, but as long as you don't want to rebuild the deb itself > > that shouldn't be a big issue. Add the following to your apt source.list > > file: > > > > deb http://people.ubuntu.com/~doko/ubuntu/ gutsy/ > > > > And aptitude update && aptitude install icedtea-java7-jdk > > > > Then you can bootstrap your own icedtea sources with: > > ./configure --with-icedtea-home=/usr/lib/jvm/java-7-icedtea > > make > > > > Cheers, > > > > Mark > > > > > > > thank you it's working .. > > > -- > Leonel > Just to let you know that : leonel at ubuntu:~$ java -version java version "1.7.0" IcedTea Runtime Environment (build 1.7.0-b21) IcedTea Client VM (build 1.7.0-b21, mixed mode) leonel at ubuntu:~$ javac -version javac 1.7.0-internal This on Ubuntu Gutsy also tested the Servlet examples and JSP examples with Tomcat 6 and all worked fine. now to make more tests ... a BIG thank you to all of you. -- Leonel From matthew.flaschen at gatech.edu Sun Oct 7 21:41:35 2007 From: matthew.flaschen at gatech.edu (Matthew Flaschen) Date: Mon, 08 Oct 2007 00:41:35 -0400 Subject: Build fails because ant compiles without -1.5 In-Reply-To: <4700E15D.4040601@redhat.com> References: <46FF1F26.3090907@gatech.edu> <46FFCB66.7000507@redhat.com> <1191181521.3275.26.camel@hermans.wildebeest.org> <4700612C.6000709@redhat.com> <1191224681.3842.2.camel@dijkstra.wildebeest.org> <4700E15D.4040601@redhat.com> Message-ID: <4709B4FF.9080209@gatech.edu> Lillian Angel wrote: > You can set the alternatives to an previously built IcedTea (rpm or not). > > > Lillian I saw no documentation about how to do this, but I figured it out. On Fedora 7, I ran as root: update-alternatives --install /usr/bin/javac