incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vicente J. Ruiz Jurado" <v...@ourproject.org>
Subject Re: Compile error (very complex and stinky)
Date Wed, 27 Mar 2013 18:21:24 GMT
El mié 27 mar 2013 19:09:48 CET, Ben Hegarty escribió:
> I had to replace the junit location in the get_third_party.sh script with
> one from source forge as the one there seems to be broken, I take it that u
> ran this script before compiling anything?
> Regards
>
> On Wednesday, March 27, 2013, Jack Johnson wrote:
>
>> I cannot get Wave in a Box to compile on Debian 7. I checked out the trunk
>> as of yesterday, so here goes nada.
>> silly@lemon:~/wave/trunk$ ant compile-gwt
>> Buildfile: /home/jack/bin/wave/trunk/**build.xml
>>
>> init-logging:
>>      [echo] Logging to /home/jack/bin/wave/trunk/**
>> build/logs/build_2013-03-27_**09-14-59.log
>>
>> init:
>>
>> compile-proto-dep:
>>
>> compile-proto:
>>
>> gen-gxp-dep:
>>
>> gen-gxp:
>>
>> compile-gxp-dep:
>>
>> compile-gxp:
>>
>> dist-pst-dep:
>>
>> dist-pst:
>>
>> gen-messages-dep:
>>
>> gen-messages:
>>
>> compile-messages-dep:
>>
>> compile-messages:
>>
>> compile-dep:
>>
>> compile:
>>
>> compile:
>>      [echo] Compiling gwt-util
>>
>> compile:
>>      [echo] Compiling wave-api-0.3
>>
>> compile:
>>      [echo] Compiling box
>>     [javac] Compiling 14 source files to /home/jack/bin/wave/trunk/**
>> build/src
>>
>> compile:
>>      [echo] Compiling extensions
>>
>> compile:
>>      [echo] Compiling client
>>     [javac] Compiling 130 source files to /home/jack/bin/wave/trunk/**
>> build/src
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:27: error: package junit.framework
>> does not exist
>>     [javac] import junit.framework.TestCase;
>>     [javac]                       ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:73: error: cannot find symbol
>>     [javac]     TestCase.assertTrue(finished && expectedOps.isEmpty());
>>     [javac]     ^
>>     [javac]   symbol:   variable TestCase
>>     [javac]   location: class MockTypingSink
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:82: error: cannot find symbol
>>     [javac]       TestCase.assertEquals(delOp.**start, start);
>>     [javac]       ^
>>     [javac]   symbol:   variable TestCase
>>     [javac]   location: class MockTypingSink
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:83: error: cannot find symbol
>>     [javac]       TestCase.assertEquals(delOp.**deleteSize, length);
>>     [javac]       ^
>>     [javac]   symbol:   variable TestCase
>>     [javac]   location: class MockTypingSink
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:88: error: cannot find symbol
>>     [javac]       TestCase.assertEquals(insOp.**start, start);
>>     [javac]       ^
>>     [javac]   symbol:   variable TestCase
>>     [javac]   location: class MockTypingSink
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *editor/testing/MockTypingSink.**java:89: error: cannot find symbol
>>     [javac]       TestCase.assertEquals(insOp.**text, text);
>>     [javac]       ^
>>     [javac]   symbol:   variable TestCase
>>     [javac]   location: class MockTypingSink
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**98: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]         ? (last = child.set(self(), null, null)) // \u2620
>>     [javac]                        ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**99: error: prev has private access in
>> AbstractTreeNode
>>     [javac]         : (first.prev = child.set(self(), null, first)));
>>     [javac]                 ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**99: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]         : (first.prev = child.set(self(), null, first)));
>>     [javac]                              ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**109: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]         ? (first = child.set(self(), null, null)) // \u2620
>>     [javac]                         ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**110: error: next has private access in
>> AbstractTreeNode
>>     [javac]         : (last.next = child.set(self(), last, null)));
>>     [javac]                ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**110: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]         : (last.next = child.set(self(), last, null)));
>>     [javac]                             ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**120: error: parent has private access in
>> AbstractTreeNode
>>     [javac]     Preconditions.checkArgument(**ref == null || ref.parent
>> == this);
>>     [javac]                                                   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**123: error: prev has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.prev.next = (ref.prev = child.set(self(),
>> ref.prev, ref)));
>>     [javac]                   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**123: error: next has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.prev.next = (ref.prev = child.set(self(),
>> ref.prev, ref)));
>>     [javac]                        ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**123: error: prev has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.prev.next = (ref.prev = child.set(self(),
>> ref.prev, ref)));
>>     [javac]                                    ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**123: error: prev has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.prev.next = (ref.prev = child.set(self(),
>> ref.prev, ref)));
>>     [javac]
>>   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**123: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]             : (ref.prev.next = (ref.prev = child.set(self(),
>> ref.prev, ref)));
>>     [javac]                                                 ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**133: error: parent has private access in
>> AbstractTreeNode
>>     [javac]     Preconditions.checkArgument(**ref == null || ref.parent
>> == this);
>>     [javac]                                                   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**136: error: next has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.next.prev = (ref.next = child.set(self(),
>> ref, ref.next))));
>>     [javac]                   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**136: error: prev has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.next.prev = (ref.next = child.set(self(),
>> ref, ref.next))));
>>     [javac]                        ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**136: error: next has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.next.prev = (ref.next = child.set(self(),
>> ref, ref.next))));
>>     [javac]                                    ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**136: error: next has private access in
>> AbstractTreeNode
>>     [javac]             : (ref.next.prev = (ref.next = child.set(self(),
>> ref, ref.next))));
>>     [javac]
>>        ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**136: error: set(T,T,T) has private access
>> in AbstractTreeNode
>>     [javac]             : (ref.next.prev = (ref.next = child.set(self(),
>> ref, ref.next))));
>>     [javac]                                                 ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**144: error: removeChild(T) has private
>> access in AbstractTreeNode
>>     [javac]       parent.removeChild(self());
>>     [javac]             ^
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends AbstractTreeNode<T> declared in class
>> AbstractTreeNode
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**156: error: next has private access in
>> AbstractTreeNode
>>     [javac]       first = child.next;
>>     [javac]                    ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**158: error: prev has private access in
>> AbstractTreeNode
>>     [javac]       child.prev.next = child.next;
>>     [javac]            ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**158: error: next has private access in
>> AbstractTreeNode
>>     [javac]       child.prev.next = child.next;
>>     [javac]                 ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**158: error: next has private access in
>> AbstractTreeNode
>>     [javac]       child.prev.next = child.next;
>>     [javac]                              ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**162: error: prev has private access in
>> AbstractTreeNode
>>     [javac]       last = child.prev;
>>     [javac]                   ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**164: error: next has private access in
>> AbstractTreeNode
>>     [javac]       child.next.prev = child.prev;
>>     [javac]            ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**164: error: prev has private access in
>> AbstractTreeNode
>>     [javac]       child.next.prev = child.prev;
>>     [javac]                 ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *paging/AbstractTreeNode.java:**164: error: prev has private access in
>> AbstractTreeNode
>>     [javac]       child.next.prev = child.prev;
>>     [javac]                              ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *render/**CompositeRendererHelper.java:**39: warning: [unchecked]
>> Possible heap pollution from parameterized vararg type
>> ResultProducingRenderHelper<? extends UiBuilder>
>>     [javac]   public CompositeRendererHelper(**ResultProducingRenderHelper<?
>> extends UiBuilder> ... helpers){
>>     [javac]
>>                         ^
>>     [javac] /home/jack/bin/wave/trunk/src/**org/waveprotocol/wave/client/*
>> *widget/button/ButtonBuilder.**java:41: warning: [rawtypes] found raw
>> type: Base
>>     [javac]   public abstract static class Base<T extends Base> {
>>     [javac]                                               ^
>>     [javac]   missing type arguments for generic class Base<T>
>>     [javac]   where T is a type-variable:
>>     [javac]     T extends Base declared in class Base
>>     [javac] Note: /home/jack/bin/wave/trunk/src/**
>> org/waveprotocol/wave/client/**widget/popup/**MobileUniversalPopup.java
>> uses or overrides a deprecated API.
>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>>     [javac] 33 errors
>>     [javac] 2 warnings
>>
>> BUILD FAILED
>> /home/jack/bin/wave/trunk/**build.xml:239: The following error occurred
>> while executing this line:
>> /home/jack/bin/wave/trunk/**build-common.xml:28: The following error
>> occurred while executing this line:
>> /home/jack/bin/wave/trunk/**build-macros.xml:68: Compile failed; see the
>> compiler error output for details.
>>
>> Total time: 7 seconds
>>
>> --
>> 'We may not be Anonymous, for you can track our eMail.
>> But we are soon to be legion, for we do not want censorship.'
>>
>>
>

Review related (see snippet):
https://reviews.apache.org/r/9045/

BR,
--
Vicente J. Ruiz Jurado

http://comunes.org
http://ourproject.org
http://homes.ourproject.org/~vjrj/blog (@vjrj)

 "Work like you don't need the money. Love like you've never been hurt.
 Dance like nobody's watching." [Satchel Paige]







Mime
View raw message