Hi,
Maybe someone from this list can help me.
I have errors during build of jdk-11.0.20+8. Same Mac that I used to build
other JDK11 versions. Latest successful build: jdk-11.0.19+7
Build log attached.
About build setup:
Mac10.13
build system type - x86_64-apple-darwin17.7.0
JAVA_HOME = '/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/'
(same errors reproduced on 11.0.2)
Boot JDK version... java version "10.0.2" 2018-07-17 Java(TM) SE Runtime
Environment 18.3 (build 10.0.2+13) Java HotSpot(TM) 64-Bit Server VM 18.3
(build 10.0.2+13, mixed mode)
SDKPATH =
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk'
(same errors reproduced on 10.14 and 10.15)
Xcode major version: 10
Using clang C compiler version 10.0.0 [Apple LLVM version 10.0.0
(clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
Using clang C++ compiler version 10.0.0 [Apple LLVM version 10.0.0
(clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
JFX
Downloaded https://github.com/openjdk/jfx.git (11+26) compiled with JAVA_HOME
(version 11)on same Mac
configuration example
17:31:01 + bash configure --with-jvm-variants=server
'--with-macosx-codesign-identity=Developer ID Application: X'
--with-debug-level=release --with-native-debug-symbols=none
--enable-dtrace=auto --enable-ccache --with-macosx-codesign=hardened
--disable-warnings-as-errors
--with-import-modules=/Users/admin/Downloads/openjfx/jfx/build/modular-sdk
--without-version-pre --with-version-build=8 --with-vendor-version-string=X
--with-vendor-url=X --with-vendor-name=X --with-vendor-bug-url=X
--with-vendor-vm-bug-url=X --with-freetype=bundled
Thank you,
Dmitri Volotsajev | DevOps engineer,
OpenLogic<https://www.openlogic.com/?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2019-common&utm_content=email-signature-link>
Perforce
Software<http://www.perforce.com/?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2021-common&utm_content=email-signature-link>
P: +372<tel:>53832344
Visit us on:
LinkedIn<https://www.linkedin.com/company/perforce?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2021-common&utm_content=email-signature-link>
|
Twitter<https://twitter.com/perforce?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2021-common&utm_content=email-signature-link>
|
Facebook<https://www.facebook.com/perforce/?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2021-common&utm_content=email-signature-link>
|
YouTube<https://www.youtube.com/user/perforcesoftware?utm_leadsource=email-signature&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=2021-common&utm_content=email-signature-link>
This e-mail may contain information that is privileged or confidential. If you
are not the intended recipient, please delete the e-mail and any attachments
and notify us immediately.
17:58:34 Creating support/modules_libs/jdk.security.auth/libjaas.dylib from 1
file(s)
17:58:35 Updating images/sec-bin.zip
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.cc:27:
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/../../../hb.hh:514:
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-iter.hh:372:23: error:
no matching function for call to object of type 'const struct (anonymous struct
at ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:412:1)'
17:59:56 decltype (hb_get (hb_declval (Proj), *hb_declval (Iter)))>
17:59:56 ^~~~~~
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-map.hh:356:5: note: in
instantiation of template class
'hb_map_iter_t<hb_filter_iter_t<hb_array_t<hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t>, bool (hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t::*)() const, const (anonymous struct at
./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:200:1) &, nullptr>,
const char *, hb_function_sortedness_t::NOT_SORTED, nullptr>' requested here
17:59:56 + keys_ref ()
17:59:56 ^
17:59:56
./src/java.desktop/share/native/libharfbuzz/hb-ot-post-table-v2subset.hh:81:44:
note: in instantiation of template class 'hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>' requested here
17:59:56 hb_hashmap_t<hb_bytes_t, uint32_t, true> glyph_name_to_new_index;
17:59:56 ^
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:438:3: note:
candidate template ignored: substitution failure [with Proj = const char *, Val
= hb_hashmap_t<hb_array_t<const char>, unsigned int, true>::item_t &]: no
matching member function for call to 'impl'
17:59:56 operator () (Proj&& f, Val &&v) const HB_AUTO_RETURN
17:59:56 ^
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.cc:27:
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/../../../hb.hh:514:
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-iter.hh:376:21: error:
no matching function for call to object of type 'const struct (anonymous struct
at ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:412:1)'
17:59:56 typedef decltype (hb_get (hb_declval (Proj), *hb_declval (Iter)))
__item_t__;
17:59:56 ^~~~~~
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:438:3: note:
candidate template ignored: substitution failure [with Proj = const char *, Val
= hb_hashmap_t<hb_array_t<const char>, unsigned int, true>::item_t &]: no
matching member function for call to 'impl'
17:59:56 operator () (Proj&& f, Val &&v) const HB_AUTO_RETURN
17:59:56 ^
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.cc:28:
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/OT/Color/sbix/../../../hb-open-type.hh:37:
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.hh:36:
17:59:56 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-serialize.hh:36:
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-map.hh:356:5: error:
invalid argument type 'decltype((+ this->iter_items() | hb_map(&
item_t::key)))' (aka
'hb_map_iter_t<hb_filter_iter_t<hb_array_t<hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t>, bool (hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t::*)() const, const (anonymous struct at
./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:200:1) &, nullptr>,
const char *, (hb_function_sortedness_t)0>') to unary expression
17:59:56 + keys_ref ()
17:59:56 ^ ~~~~~~~~~~~
17:59:56 ./src/java.desktop/share/native/libharfbuzz/hb-meta.hh:76:41: note:
expanded from macro 'HB_AUTO_RETURN'
17:59:56 #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); }
17:59:56 ^
17:59:56
./src/java.desktop/share/native/libharfbuzz/hb-ot-post-table-v2subset.hh:81:44:
note: in instantiation of template class 'hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>' requested here
17:59:56 hb_hashmap_t<hb_bytes_t, uint32_t, true> glyph_name_to_new_index;
17:59:56 ^
17:59:56 3 errors generated.
17:59:56 make[3]: ***
[/Users/admin/Downloads/jdk11u/build/macosx-x86_64-normal-server-release/support/native/java.desktop/libfontmanager/hb-subset.o]
Error 1
17:59:56 make[3]: *** Waiting for unfinished jobs....
18:00:09 make[2]: *** [java.desktop-libs] Error 2
18:00:09
18:00:09 ERROR: Build failed for target 'images' in configuration
'macosx-x86_64-normal-server-release' (exit code 2)
18:00:09
18:00:09 === Output from failing command(s) repeated here ===
18:00:09 * For target support_native_java.desktop_libfontmanager_hb-subset.o:
18:00:09 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.cc:27:
18:00:09 In file included from
./src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/../../../hb.hh:514:
18:00:09 ./src/java.desktop/share/native/libharfbuzz/hb-iter.hh:372:23: error:
no matching function for call to object of type 'const struct (anonymous struct
at ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:412:1)'
18:00:09 decltype (hb_get (hb_declval (Proj), *hb_declval (Iter)))>
18:00:09 ^~~~~~
18:00:09 ./src/java.desktop/share/native/libharfbuzz/hb-map.hh:356:5: note: in
instantiation of template class
'hb_map_iter_t<hb_filter_iter_t<hb_array_t<hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t>, bool (hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>::item_t::*)() const, const (anonymous struct at
./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:200:1) &, nullptr>,
const char *, hb_function_sortedness_t::NOT_SORTED, nullptr>' requested here
18:00:09 + keys_ref ()
18:00:09 ^
18:00:09
./src/java.desktop/share/native/libharfbuzz/hb-ot-post-table-v2subset.hh:81:44:
note: in instantiation of template class 'hb_hashmap_t<hb_array_t<const char>,
unsigned int, true>' requested here
18:00:09 hb_hashmap_t<hb_bytes_t, uint32_t, true> glyph_name_to_new_index;
18:00:09 ^
18:00:09 ./src/java.desktop/share/native/libharfbuzz/hb-algs.hh:438:3: note:
candidate template ignored: substitution failure [with Proj = const char *, Val
= hb_hashmap_t<hb_array_t<const char>, unsigned int, true>::item_t &]: no
matching member function for call to 'impl'
18:00:09 operator () (Proj&& f, Val &&v) const HB_AUTO_RETURN
18:00:09 ^
18:00:09 In file included from
./src/java.desktop/share/native/libharfbuzz/hb-subset.cc:27:
18:00:09 ... (rest of output omitted)
18:00:09
18:00:09 * All command lines available in
/Users/admin/Downloads/jdk11u/build/macosx-x86_64-normal-server-release/make-support/failure-logs.
18:00:09 === End of repeated output ===
18:00:09
18:00:09 No indication of failed target found.
18:00:09 Hint: Try searching the build log for '] Error'.
18:00:09 Hint: See doc/building.html#troubleshooting for assistance.
18:00:09
18:00:09 make[1]: *** [main] Error 2
18:00:09 make: *** [images] Error 2