Re: OpenJDK Build error on Ubuntu 8.04

2008-06-05 Thread Rob Ross
Is there any documentation of the build architecture, in terms of what needs to be built first, and how those build products are then used to build the rest of the system? Sorry if these are FAQ-type questions, I'm still trying to figure out how this all works. Is the requirement for an e

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-05 Thread Kelly O'Hair
I suspect (a long time ago) they did it this way for a reason, and in fact as I think about it, they probably wanted the version baked into a string constant rather than reading it from a file at startup, for performance reasons. That concern may still exist. The whole 'generated source' situati

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-04 Thread Jesse Glick
Kelly O'Hair wrote: these sh scripts used in the build process should be changed to be something else, maybe small Java apps. Would also be nice to not name the version-controlled input files *.java when they are not in fact valid Java source. I am referring to the output of hg -R jdk loc -r

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Martin Buchholz
On Tue, Jun 3, 2008 at 10:09 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: > Martin Buchholz wrote: > Sure, but this bug seems to suggest that we *already* rely on > /bin/bash, but we pretend not to by assuming that /bin/sh runs > bash. If we rely on bash, let's be straight about it. What the JDK

Re: Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
David Herron wrote: > Andrew Haley wrote: >> Martin Buchholz wrote: >> >>> On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: >>> But if one of our scripts actually needs bash (not just sh) why not use #!/bin/bash ? >>> sh is a horrible programming l

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Kelly O'Hair
Java (BOOTJDK) is and will always be a requirement to build the JDK, can't see that ever going away. Many build tools are already written in Java (see jdk/make/tools) so I don't see how changing sh scripts to Java changes the build dependencies. As far as Ant goes, I have mixed feelings about it

Re: Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew John Hughes
> BTW does anybody know where to get a SHCK? (/bin/sh > Compatibility Kit) How can we be sure any /bin/sh interpreter is actually > compatible with /bin/sh ?? > > - David Herron > > > > I hear the license terms mean people can't really talk about the SHCK... -- Andrew :-) Support Free Java

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew John Hughes
2008/6/3 Kelly O'Hair <[EMAIL PROTECTED]>: > As far as I know, only Ubuntu (and only 8.04?) depends on bash. > No other OS seems to have a problem using plain old antique sh. > > --- > > Ideally, these sh scripts used in the build process should be changed > to be something else, maybe small Java a

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Kelly O'Hair
As far as I know, only Ubuntu (and only 8.04?) depends on bash. No other OS seems to have a problem using plain old antique sh. --- Ideally, these sh scripts used in the build process should be changed to be something else, maybe small Java apps. Someday. -kto Andrew Haley wrote: Martin Buchh

Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread David Herron
Andrew Haley wrote: Martin Buchholz wrote: On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: But if one of our scripts actually needs bash (not just sh) why not use #!/bin/bash ? sh is a horrible programming language whose primary virtue is portability -- e

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
Martin Buchholz wrote: > On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: >> But if one of our scripts actually needs bash (not just sh) why not use >> #!/bin/bash ? > sh is a horrible programming language whose primary virtue is > portability -- every Unix system since the

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Martin Buchholz
sh is a horrible programming language whose primary virtue is portability -- every Unix system since the dark ages has it. Much of that is lost when replacing #!/bin/sh with #!/bin/bash. Might as well upgrade to a "real" programming language. Martin On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
David Herron wrote: > Sam K. Raju wrote: >> Hi All, >> >> I had download the OpenJDK source code yesterday and tried to build >> it but I got compiler error. >> >> Somebody please help me to resolve this error. Please find error >> message in the attachment. >> >> Thanks, >> SAM >>

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-02 Thread David Herron
Tim Bell wrote: Hello Sam: Somebody please help me to resolve this error. Please find error message in the attachment. [... snip! ...] /home/samkraju/OpenJDK/jdk7/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:142: cannot find symbol symbol : class $replType$ location: c

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-02 Thread Kelly O'Hair
This looks like that sh vs. bash issue. See http://mail.openjdk.java.net/pipermail/nio-dev/2008-May/26.html -kto Sam K. Raju wrote: Hi All, I had download the OpenJDK source code yesterday and tried to build it but I got compiler error. Somebody please help me to resolve this e

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-02 Thread David Herron
Sam K. Raju wrote: Hi All, I had download the OpenJDK source code yesterday and tried to build it but I got compiler error. Somebody please help me to resolve this error. Please find error message in the attachment. Thanks, SAM That's a known issue. On Ubuntu 8.04 they use

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-02 Thread Tim Bell
Hello Sam: Somebody please help me to resolve this error. Please find error message in the attachment. [... snip! ...] /home/samkraju/OpenJDK/jdk7/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:142: cannot find symbol symbol : class $replType$ location: class java.nio.cha