Skip to content

Instantly share code, notes, and snippets.

@elect86
Created November 16, 2018 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elect86/47ab39ee346873fd9c84a745a137bf46 to your computer and use it in GitHub Desktop.
Save elect86/47ab39ee346873fd9c84a745a137bf46 to your computer and use it in GitHub Desktop.
elect@elect-desktop:~/rt$ gradle
Welcome to Gradle 4.10.2!
Here are the highlights of this release:
- Incremental Java compilation by default
- Periodic Gradle caches cleanup
- Gradle Kotlin DSL 1.0-RC6
- Nested included builds
- SNAPSHOT plugin versions in the `plugins {}` block
For more details see https://docs.gradle.org/4.10.2/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:compileGroovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/lib/gradle/4.10.2/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
> Configure project :
*****************************************************************
Unsupported gradle version 4.10.2 in use.
Only version 4.8 is supported. Use this version at your own risk
*****************************************************************
gradle.gradleVersion: 4.10.2
OS_NAME: linux
OS_ARCH: amd64
JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
java.runtime.version: 11.0.1+13-Ubuntu-2ubuntu1
java version: 11.0.1
java build number: 13
jdk.runtime.version: 11.0.1+13-Ubuntu-2ubuntu1
jdk version: 11.0.1
jdk build number: 13
minimum jdk version: 11
minimum jdk build number: 28
HAS_JAVAFX_MODULES: false
STUB_RUNTIME: /usr/lib/jvm/java-11-openjdk-amd64
CONF: Debug
NUM_COMPILE_THREADS: 4
COMPILE_TARGETS: linux
COMPILE_FLAGS_FILES: buildSrc/linux.gradle
HUDSON_JOB_NAME: not_hudson
HUDSON_BUILD_NUMBER: 0000
PROMOTED_BUILD_NUMBER: 0
PRODUCT_NAME: OpenJFX
RELEASE_VERSION: 12
RELEASE_SUFFIX: -internal
RELEASE_VERSION_SHORT: 12-internal
RELEASE_VERSION_LONG: 12-internal+0-2018-11-16-225741
RELEASE_VERSION_PADDED: 12.0.0.0
MAVEN_VERSION: 12-internal+0-2018-11-16-225741
UPDATE_STUB_CACHE: false
Building Webkit configuration /Release/ into /home/elect/rt/modules/javafx.web/build/linux
module: project ':apps' (buildModule=NO)
module: project ':base' (buildModule=YES)
module: project ':controls' (buildModule=YES)
module: project ':fxml' (buildModule=YES)
module: project ':graphics' (buildModule=YES)
module: project ':media' (buildModule=YES)
module: project ':swing' (buildModule=YES)
module: project ':swt' (buildModule=NO)
module: project ':systemTests' (buildModule=NO)
module: project ':web' (buildModule=YES)
> Task :base:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :graphics:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :graphics:compileFullJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/home/elect/rt/modules/javafx.graphics/src/main/native-font/pango.c: In function ‘Java_com_sun_javafx_font_freetype_OSPango_FcConfigAppFontAddFile’:
/home/elect/rt/modules/javafx.graphics/src/main/native-font/pango.c:228:73: warning: passing argument 1 of ‘(jboolean (*)(void *, const char *))fp’ makes pointer from integer without a cast [-Wint-conversion]
rc = (jboolean)((jboolean (*)(void *, const char *))fp)(arg0, text);
^~~~
/home/elect/rt/modules/javafx.graphics/src/main/native-font/pango.c:228:73: note: expected ‘void *’ but argument is of type ‘jlong’ {aka ‘long int’}
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp: In member function ‘virtual void WindowContextBase::enableOrResetIME()’:
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp:236:66: error: cast between incompatible function types from ‘int (*)(XIM, XPointer, XPointer)’ {aka ‘int (*)(_XIM*, char*, char*)’} to ‘XIMProc’ {aka ‘void (*)(_XIM*, char*, char*)’} [-Werror=cast-function-type]
XIMCallback startCallback = {(XPointer) jview, (XIMProc) im_preedit_start};
^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In function ‘void process_dnd_source_mouse_release(GdkWindow*, GdkEventButton*)’:
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:827:44: error: cast between incompatible function types from ‘gboolean (*)()’ {aka ‘int (*)()’} to ‘GSourceFunc’ {aka ‘int (*)(void*)’} [-Werror=cast-function-type]
gdk_threads_add_idle((GSourceFunc) dnd_finish_callback, NULL);
^~~~~~~~~~~~~~~~~~~
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In function ‘void process_dnd_source_drop_finished(GdkWindow*, GdkEventDND*)’:
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:939:40: error: cast between incompatible function types from ‘gboolean (*)()’ {aka ‘int (*)()’} to ‘GSourceFunc’ {aka ‘int (*)(void*)’} [-Werror=cast-function-type]
gdk_threads_add_idle((GSourceFunc) dnd_finish_callback, NULL);
^~~~~~~~~~~~~~~~~~~
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In static member function ‘static GdkPixbuf* DragView::get_drag_image(gboolean*, gint*, gint*)’:
/home/elect/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:1116:71: error: cast between incompatible function types from ‘void (*)(gpointer)’ {aka ‘void (*)(void*)’} to ‘GdkPixbufDestroyNotify’ {aka ‘void (*)(unsigned char*, void*)’} [-Werror=cast-function-type]
w, h, w * 4, (GdkPixbufDestroyNotify) g_free, NULL);
^~~~~~
cc1plus: all warnings being treated as errors
> Task :graphics:ccLinuxGlassGlassgtk2 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':graphics:ccLinuxGlassGlassgtk2'.
> java.util.concurrent.ExecutionException: org.gradle.process.internal.ExecException: Process 'command 'gcc'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 21s
27 actionable tasks: 27 executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment