-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
None
-
None
I tried to build OpenJFX with OpenJDK using the following command:
gradle -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true -PBUILD_NATIVES=true -PCOMPILE_PANGO=true -PBINARY_STUB=/Users/miho/jdk8_b102_ext/jfxrt.jar
I get the following error:
rc/main/native/Source/WTF/unicode -I/Users/miho/installs/javafx/openjfx/rt/modules/web/src/main/native/Source/WTF/java -I../../../Source/JavaScriptCore/yarr -I../../../Source/JavaScriptCore/API -I../../../Source/JavaScriptCore/ForwardingHeaders -I../../../../../../build/generated-src/headers -I../../../Source/WTF/wtf -I../../../Source/WTF/wtf/java -I../../../Source/WebCore/platform -I../../../Source/JavaScriptCore -I. -x c++-header -c ../../../Source/JavaScriptCore/javascriptcorejava_pch.h -o obj/JavaScriptCoreJava.gch/c++
Creating hashtable for ../../../Source/JavaScriptCore/parser/Keywords.table
In file included from ../../../Source/JavaScriptCore/javascriptcorejava_pch.h:31:
In file included from ../../../Source/WTF/wtf/Deque.h:37:
In file included from ../../../Source/WTF/wtf/PassTraits.h:33:
../../../Source/WTF/wtf/RefPtr.h:157:30: error: no member named 'move' in namespace 'std'
In file included from ../../../Source/JavaScriptCore/javascriptcorejava_pch.h:31:
In file included from ../../../Source/WTF/wtf/Deque.h:37:
In file included from ../../../Source/WTF/wtf/PassTraits.h:33:
../../../Source/WTF/wtf/RefPtr.h:157:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
RefPtr<T> ptr = std::move(o);
~~~~~^
../../../Source/WTF/wtf/RefPtr.h:164:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
../../../Source/WTF/wtf/RefPtr.h:164:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
2 errors generated.
2 errors generated.
make[1]: *** [obj/JavaScriptCoreJava.gch/c++] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [obj/JavaScriptCoreJava.gch/objective-c++] Error 1
make: *** [sub-JavaScriptCore-JavaScriptCoreJava-pro-make_default-ordered] Error 2
:web:compileNative FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/miho/installs/javafx/openjfx/rt/build.gradle' line: 2130
gradle -PCOMPILE_WEBKIT=true -PCOMPILE_GSTREAMER=true -PBUILD_NATIVES=true -PCOMPILE_PANGO=true -PBINARY_STUB=/Users/miho/jdk8_b102_ext/jfxrt.jar
I get the following error:
rc/main/native/Source/WTF/unicode -I/Users/miho/installs/javafx/openjfx/rt/modules/web/src/main/native/Source/WTF/java -I../../../Source/JavaScriptCore/yarr -I../../../Source/JavaScriptCore/API -I../../../Source/JavaScriptCore/ForwardingHeaders -I../../../../../../build/generated-src/headers -I../../../Source/WTF/wtf -I../../../Source/WTF/wtf/java -I../../../Source/WebCore/platform -I../../../Source/JavaScriptCore -I. -x c++-header -c ../../../Source/JavaScriptCore/javascriptcorejava_pch.h -o obj/JavaScriptCoreJava.gch/c++
Creating hashtable for ../../../Source/JavaScriptCore/parser/Keywords.table
In file included from ../../../Source/JavaScriptCore/javascriptcorejava_pch.h:31:
In file included from ../../../Source/WTF/wtf/Deque.h:37:
In file included from ../../../Source/WTF/wtf/PassTraits.h:33:
../../../Source/WTF/wtf/RefPtr.h:157:30: error: no member named 'move' in namespace 'std'
In file included from ../../../Source/JavaScriptCore/javascriptcorejava_pch.h:31:
In file included from ../../../Source/WTF/wtf/Deque.h:37:
In file included from ../../../Source/WTF/wtf/PassTraits.h:33:
../../../Source/WTF/wtf/RefPtr.h:157:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
RefPtr<T> ptr = std::move(o);
~~~~~^
../../../Source/WTF/wtf/RefPtr.h:164:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
../../../Source/WTF/wtf/RefPtr.h:164:30: error: no member named 'move' in namespace 'std'
RefPtr<T> ptr = std::move(o);
~~~~~^
2 errors generated.
2 errors generated.
make[1]: *** [obj/JavaScriptCoreJava.gch/c++] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [obj/JavaScriptCoreJava.gch/objective-c++] Error 1
make: *** [sub-JavaScriptCore-JavaScriptCoreJava-pro-make_default-ordered] Error 2
:web:compileNative FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/miho/installs/javafx/openjfx/rt/build.gradle' line: 2130
- blocks
-
JDK-8344728 ☂ Gradle build modernization
-
- Open
-