[ 
https://issues.apache.org/jira/browse/BIGTOP-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182286#comment-14182286
 ] 

jay vyas edited comment on BIGTOP-1477 at 10/24/14 1:25 AM:
------------------------------------------------------------

[~cos]  sorry it took a while - but Here is an example of the issue ,,, 

- uninstall maven 
- run {{gradle mahout-rpm}} 

You get this error message.  It looks like it doesnt show anywhere that mvn is 
not installed. 

I;ll look to see where that error output is going.
 
{noformat}
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YCraHj

RPM build errors:
:mahout-rpm FAILED
:mahout-rpm (Thread[main,5,main]) completed. Took 0.362 secs.

FAILURE: Build failed with an exception.

* Where:
Script '/home/apache/Development/bigtop-jayunit100/packages.gradle' line: 316

* What went wrong:
Execution failed for task ':mahout-rpm'.
> Process 'command 'rpmbuild'' finished with non-zero exit value 1

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

BUILD FAILED
Total time: 4.598 secs

{noformat} 


was (Author: jayunit100):
[~cos]  So, if you 

- uninstall maven 
- run {{gradle mahout-rpm}} 

You get this error message.  It looks like it doesnt show anywhere that mvn is 
not installed. 

I;ll look to see where that error output is going.
 
{noformat}
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YCraHj

RPM build errors:
:mahout-rpm FAILED
:mahout-rpm (Thread[main,5,main]) completed. Took 0.362 secs.

FAILURE: Build failed with an exception.

* Where:
Script '/home/apache/Development/bigtop-jayunit100/packages.gradle' line: 316

* What went wrong:
Execution failed for task ':mahout-rpm'.
> Process 'command 'rpmbuild'' finished with non-zero exit value 1

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

BUILD FAILED
Total time: 4.598 secs

{noformat} 

> Gradle build should print errors
> --------------------------------
>
>                 Key: BIGTOP-1477
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1477
>             Project: Bigtop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.0
>            Reporter: jay vyas
>             Fix For: backlog
>
>
> When building with gradle, if something fails, it doesnt seem to clearly 
> print out why. 
> For example: 
> 1) if you run {{gradle mahout-rpm}} on a system without maven installed (i 
> agree its idiotic to do this), you just get a failure message
> 2) If you do the same with the "make" command, you get a clear failure (mvn 
> not found). 
> So lets get gradle error messages as robust as possible to smooth the 
> transition to gradle (which im in favor of)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to