Errors while building openjfx from sources

Александр Свиридов ooo_saturn7 at mail.ru
Tue Apr 21 08:48:13 UTC 2015


 I am trying to build openjfx from sources - centos 6.4. 64 openjdk8 (build 25.60-b11, mixed mode), I run 

/gradle-1.8/bin/gradle --info --debug

and this is what I get:
10:11:09.184 [ERROR] [system.err] cc1plus: warnings being treated as errors
10:11:09.186 [ERROR] [system.err] /home/PE/Temp/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:114: error: expected [error|warning|ignored] after '#pragma GCC diagnostic'
10:11:09.187 [ERROR] [system.err] /home/PE/Temp/rt/modules/graphics/src/main/native-glass/gtk/glass_general.cpp:132: error: expected [error|warning|ignored] after '#pragma GCC diagnostic'
10:11:09.187 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
10:11:09.188 [INFO] [org.gradle.process.internal.DefaultExecHandle] Process 'command 'gcc'' finished with exit value 1 (state: FAILED)
10:11:09.195 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer at 675d3402, org.gradle.logging.internal.logback.LogbackLoggingConfigurer at 51565ec2, org.gradle.logging.internal.JavaUtilLoggingConfigurer at 482f8f11]
10:11:09.195 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':graphics:ccLinuxGlass'
10:11:09.195 [LIFECYCLE] [org.gradle.TaskExecutionLogger] :graphics:ccLinuxGlass FAILED
10:11:09.196 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :graphics:ccLinuxGlass (Thread[main,5,main]) completed. Took 1.1 secs.
10:11:09.196 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 5.129 secs, idle: 0.044 secs
10:11:09.212 [ERROR] [org.gradle.BuildExceptionReporter] 
10:11:09.216 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
10:11:09.217 [ERROR] [org.gradle.BuildExceptionReporter] 
10:11:09.220 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
10:11:09.221 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':graphics:ccLinuxGlass'.
10:11:09.222 [ERROR] [org.gradle.BuildExceptionReporter] > Could not call NativeCompileTask.compile() on task ':graphics:ccLinuxGlass'
10:11:09.225 [ERROR] [org.gradle.BuildExceptionReporter] 
10:11:09.226 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
10:11:09.231 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':graphics:ccLinuxGlass'.
10:11:09.232 [ERROR] [org.gradle.BuildExceptionReporter]     at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)

how to solve it?


More information about the openjfx-dev mailing list