Ruby Forum JRuby > SVN head compilation problem

Posted by Antti Karanta (Guest)
on 07.05.2008 19:11
(Received via mailing list)
Hi!

   I'm having trouble compiling on svn head:


antti@tylypahka:~/work/jruby$ ant clean jar-complete
Buildfile: build.xml

init:

clean:
    [delete] Deleting directory /home/antti/work/jruby/docs/api
    [delete] Deleting directory /home/antti/work/jruby/src_gen

init:

extract-rdocs:

prepare:
     [mkdir] Created dir: /home/antti/work/jruby/build
     [mkdir] Created dir: /home/antti/work/jruby/build/classes
     [mkdir] Created dir: /home/antti/work/jruby/build/classes/jruby
     [mkdir] Created dir: /home/antti/work/jruby/build/classes/test
     [mkdir] Created dir: /home/antti/work/jruby/build/test-results
     [mkdir] Created dir: /home/antti/work/jruby/build/test-results/html
     [mkdir] Created dir: /home/antti/work/jruby/docs/api

compile-tasks:
      [copy] Copying 8 files to 
/home/antti/work/jruby/build/classes/jruby
      [copy] Copying 22 files to
/home/antti/work/jruby/build/classes/jruby/built
in
      [copy] Copying 1 file to 
/home/antti/work/jruby/build/classes/jruby

compile-annotation-binder:
     [mkdir] Created dir: /home/antti/work/jruby/src_gen
     [javac] Compiling 6 source files to
/home/antti/work/jruby/build/classes/jru
by

check-for-optional-java4-packages:

check-for-optional-packages:

compile-jruby:
       [apt] Compiling 653 source files to
/home/antti/work/jruby/build/classes/j
ruby
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:42: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt] import sun.misc.Signal;
       [apt]                ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:43: w
arning: sun.misc.SignalHandler is Sun proprietary API and may be removed
in a fu
ture release
       [apt] import sun.misc.SignalHandler;
       [apt]                ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:49: w
arning: sun.misc.SignalHandler is Sun proprietary API and may be removed
in a fu
ture release
       [apt]     private final static class JRubySignalHandler
implements SignalH
andler {
       [apt] 
^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:55: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]         public void handle(Signal signal) {
       [apt]                            ^
       [apt] warning: Annotation types without processors:
[java.lang.Override, j
ava.lang.SuppressWarnings, java.lang.Deprecated,
org.jruby.anno.JRubyConstant, o
rg.jruby.anno.JRubyModule, java.lang.annotation.Retention,
java.lang.annotation.
Target]
       [apt] 5 warnings
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:42: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt] import sun.misc.Signal;
       [apt]                ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:43: w
arning: sun.misc.SignalHandler is Sun proprietary API and may be removed
in a fu
ture release
       [apt] import sun.misc.SignalHandler;
       [apt]                ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:49: w
arning: sun.misc.SignalHandler is Sun proprietary API and may be removed
in a fu
ture release
       [apt]     private final static class JRubySignalHandler
implements SignalH
andler {
       [apt] 
^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:55: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]         public void handle(Signal signal) {
       [apt]                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:750:
cannot fin
d symbol
       [apt] symbol  : method asciiToUpper(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]             buf[s] = (byte)ASCIIEncoding.asciiToUpper(c);
       [apt]                                         ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:757:
cannot fin
d symbol
       [apt] symbol  : method asciiToLower(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]                 buf[s] = 
(byte)ASCIIEncoding.asciiToLower(c);
       [apt]                                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:839:
cannot fin
d symbol
       [apt] symbol  : method asciiToUpper(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]                 buf[s] = 
(byte)ASCIIEncoding.asciiToUpper(c);
       [apt]                                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:879:
cannot fin
d symbol
       [apt] symbol  : method asciiToLower(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]                 buf[s] = 
(byte)ASCIIEncoding.asciiToLower(c);
       [apt]                                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:919:
cannot fin
d symbol
       [apt] symbol  : method asciiToLower(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]                 buf[s] = 
(byte)ASCIIEncoding.asciiToLower(c);
       [apt]                                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:922:
cannot fin
d symbol
       [apt] symbol  : method asciiToUpper(int)
       [apt] location: class org.joni.encoding.specific.ASCIIEncoding
       [apt]                 buf[s] = 
(byte)ASCIIEncoding.asciiToUpper(c);
       [apt]                                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1175:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]         if (matcher.search(value.begin, range, Option.NONE)
 >= 0) {
       [apt]                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1182:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                     repl = objAsString(context,
block.yield(context,
  substr(matcher.getBegin(), matcher.getEnd() - matcher.getBegin())));
       [apt]

                ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1182:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                     repl = objAsString(context,
block.yield(context,
  substr(matcher.getBegin(), matcher.getEnd() - matcher.getBegin())));
       [apt]

                                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1182:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                     repl = objAsString(context,
block.yield(context,
  substr(matcher.getBegin(), matcher.getEnd() - matcher.getBegin())));
       [apt]

                                                       ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1184:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]                     Region region = matcher.getRegion();
       [apt]                                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1198:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                 beg = matcher.getBegin();
       [apt]                              ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1199:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                 plen = matcher.getEnd() - beg;
       [apt]                               ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1201:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]                 Region region = matcher.getRegion();
       [apt]                                        ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1320:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]         int beg = matcher.search(begin, range, 
Option.NONE);
       [apt]                          ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1349:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                     begz = matcher.getBegin();
       [apt]                                   ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1350:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                     endz = matcher.getEnd();
       [apt]                                   ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1353:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]                     Region region = matcher.getRegion();
       [apt]                                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1365:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                     begz = matcher.getBegin();
       [apt]                                   ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1366:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                     endz = matcher.getEnd();
       [apt]                                   ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1368:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]                     Region region = matcher.getRegion();
       [apt]                                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1399:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                 len =
regex.getEncoding().length(value.bytes[begin +
  endz]);
       [apt]                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:1408:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]             beg = matcher.search(cp, range, Option.NONE);
       [apt]                          ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2152:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]             while ((end = matcher.search(start, range,
Option.NONE))
  >= 0) {
       [apt]                                  ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2153:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]                 if (start == end + begin &&
matcher.getBegin() == ma
tcher.getEnd()) {
       [apt]                                                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2153:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                 if (start == end + begin &&
matcher.getBegin() == ma
tcher.getEnd()) {
       [apt]

      ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2158:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                         result.append(substr(beg,
regex.getEncoding(
).length(value.bytes[begin + beg])));
       [apt]                                                        ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2164:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                             start +=
regex.getEncoding().length(valu
e.bytes[start]);
       [apt]                                           ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2164:
inconvert
ible types
       [apt] found   : <nulltype>
       [apt] required: int
       [apt]                             start +=
regex.getEncoding().length(valu
e.bytes[start]);
       [apt]
     ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2171:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                     beg = matcher.getEnd();
       [apt]                                  ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2172:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]                     start = begin + matcher.getEnd();
       [apt]                                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2172:
operator
+ cannot be applied to int,org.joni.Matcher.getEnd
       [apt]                     start = begin + matcher.getEnd();
       [apt]                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2172:
incompati
ble types
       [apt] found   : <nulltype>
       [apt] required: int
       [apt]                     start = begin + matcher.getEnd();
       [apt]                                   ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2178:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]             while ((end = matcher.search(start, range,
Option.NONE))
  >= 0) {
       [apt]                                  ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2179:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]                 final Region region = matcher.getRegion();
       [apt]                                              ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2185:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                         result.append(substr(beg,
regex.getEncoding(
).length(value.bytes[begin + beg])));
       [apt]                                                        ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2191:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                             start +=
regex.getEncoding().length(valu
e.bytes[start]);
       [apt]                                           ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2191:
inconvert
ible types
       [apt] found   : <nulltype>
       [apt] required: int
       [apt]                             start +=
regex.getEncoding().length(valu
e.bytes[start]);
       [apt]
     ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2352:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]         if (matcher.search(matcher.value + value.begin,
range, Optio
n.NONE) >= 0) {
       [apt]                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2353:
cannot fi
nd symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]             int end = matcher.getEnd();
       [apt]                              ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2354:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]             if (matcher.getBegin() == end) {
       [apt]                        ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2356:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt] 
^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2356:
operator
+ cannot be applied to int,org.joni.Regex.getEncoding.length
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt]                                     ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2356:
incompati
ble types
       [apt] found   : <nulltype>
       [apt] required: int
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt]                                         ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2363:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]             return substr(matcher.getBegin(), end -
matcher.getBegin
()).infectBy(regex);
       [apt]                                  ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2363:
cannot fi
nd symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]             return substr(matcher.getBegin(), end -
matcher.getBegin
()).infectBy(regex);
       [apt] 
^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2370:
search(in
t,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int
)
       [apt]         if (matcher.search(matcher.value + value.begin,
range, Optio
n.NONE) >= 0) {
       [apt]                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2371:
cannot fi
nd symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]             Region region = matcher.getRegion();
       [apt]                                    ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2375:
cannot fi
nd symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt] 
^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2375:
operator
+ cannot be applied to int,org.joni.Regex.getEncoding.length
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt]                                     ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyString.java:2375:
incompati
ble types
       [apt] found   : <nulltype>
       [apt] required: int
       [apt]                     matcher.value = end +
regex.getPattern().getEnco
ding().length(value.bytes[value.begin + end]);
       [apt]                                         ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:277:
cannot fin
d symbol
       [apt] symbol  : method getEncoding()
       [apt] location: class org.joni.Regex
       [apt]             pat.getEncoding() == kcode.getEncoding() &&
       [apt]                ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:279:
cannot fin
d symbol
       [apt] symbol  : method getUserOptions()
       [apt] location: class org.joni.Regex
       [apt]             ((pat.getUserOptions() & REGEX_QUOTED) != 0) ==
quote) {
  // cache hit
       [apt]                  ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:284:
cannot fin
d symbol
       [apt] symbol  : method setUserOptions(int)
       [apt] location: class org.joni.Regex
       [apt]             if (quote) 
pattern.setUserOptions(REGEX_QUOTED);
       [apt]                               ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:530:
search(int
,int,org.joni.Region,int) in org.joni.Matcher cannot be applied to
(int,int,int)
       [apt]         int result = matcher.search(value.begin + pos,
       [apt]                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:558:
cannot fin
d symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]         match.regs = matcher.getRegion(); // lazy, null
when no grou
ps defined
       [apt]                             ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:559:
cannot fin
d symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]         match.begin = matcher.getBegin();
       [apt]                              ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:560:
cannot fin
d symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]         match.end = matcher.getEnd();
       [apt]                            ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:607:
cannot fin
d symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]         Region regs = matcher.getRegion();
       [apt]                              ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:608:
cannot fin
d symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]         int mbeg = matcher.getBegin();
       [apt]                           ^
       [apt] /home/antti/work/jruby/src/org/jruby/RubyRegexp.java:609:
cannot fin
d symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]         int mend = matcher.getEnd();
       [apt]                           ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:86: clon
e() has protected access in java.lang.Object
       [apt]         regs = otherScanner.regs != null ?
otherScanner.regs.clone()
  : null;
       [apt] 
^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:86: inco
mpatible types
       [apt] found   : java.lang.Object
       [apt] required: org.joni.Region
       [apt]         regs = otherScanner.regs != null ?
otherScanner.regs.clone()
  : null;
       [apt]                                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:182: can
not find symbol
       [apt] symbol  : method match(int,int,int)
       [apt] location: class org.joni.Matcher
       [apt]             ret = matcher.match(value.begin + pos,
value.begin + val
ue.realSize, Option.NONE);
       [apt]                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:184: sea
rch(int,int,org.joni.Region,int) in org.joni.Matcher cannot be applied
to (int,i
nt,int)
       [apt]             ret = matcher.search(value.begin + pos,
value.begin + va
lue.realSize, Option.NONE);
       [apt]                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:187: can
not find symbol
       [apt] symbol  : method getRegion()
       [apt] location: class org.joni.Matcher
       [apt]         regs = matcher.getRegion();
       [apt]                       ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:189: can
not find symbol
       [apt] symbol  : method getBegin()
       [apt] location: class org.joni.Matcher
       [apt]             beg = matcher.getBegin();
       [apt]                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/RubyStringScanner.java:190: can
not find symbol
       [apt] symbol  : method getEnd()
       [apt] location: class org.joni.Matcher
       [apt]             end = matcher.getEnd();
       [apt]                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:64: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]                 Signal.handle(new Signal(this.signal), 
this);
       [apt]                                   ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:64: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]                 Signal.handle(new Signal(this.signal), 
this);
       [apt]                 ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:75: w
arning: sun.misc.SignalHandler is Sun proprietary API and may be removed
in a fu
ture release
       [apt]         final SignalHandler oldHandler;
       [apt]               ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:77: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]             oldHandler = Signal.handle(new
Signal(handler.signal), h
andler);
       [apt]                                            ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:77: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]             oldHandler = Signal.handle(new
Signal(handler.signal), h
andler);
       [apt]                          ^
       [apt]
/home/antti/work/jruby/src/org/jruby/util/SunSignalFacade.java:87: w
arning: sun.misc.Signal is Sun proprietary API and may be removed in a
future re
lease
       [apt]

                         oldHandler.handle(new Signal(handler.signal));
       [apt]

                                               ^
       [apt] Note: Some input files use unchecked or unsafe operations.
       [apt] Note: Recompile with -Xlint:unchecked for details.
       [apt] 68 errors
       [apt] 10 warnings

BUILD FAILED
/home/antti/work/jruby/build.xml:146: Compile failed; see the compiler
error out
put for details.

Total time: 1 minute 16 seconds
antti@tylypahka:~/work/jruby$ which java
/opt/java/jdk1.6.0_03/bin/java
antti@tylypahka:~/work/jruby$ uname -a
Linux tylypahka 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
i686 GNU/Linux

   The java version is shown above, OS is Ubuntu linux 7.10


   Any ideas?



          -::Antti::-









---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Vladimir Sizikov (Guest)
on 07.05.2008 19:22
(Received via mailing list)
Hi,

On Wed, May 7, 2008 at 7:04 PM, Antti Karanta
<antti.karanta@hornankuusi.fi> wrote:

>                       Hi!
>
>   I'm having trouble compiling on svn head:

Weird. Works for me here on Ubuntu as well.

Looks like your problem is related to joni.jar somehow.

Do you have build_lib/joni.jar ?

Thanks,
  --Vladimir

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Antti Karanta (Guest)
on 08.05.2008 20:31
(Received via mailing list)
Vladimir Sizikov wrote:

> On Wed, May 7, 2008 at 7:04 PM, Antti Karanta wrote:
> 
>>   I'm having trouble compiling on svn head:
> 
> Weird. Works for me here on Ubuntu as well.

   What java version are you using? I might try if that makes a 
difference.


> Looks like your problem is related to joni.jar somehow.
> 
> Do you have build_lib/joni.jar ?

   Yes I do. It's right there:

antti@tylypahka:~/work/jruby$ ls -l build_lib/joni.jar
-rw-r--r-- 1 antti antti 366475 2008-05-08 21:29 build_lib/joni.jar

   I even removed it and got a new version from svn in case it was
corrupted or something. Didn't help.




     -::A::-




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email