[Swift-devel] Errors compiling 0.92 with Java 1.5

Michael Wilde wilde at mcs.anl.gov
Wed Jan 12 20:24:30 CST 2011


Thanks, David.

Heres a process question for the group: 

- should we fix this in 0.92?
  - by saying 1.6 or above is required (with a poiter to the patch for 1.5 users?)
  - by applying the patch to 0.92?

- if so, how should we mark 0.92 showstoppers in bugzilla?

- lets agree on a test-fix-test-release approach for sealing and releasing 0.92

Ie, identify the showstoppers, fix 'em, test, add showstoppers only as necessary, and repeat till no more showstoppers.

- Mike


----- Original Message -----
> Yep, it's #239. I saw it first on sisboombah.
> https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=239
> 
> On Wed, Jan 12, 2011 at 8:58 PM, David Kelly <dk0966 at cs.ship.edu>
> wrote:
> > I ran into a similar issue. Here is the patch I wrote for it (there
> > should also be a bug report)
> >
> > On Wed, Jan 12, 2011 at 8:53 PM, Michael Wilde <wilde at mcs.anl.gov>
> > wrote:
> >> I get the errors below when I build 0.92 with this Java and ant on
> >> RENCI engage-submit:
> >>
> >> --
> >> e$ which java
> >> /opt/osg/1.0.0/jdk1.5/bin/java
> >> e$ java -version
> >> java version "1.5.0_14"
> >> Java(TM) 2 Runtime Environment, Standard Edition (build
> >> 1.5.0_14-b03)
> >> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
> >> e$ which javac
> >> /opt/osg/1.0.0/jdk1.5/bin/javac
> >> e$ ant -version
> >> Apache Ant version 1.6.5 compiled on June 2 2005
> >> e$
> >> --
> >>
> >> The same svn rev seems to uild clean with 1.6 on PADS.
> >>
> >> I dont think this necessarily needs to be fixed; but at least
> >> documented if we no longer work with 1.5. (I recall we said we wont
> >> support 1.4 -- or was that 1.5?)
> >>
> >> - Mike
> >>
> >> Errors:
> >>
> >> compile:
> >>     [echo] [util]: COMPILE
> >>    [mkdir] Created dir:
> >>    /home/wilde/swift/src/0.92/cog/modules/util/build
> >>    [javac] Compiling 53 source files to
> >>    /home/wilde/swift/src/0.92/cog/modules/util/build
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:71:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:105:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:144:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:227:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:232:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:237:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:242:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:247:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:252:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac]
> >>    /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:257:
> >>    method does not override a method from its superclass
> >>    [javac] @Override
> >>    [javac] ^
> >>    [javac] Note: Some input files use or override a deprecated API.
> >>    [javac] Note: Recompile with -Xlint:deprecation for details.
> >>    [javac] Note: Some input files use unchecked or unsafe
> >>    operations.
> >>    [javac] Note: Recompile with -Xlint:unchecked for details.
> >>    [javac] 10 errors
> >>
> >> BUILD FAILED
> >> /home/wilde/swift/src/0.92/cog/modules/swift/build.xml:73: The
> >> following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/swift/dependencies.xml:4:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/karajan/build.xml:59: The
> >> following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/karajan/dependencies.xml:4:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/abstraction/build.xml:58:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/abstraction/dependencies.xml:4:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/abstraction-common/build.xml:63:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/abstraction-common/dependencies.xml:7:
> >> The following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/modules/util/build.xml:59: The
> >> following error occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:465: The following error
> >> occurred while executing this line:
> >> /home/wilde/swift/src/0.92/cog/mbuild.xml:228: Compile failed; see
> >> the compiler error output for details.
> >>
> >> Total time: 20 seconds
> >> e$ which java
> >> /opt/osg/1.0.0/jdk1.5/bin/java
> >> e$ java -version
> >> java version "1.5.0_14"
> >> Java(TM) 2 Runtime Environment, Standard Edition (build
> >> 1.5.0_14-b03)
> >> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
> >> e$ cd
> >> e$ ls
> >> bin ftdock glenslogs.tar.gz osgcat.sh osgfact out.ps out.qstat
> >> swift t1.stderr t1.sub t2.sub
> >> buildnrun.sh glasslogs.tgz mygroup osgcat.sh~ out out.ps2 pfgroup
> >> t1.log t1.stdout t1.sub~
> >> e$ which javac
> >> /opt/osg/1.0.0/jdk1.5/bin/javac
> >> e$ ant -version
> >> Apache Ant version 1.6.5 compiled on June 2 2005
> >> e$
> >>
> >>
> >> --
> >> Michael Wilde
> >> Computation Institute, University of Chicago
> >> Mathematics and Computer Science Division
> >> Argonne National Laboratory
> >>
> >> _______________________________________________
> >> Swift-devel mailing list
> >> Swift-devel at ci.uchicago.edu
> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> >>
> >

-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-devel mailing list