Fail to build from source on Ubuntu 16.04
See original GitHub issueDescription
I’m trying to build che from source on a clean Ubuntu 16.04 machine.
Reproduction Steps
On an Ubuntu 16.04 system, I installed maven, golang, nodejs & npm then grabbed the 6.2.0 release of Che. I then ran mvn -e -DskipTests=true -Dfindbugs.skip=true -Dgwt.compiler.localWorkers=2 -T 1C -Dmdep.analyze.skip=true -Dlicense.skip=true -Pnative clean install
OS and version:
Ubuntu 16.04. golang 1.6 npm 3.5.2 nodejs 4.2.6
Diagnostics:
[INFO] Che IDE :: GWT App ................................. SKIPPED
[INFO] Che Dashboard :: Web App ........................... FAILURE [17:11 min]
[INFO] Che Workspace Loader :: Web App .................... FAILURE [21:44 min]
[INFO] Che IDE :: Parent .................................. SUCCESS [ 0.150 s]
[INFO] Che Workspace Agent War Packaging .................. SKIPPED
[INFO] Che Assembly Workspace Agent Server ................ SKIPPED
[INFO] Che IDE :: War Packaging ........................... SKIPPED
[INFO] Che IDE :: Compiling WS Master WAR ................. SKIPPED
[INFO] Che Workspace Loader :: War Packaging .............. SKIPPED
[INFO] Che IDE :: Assemblies Tomcat ....................... SKIPPED
[INFO] Che Selenium :: Parent ............................. SUCCESS [ 0.191 s]
[INFO] Che Selenium :: Core ............................... SKIPPED
[INFO] Che Selenium :: Test ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:09 min (Wall Clock)
[INFO] Finished at: 2018-03-22T10:01:17+00:00
[INFO] Final Memory: 536M/1934M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-workspace-loader) on project che-workspace-loader: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/workspace-loader" executable="npm">... @ 4:100 in /root/build_che/parts/che/build/workspace-loader/target/antrun/build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-workspace-loader) on project che-workspace-loader: An Ant BuildException has occured: exec returned: 1
around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/workspace-loader" executable="npm">... @ 4:100 in /root/build_che/parts/che/build/workspace-loader/target/antrun/build-main.xml
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: exec returned: 1
around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/workspace-loader" executable="npm">... @ 4:100 in /root/build_che/parts/che/build/workspace-loader/target/antrun/build-main.xml
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:342)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 11 more
Caused by: /root/build_che/parts/che/build/workspace-loader/target/antrun/build-main.xml:4: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:313)
... 13 more
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-dashboard) on project che-dashboard-war: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/dashboard" executable="npm">... @ 4:93 in /root/build_che/parts/che/build/dashboard/target/antrun/build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-dashboard) on project che-dashboard-war: An Ant BuildException has occured: exec returned: 1
around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/dashboard" executable="npm">... @ 4:93 in /root/build_che/parts/che/build/dashboard/target/antrun/build-main.xml
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: exec returned: 1
around Ant part ...<exec failonerror="true" dir="/root/build_che/parts/che/build/dashboard" executable="npm">... @ 4:93 in /root/build_che/parts/che/build/dashboard/target/antrun/build-main.xml
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:342)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 11 more
Caused by: /root/build_che/parts/che/build/dashboard/target/antrun/build-main.xml:4: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:313)
... 13 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :che-workspace-loader
Issue Analytics
- State:
- Created 5 years ago
- Comments:22
Top Results From Across the Web
Build Failed in Ubuntu 16.04.4 LTS · Issue #337 - GitHub
Install the 1.8 jdk its a dependency issue the error comes from a function that has been deprecated in the latest java version....
Read more >How To Build Go from Source on Ubuntu 16.04 - DigitalOcean
Warning: In some cases, the build can fail on Go 1.7 due to a time test failing. This is the result of a...
Read more >ROOT 6 Build From Source Error on Ubuntu 16.04 LTS
I think that in the current master branch of ROOT 6.09 RcppCommon.h is either missing or not being found properly.
Read more >Error when install from source on Ubuntu 16.04 - Questions
Ubuntu 16.04 Python 3.5 Cuda 10.0 I was trying to install from source, but it shows errors when build from the shared library...
Read more >TB installation failure on Ubuntu 16.04 (Build from source & As ...
Hello all, newbie here. I've tried to install Thingsboard on a laptop using Ubuntu 16.04 with Cassandra and Java Oracle 8.0 installed. First...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
-Pnative
activates a native profile so that your local Node is used. You have upgraded your node.js so give it a try with-Pnative
Closed due to inactivity. Feel free to reopen if the issue persists.