You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bigtop.apache.org by Andrew Musselman <an...@gmail.com> on 2015/04/13 22:46:12 UTC

Build question

I'm following the build instructions below but am stuck on the `make
realclean` step; what am I missing?

$ make realclean
make: *** No rule to make target `realclean'.  Stop.

From
https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu

Thanks!

Re: Build question

Posted by Andrew Musselman <an...@gmail.com>.
Yeah did see that target in the gradle conf.

Thanks!

On Mon, Apr 13, 2015 at 1:56 PM, Giridharan Kesavan <
gkesavan@hortonworks.com> wrote:

>   Notice there is no Makefile in the cloned bigtop code-base.
>  Bigtop moved on to using gradle.
>
> *gradle tasks — all – should help you get the list of tasks. *
>
>   From: Andrew Musselman
> Reply-To: "user@bigtop.apache.org"
> Date: Monday, April 13, 2015 at 1:46 PM
> To: "user@bigtop.apache.org"
> Subject: Build question
>
>   I'm following the build instructions below but am stuck on the `make
> realclean` step; what am I missing?
>
>  $ make realclean
> make: *** No rule to make target `realclean'.  Stop.
>
>  From
> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>
>  Thanks!
>

Re: Build question

Posted by Giridharan Kesavan <gk...@hortonworks.com>.
Notice there is no Makefile in the cloned bigtop code-base.
Bigtop moved on to using gradle.

gradle tasks — all – should help you get the list of tasks.

From: Andrew Musselman
Reply-To: "user@bigtop.apache.org<ma...@bigtop.apache.org>"
Date: Monday, April 13, 2015 at 1:46 PM
To: "user@bigtop.apache.org<ma...@bigtop.apache.org>"
Subject: Build question

I'm following the build instructions below but am stuck on the `make realclean` step; what am I missing?

$ make realclean
make: *** No rule to make target `realclean'.  Stop.

From https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu

Thanks!

Re: Build question

Posted by Andrew Musselman <an...@gmail.com>.
Yes after installing puppet; thanks!

On Wed, Apr 15, 2015 at 8:32 AM, Konstantin Boudnik <co...@apache.org> wrote:

> On Wed, Apr 15, 2015 at 08:27AM, Andrew Musselman wrote:
> >    Ubuntu 12.04 with open jdk 1.7; I didn't use gradlew, just gradle,
> could
> >    that be an issue.
>
> Did it work correct with gradlew? And what version of gradle you system
> has?
> The one from toolchain?
>
> Cos
>
> >    On Wednesday, April 15, 2015, Evans Ye <ev...@apache.org> wrote:
> >
> >      I tested this on centos6.4, fedora20, ubuntu14.04 container with
> >      openjdk7. It works well.
> >      docker run -ti --rm -v `pwd`:/bigtop bigtop/slaves:fedora-20 bash -l
> >      bash-4.2# ./gradlew realclean
> >      ...
> >      :tachyon_vardefines
> >      :tachyon-clean
> >      :tez_vardefines
> >      :tez-clean
> >      :zookeeper_vardefines
> >      :zookeeper-clean
> >      :clean
> >      :allclean
> >      :realclean
> >      BUILD SUCCESSFUL
> >      Total time: 1 mins 5.383 secs
> >      I'm wondering what's your environment?
> >      2015-04-14 23:21 GMT+08:00 Konstantin Boudnik <co...@apache.org>:
> >
> >        I believe I have seen this error once - I am vague on the
> details, but
> >        I think
> >        it was some kind of environment issue... I'll report back here if
> I
> >        can
> >        manage to recall how I fixed it.
> >
> >        Cos
> >
> >        On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
> >        >A  A  Am I missing something here?AA  I cloned from github and
> >        checked out HEAD;
> >        >A  A  is that still valid?
> >        >A  A  $ pwd
> >        >A  A  /home/akm/bigtop
> >        >A  A  $ gradle realclean
> >        >A  A  :buildSrc:clean
> >        >A  A  :buildSrc:compileJava UP-TO-DATE
> >        >A  A  :buildSrc:compileGroovy
> >        >A  A  :buildSrc:processResources UP-TO-DATE
> >        >A  A  :buildSrc:classes
> >        >A  A  :buildSrc:jar
> >        >A  A  :buildSrc:assemble
> >        >A  A  :buildSrc:compileTestJava UP-TO-DATE
> >        >A  A  :buildSrc:compileTestGroovy
> >        >A  A  [ant:groovyc]
> >        >A  A
> org.codehaus.groovy.control.MultipleCompilationErrorsException:
> >        startup
> >        >A  A  failed:
> >        >A  A  [ant:groovyc]
> >        >A  A
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
> >        >A  A  21: unable to resolve class org.junit.Test
> >        >A  A  [ant:groovyc] A @ line 21, column 1.
> >        >A  A  [ant:groovyc] AA  A import org.junit.Test
> >        >A  A  [ant:groovyc] AA  A ^
> >        >A  A  [ant:groovyc]A
> >        >A  A  [ant:groovyc]
> >        >A  A
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
> >        >A  A  20: unable to resolve class org.junit.Assert
> >        >A  A  [ant:groovyc] A @ line 20, column 1.
> >        >A  A  [ant:groovyc] AA  A import org.junit.Assert
> >        >A  A  [ant:groovyc] AA  A ^
> >        >A  A  [ant:groovyc]A
> >        >A  A  [ant:groovyc]
> >        >A  A
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
> >        >A  A  21: unable to resolve class org.junit.Test
> >        >A  A  [ant:groovyc] A @ line 21, column 1.
> >        >A  A  [ant:groovyc] AA  A import org.junit.Test
> >        >A  A  [ant:groovyc] AA  A ^
> >        >A  A  [ant:groovyc]A
> >        >A  A  [ant:groovyc]
> >        >A  A
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
> >        >A  A  20: unable to resolve class org.junit.Assert
> >        >A  A  [ant:groovyc] A @ line 20, column 1.
> >        >A  A  [ant:groovyc] AA  A import org.junit.Assert
> >        >A  A  [ant:groovyc] AA  A ^
> >        >A  A  [ant:groovyc]A
> >        >A  A  [ant:groovyc] 4 errors
> >        >A  A  [ant:groovyc]A
> >        >A  A  FAILURE: Build failed with an exception.
> >        >A  A  * What went wrong:
> >        >A  A  Execution failed for task ':compileTestGroovy'.
> >        >A  A  Cause: Forked groovyc returned error code: 1
> >        >A  A  * Try:
> >        >A  A  Run with --stacktrace option to get the stack trace. Run
> with
> >        --info or
> >        >A  A  --debug option to get more log output.
> >        >A  A  BUILD FAILED
> >        >A  A  Total time: 8.291 secs
> >        >A  A  On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
> >        >A  A  <an...@gmail.com> wrote:
> >        >
> >        >A  A  A  Thanks Jonathan
> >        >A  A  A  On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan
> >        <jo...@amazon.com>
> >        >A  A  A  wrote:
> >        >
> >        >A  A  A  A  The top of that page you linked says that it is
> >        deprecated, and it
> >        >A  A  A  A  links to another page that unfortunately looks a
> little
> >        thin on
> >        >A  A  A  A  details. What you want though is "gradle realclean"
> >        instead of "make
> >        >A  A  A  A  realclean".
> >        >
> >        >A  A  A  A  ~ Jonathan Kelly
> >        >
> >        >A  A  A  A  Sent from Nine
> >        >A  A  A  A  From: Andrew Musselman <an...@gmail.com>
> >        >A  A  A  A  Sent: Apr 13, 2015 3:47 PM
> >        >A  A  A  A  To: user@bigtop.apache.org
> >        >A  A  A  A  Subject: Build question
> >        >A  A  A  A  I'm following the build instructions below but am
> stuck
> >        on the `make
> >        >A  A  A  A  realclean` step; what am I missing?
> >        >A  A  A  A  $ make realclean
> >        >A  A  A  A  make: *** No rule to make target `realclean'.AA
> Stop.
> >        >A  A  A  A  FromA
> >
> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
> >        >A  A  A  A  Thanks!
>

Re: Build question

Posted by Konstantin Boudnik <co...@apache.org>.
On Wed, Apr 15, 2015 at 08:27AM, Andrew Musselman wrote:
>    Ubuntu 12.04 with open jdk 1.7; I didn't use gradlew, just gradle, could
>    that be an issue.

Did it work correct with gradlew? And what version of gradle you system has?
The one from toolchain?

Cos

>    On Wednesday, April 15, 2015, Evans Ye <ev...@apache.org> wrote:
> 
>      I tested this on centos6.4, fedora20, ubuntu14.04 container with
>      openjdk7. It works well.
>      docker run -ti --rm -v `pwd`:/bigtop bigtop/slaves:fedora-20 bash -l
>      bash-4.2# ./gradlew realclean
>      ...
>      :tachyon_vardefines
>      :tachyon-clean
>      :tez_vardefines
>      :tez-clean
>      :zookeeper_vardefines
>      :zookeeper-clean
>      :clean
>      :allclean
>      :realclean
>      BUILD SUCCESSFUL
>      Total time: 1 mins 5.383 secs
>      I'm wondering what's your environment?
>      2015-04-14 23:21 GMT+08:00 Konstantin Boudnik <co...@apache.org>:
> 
>        I believe I have seen this error once - I am vague on the details, but
>        I think
>        it was some kind of environment issue... I'll report back here if I
>        can
>        manage to recall how I fixed it.
> 
>        Cos
> 
>        On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
>        >A  A  Am I missing something here?AA  I cloned from github and
>        checked out HEAD;
>        >A  A  is that still valid?
>        >A  A  $ pwd
>        >A  A  /home/akm/bigtop
>        >A  A  $ gradle realclean
>        >A  A  :buildSrc:clean
>        >A  A  :buildSrc:compileJava UP-TO-DATE
>        >A  A  :buildSrc:compileGroovy
>        >A  A  :buildSrc:processResources UP-TO-DATE
>        >A  A  :buildSrc:classes
>        >A  A  :buildSrc:jar
>        >A  A  :buildSrc:assemble
>        >A  A  :buildSrc:compileTestJava UP-TO-DATE
>        >A  A  :buildSrc:compileTestGroovy
>        >A  A  [ant:groovyc]
>        >A  A  org.codehaus.groovy.control.MultipleCompilationErrorsException:
>        startup
>        >A  A  failed:
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>        >A  A  21: unable to resolve class org.junit.Test
>        >A  A  [ant:groovyc] A @ line 21, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Test
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>        >A  A  20: unable to resolve class org.junit.Assert
>        >A  A  [ant:groovyc] A @ line 20, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Assert
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>        >A  A  21: unable to resolve class org.junit.Test
>        >A  A  [ant:groovyc] A @ line 21, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Test
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>        >A  A  20: unable to resolve class org.junit.Assert
>        >A  A  [ant:groovyc] A @ line 20, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Assert
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc] 4 errors
>        >A  A  [ant:groovyc]A
>        >A  A  FAILURE: Build failed with an exception.
>        >A  A  * What went wrong:
>        >A  A  Execution failed for task ':compileTestGroovy'.
>        >A  A  Cause: Forked groovyc returned error code: 1
>        >A  A  * Try:
>        >A  A  Run with --stacktrace option to get the stack trace. Run with
>        --info or
>        >A  A  --debug option to get more log output.
>        >A  A  BUILD FAILED
>        >A  A  Total time: 8.291 secs
>        >A  A  On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
>        >A  A  <an...@gmail.com> wrote:
>        >
>        >A  A  A  Thanks Jonathan
>        >A  A  A  On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan
>        <jo...@amazon.com>
>        >A  A  A  wrote:
>        >
>        >A  A  A  A  The top of that page you linked says that it is
>        deprecated, and it
>        >A  A  A  A  links to another page that unfortunately looks a little
>        thin on
>        >A  A  A  A  details. What you want though is "gradle realclean"
>        instead of "make
>        >A  A  A  A  realclean".
>        >
>        >A  A  A  A  ~ Jonathan Kelly
>        >
>        >A  A  A  A  Sent from Nine
>        >A  A  A  A  From: Andrew Musselman <an...@gmail.com>
>        >A  A  A  A  Sent: Apr 13, 2015 3:47 PM
>        >A  A  A  A  To: user@bigtop.apache.org
>        >A  A  A  A  Subject: Build question
>        >A  A  A  A  I'm following the build instructions below but am stuck
>        on the `make
>        >A  A  A  A  realclean` step; what am I missing?
>        >A  A  A  A  $ make realclean
>        >A  A  A  A  make: *** No rule to make target `realclean'.AA  Stop.
>        >A  A  A  A  FromA
>        https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>        >A  A  A  A  Thanks!

Re: Build question

Posted by Andrew Musselman <an...@gmail.com>.
Ubuntu 12.04 with open jdk 1.7; I didn't use gradlew, just gradle, could
that be an issue.

On Wednesday, April 15, 2015, Evans Ye <ev...@apache.org> wrote:

> I tested this on centos6.4, fedora20, ubuntu14.04 container with openjdk7.
> It works well.
>
>
> docker run -ti --rm -v `pwd`:/bigtop bigtop/slaves:fedora-20 bash -l
> bash-4.2# ./gradlew realclean
> ...
> :tachyon_vardefines
> :tachyon-clean
> :tez_vardefines
> :tez-clean
> :zookeeper_vardefines
> :zookeeper-clean
> :clean
> :allclean
> :realclean
>
> BUILD SUCCESSFUL
>
> Total time: 1 mins 5.383 secs
>
>
> I'm wondering what's your environment?
>
>
> 2015-04-14 23:21 GMT+08:00 Konstantin Boudnik <cos@apache.org
> <javascript:_e(%7B%7D,'cvml','cos@apache.org');>>:
>
>> I believe I have seen this error once - I am vague on the details, but I
>> think
>> it was some kind of environment issue... I'll report back here if I can
>> manage to recall how I fixed it.
>>
>> Cos
>>
>> On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
>> >    Am I missing something here?A  I cloned from github and checked out
>> HEAD;
>> >    is that still valid?
>> >    $ pwd
>> >    /home/akm/bigtop
>> >    $ gradle realclean
>> >    :buildSrc:clean
>> >    :buildSrc:compileJava UP-TO-DATE
>> >    :buildSrc:compileGroovy
>> >    :buildSrc:processResources UP-TO-DATE
>> >    :buildSrc:classes
>> >    :buildSrc:jar
>> >    :buildSrc:assemble
>> >    :buildSrc:compileTestJava UP-TO-DATE
>> >    :buildSrc:compileTestGroovy
>> >    [ant:groovyc]
>> >    org.codehaus.groovy.control.MultipleCompilationErrorsException:
>> startup
>> >    failed:
>> >    [ant:groovyc]
>> >
>> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>> >    21: unable to resolve class org.junit.Test
>> >    [ant:groovyc] A @ line 21, column 1.
>> >    [ant:groovyc] A  A import org.junit.Test
>> >    [ant:groovyc] A  A ^
>> >    [ant:groovyc]A
>> >    [ant:groovyc]
>> >
>> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>> >    20: unable to resolve class org.junit.Assert
>> >    [ant:groovyc] A @ line 20, column 1.
>> >    [ant:groovyc] A  A import org.junit.Assert
>> >    [ant:groovyc] A  A ^
>> >    [ant:groovyc]A
>> >    [ant:groovyc]
>> >
>> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>> >    21: unable to resolve class org.junit.Test
>> >    [ant:groovyc] A @ line 21, column 1.
>> >    [ant:groovyc] A  A import org.junit.Test
>> >    [ant:groovyc] A  A ^
>> >    [ant:groovyc]A
>> >    [ant:groovyc]
>> >
>> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>> >    20: unable to resolve class org.junit.Assert
>> >    [ant:groovyc] A @ line 20, column 1.
>> >    [ant:groovyc] A  A import org.junit.Assert
>> >    [ant:groovyc] A  A ^
>> >    [ant:groovyc]A
>> >    [ant:groovyc] 4 errors
>> >    [ant:groovyc]A
>> >    FAILURE: Build failed with an exception.
>> >    * What went wrong:
>> >    Execution failed for task ':compileTestGroovy'.
>> >    Cause: Forked groovyc returned error code: 1
>> >    * Try:
>> >    Run with --stacktrace option to get the stack trace. Run with --info
>> or
>> >    --debug option to get more log output.
>> >    BUILD FAILED
>> >    Total time: 8.291 secs
>> >    On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
>> >    <andrew.musselman@gmail.com
>> <javascript:_e(%7B%7D,'cvml','andrew.musselman@gmail.com');>> wrote:
>> >
>> >      Thanks Jonathan
>> >      On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan <
>> jonathak@amazon.com <javascript:_e(%7B%7D,'cvml','jonathak@amazon.com');>
>> >
>> >      wrote:
>> >
>> >        The top of that page you linked says that it is deprecated, and
>> it
>> >        links to another page that unfortunately looks a little thin on
>> >        details. What you want though is "gradle realclean" instead of
>> "make
>> >        realclean".
>> >
>> >        ~ Jonathan Kelly
>> >
>> >        Sent from Nine
>> >        From: Andrew Musselman <andrew.musselman@gmail.com
>> <javascript:_e(%7B%7D,'cvml','andrew.musselman@gmail.com');>>
>> >        Sent: Apr 13, 2015 3:47 PM
>> >        To: user@bigtop.apache.org
>> <javascript:_e(%7B%7D,'cvml','user@bigtop.apache.org');>
>> >        Subject: Build question
>> >        I'm following the build instructions below but am stuck on the
>> `make
>> >        realclean` step; what am I missing?
>> >        $ make realclean
>> >        make: *** No rule to make target `realclean'.A  Stop.
>> >        FromA
>> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>> >        Thanks!
>>
>
>

Re: Build question

Posted by Evans Ye <ev...@apache.org>.
I tested this on centos6.4, fedora20, ubuntu14.04 container with openjdk7.
It works well.


docker run -ti --rm -v `pwd`:/bigtop bigtop/slaves:fedora-20 bash -l
bash-4.2# ./gradlew realclean
...
:tachyon_vardefines
:tachyon-clean
:tez_vardefines
:tez-clean
:zookeeper_vardefines
:zookeeper-clean
:clean
:allclean
:realclean

BUILD SUCCESSFUL

Total time: 1 mins 5.383 secs


I'm wondering what's your environment?


2015-04-14 23:21 GMT+08:00 Konstantin Boudnik <co...@apache.org>:

> I believe I have seen this error once - I am vague on the details, but I
> think
> it was some kind of environment issue... I'll report back here if I can
> manage to recall how I fixed it.
>
> Cos
>
> On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
> >    Am I missing something here?A  I cloned from github and checked out
> HEAD;
> >    is that still valid?
> >    $ pwd
> >    /home/akm/bigtop
> >    $ gradle realclean
> >    :buildSrc:clean
> >    :buildSrc:compileJava UP-TO-DATE
> >    :buildSrc:compileGroovy
> >    :buildSrc:processResources UP-TO-DATE
> >    :buildSrc:classes
> >    :buildSrc:jar
> >    :buildSrc:assemble
> >    :buildSrc:compileTestJava UP-TO-DATE
> >    :buildSrc:compileTestGroovy
> >    [ant:groovyc]
> >    org.codehaus.groovy.control.MultipleCompilationErrorsException:
> startup
> >    failed:
> >    [ant:groovyc]
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
> >    21: unable to resolve class org.junit.Test
> >    [ant:groovyc] A @ line 21, column 1.
> >    [ant:groovyc] A  A import org.junit.Test
> >    [ant:groovyc] A  A ^
> >    [ant:groovyc]A
> >    [ant:groovyc]
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
> >    20: unable to resolve class org.junit.Assert
> >    [ant:groovyc] A @ line 20, column 1.
> >    [ant:groovyc] A  A import org.junit.Assert
> >    [ant:groovyc] A  A ^
> >    [ant:groovyc]A
> >    [ant:groovyc]
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
> >    21: unable to resolve class org.junit.Test
> >    [ant:groovyc] A @ line 21, column 1.
> >    [ant:groovyc] A  A import org.junit.Test
> >    [ant:groovyc] A  A ^
> >    [ant:groovyc]A
> >    [ant:groovyc]
> >
> /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
> >    20: unable to resolve class org.junit.Assert
> >    [ant:groovyc] A @ line 20, column 1.
> >    [ant:groovyc] A  A import org.junit.Assert
> >    [ant:groovyc] A  A ^
> >    [ant:groovyc]A
> >    [ant:groovyc] 4 errors
> >    [ant:groovyc]A
> >    FAILURE: Build failed with an exception.
> >    * What went wrong:
> >    Execution failed for task ':compileTestGroovy'.
> >    Cause: Forked groovyc returned error code: 1
> >    * Try:
> >    Run with --stacktrace option to get the stack trace. Run with --info
> or
> >    --debug option to get more log output.
> >    BUILD FAILED
> >    Total time: 8.291 secs
> >    On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
> >    <an...@gmail.com> wrote:
> >
> >      Thanks Jonathan
> >      On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan <
> jonathak@amazon.com>
> >      wrote:
> >
> >        The top of that page you linked says that it is deprecated, and it
> >        links to another page that unfortunately looks a little thin on
> >        details. What you want though is "gradle realclean" instead of
> "make
> >        realclean".
> >
> >        ~ Jonathan Kelly
> >
> >        Sent from Nine
> >        From: Andrew Musselman <an...@gmail.com>
> >        Sent: Apr 13, 2015 3:47 PM
> >        To: user@bigtop.apache.org
> >        Subject: Build question
> >        I'm following the build instructions below but am stuck on the
> `make
> >        realclean` step; what am I missing?
> >        $ make realclean
> >        make: *** No rule to make target `realclean'.A  Stop.
> >        FromA
> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
> >        Thanks!
>

Re: Build question

Posted by Konstantin Boudnik <co...@apache.org>.
I believe I have seen this error once - I am vague on the details, but I think
it was some kind of environment issue... I'll report back here if I can
manage to recall how I fixed it.

Cos

On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
>    Am I missing something here?A  I cloned from github and checked out HEAD;
>    is that still valid?
>    $ pwd
>    /home/akm/bigtop
>    $ gradle realclean
>    :buildSrc:clean
>    :buildSrc:compileJava UP-TO-DATE
>    :buildSrc:compileGroovy
>    :buildSrc:processResources UP-TO-DATE
>    :buildSrc:classes
>    :buildSrc:jar
>    :buildSrc:assemble
>    :buildSrc:compileTestJava UP-TO-DATE
>    :buildSrc:compileTestGroovy
>    [ant:groovyc]
>    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
>    failed:
>    [ant:groovyc]
>    /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>    21: unable to resolve class org.junit.Test
>    [ant:groovyc] A @ line 21, column 1.
>    [ant:groovyc] A  A import org.junit.Test
>    [ant:groovyc] A  A ^
>    [ant:groovyc]A 
>    [ant:groovyc]
>    /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>    20: unable to resolve class org.junit.Assert
>    [ant:groovyc] A @ line 20, column 1.
>    [ant:groovyc] A  A import org.junit.Assert
>    [ant:groovyc] A  A ^
>    [ant:groovyc]A 
>    [ant:groovyc]
>    /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>    21: unable to resolve class org.junit.Test
>    [ant:groovyc] A @ line 21, column 1.
>    [ant:groovyc] A  A import org.junit.Test
>    [ant:groovyc] A  A ^
>    [ant:groovyc]A 
>    [ant:groovyc]
>    /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>    20: unable to resolve class org.junit.Assert
>    [ant:groovyc] A @ line 20, column 1.
>    [ant:groovyc] A  A import org.junit.Assert
>    [ant:groovyc] A  A ^
>    [ant:groovyc]A 
>    [ant:groovyc] 4 errors
>    [ant:groovyc]A 
>    FAILURE: Build failed with an exception.
>    * What went wrong:
>    Execution failed for task ':compileTestGroovy'.
>    Cause: Forked groovyc returned error code: 1
>    * Try:
>    Run with --stacktrace option to get the stack trace. Run with --info or
>    --debug option to get more log output.
>    BUILD FAILED
>    Total time: 8.291 secs
>    On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
>    <an...@gmail.com> wrote:
> 
>      Thanks Jonathan
>      On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan <jo...@amazon.com>
>      wrote:
> 
>        The top of that page you linked says that it is deprecated, and it
>        links to another page that unfortunately looks a little thin on
>        details. What you want though is "gradle realclean" instead of "make
>        realclean".
> 
>        ~ Jonathan Kelly
> 
>        Sent from Nine
>        From: Andrew Musselman <an...@gmail.com>
>        Sent: Apr 13, 2015 3:47 PM
>        To: user@bigtop.apache.org
>        Subject: Build question
>        I'm following the build instructions below but am stuck on the `make
>        realclean` step; what am I missing?
>        $ make realclean
>        make: *** No rule to make target `realclean'.A  Stop.
>        FromA https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>        Thanks!

Re: Build question

Posted by Andrew Musselman <an...@gmail.com>.
Am I missing something here?  I cloned from github and checked out HEAD; is
that still valid?

$ pwd
/home/akm/bigtop
$ gradle realclean
:buildSrc:clean
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes
:buildSrc:jar
:buildSrc:assemble
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy
[ant:groovyc]
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed:
[ant:groovyc]
/home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
21: unable to resolve class org.junit.Test
[ant:groovyc]  @ line 21, column 1.
[ant:groovyc]    import org.junit.Test
[ant:groovyc]    ^
[ant:groovyc]
[ant:groovyc]
/home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
20: unable to resolve class org.junit.Assert
[ant:groovyc]  @ line 20, column 1.
[ant:groovyc]    import org.junit.Assert
[ant:groovyc]    ^
[ant:groovyc]
[ant:groovyc]
/home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
21: unable to resolve class org.junit.Test
[ant:groovyc]  @ line 21, column 1.
[ant:groovyc]    import org.junit.Test
[ant:groovyc]    ^
[ant:groovyc]
[ant:groovyc]
/home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
20: unable to resolve class org.junit.Assert
[ant:groovyc]  @ line 20, column 1.
[ant:groovyc]    import org.junit.Assert
[ant:groovyc]    ^
[ant:groovyc]
[ant:groovyc] 4 errors
[ant:groovyc]

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestGroovy'.
Cause: Forked groovyc returned error code: 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

Total time: 8.291 secs

On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman <
andrew.musselman@gmail.com> wrote:

> Thanks Jonathan
>
> On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan <jo...@amazon.com>
> wrote:
>
>>  The top of that page you linked says that it is deprecated, and it
>> links to another page that unfortunately looks a little thin on details.
>> What you want though is "gradle realclean" instead of "make realclean".
>>
>> ~ Jonathan Kelly
>>  Sent from Nine <http://www.9folders.com/>
>>
>>  *From:* Andrew Musselman <an...@gmail.com>
>> *Sent:* Apr 13, 2015 3:47 PM
>> *To:* user@bigtop.apache.org
>> *Subject:* Build question
>>
>>  I'm following the build instructions below but am stuck on the `make
>> realclean` step; what am I missing?
>>
>>  $ make realclean
>> make: *** No rule to make target `realclean'.  Stop.
>>
>>  From
>> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>>
>>  Thanks!
>>
>
>

Re: Build question

Posted by Andrew Musselman <an...@gmail.com>.
Thanks Jonathan

On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan <jo...@amazon.com>
wrote:

>  The top of that page you linked says that it is deprecated, and it links
> to another page that unfortunately looks a little thin on details. What you
> want though is "gradle realclean" instead of "make realclean".
>
> ~ Jonathan Kelly
>  Sent from Nine <http://www.9folders.com/>
>
>  *From:* Andrew Musselman <an...@gmail.com>
> *Sent:* Apr 13, 2015 3:47 PM
> *To:* user@bigtop.apache.org
> *Subject:* Build question
>
>  I'm following the build instructions below but am stuck on the `make
> realclean` step; what am I missing?
>
>  $ make realclean
> make: *** No rule to make target `realclean'.  Stop.
>
>  From
> https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>
>  Thanks!
>

Re: Build question

Posted by "Kelly, Jonathan" <jo...@amazon.com>.
The top of that page you linked says that it is deprecated, and it links to another page that unfortunately looks a little thin on details. What you want though is "gradle realclean" instead of "make realclean".

~ Jonathan Kelly

Sent from Nine<http://www.9folders.com/>

From: Andrew Musselman <an...@gmail.com>
Sent: Apr 13, 2015 3:47 PM
To: user@bigtop.apache.org
Subject: Build question

I'm following the build instructions below but am stuck on the `make realclean` step; what am I missing?

$ make realclean
make: *** No rule to make target `realclean'.  Stop.

>From https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu

Thanks!