Сборка openjdk-11 с openjfx - ошибка при компиляции
Я следую этой инструкции:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
Но при компиляции исходников openjdk с
--with-import-modules=_path_to_jfx-dev_/rt/build/modular-sdk
Компиляция openjdk завершается с этой ошибкой
=== Output from failing command(s) repeated here ===
/usr/bin/printf "* For target jdk_modules_javafx.graphics__the.javafx.graphics_batch:\n"
* For target jdk_modules_javafx.graphics__the.javafx.graphics_batch:
(/bin/grep -v -e "^Note: including file:" < /home/tsayao/Sources/openjdk-10-10.0.1+10/build/make-support/failure-logs/jdk_modules_javafx.graphics__the.javafx.graphics_batch.log || true) | /usr/bin/head -n 12
/home/tsayao/Sources/rt/build/modular-sdk/modules_src/javafx.graphics/module-info.java:76: warning: [module] module not found: jdk.packager
jdk.packager;
^
error: warnings found and -Werror specified
1 error
1 warning
if test `/usr/bin/wc -l < /home/tsayao/Sources/openjdk-10-10.0.1+10/build/make-support/failure-logs/jdk_modules_javafx.graphics__the.javafx.graphics_batch.log` -gt 12; then /bin/echo " ... (rest of output omitted)" ; fi
/usr/bin/printf "\n* All command lines available in /home/tsayao/Sources/openjdk-10-10.0.1+10/build/make-support/failure-logs.\n"
* All command lines available in /home/tsayao/Sources/openjdk-10-10.0.1+10/build/make-support/failure-logs.
/usr/bin/printf "=== End of repeated output ===\n"
=== End of repeated output ===
if /bin/grep -q "recipe for target .* failed" /home/tsayao/Sources/openjdk-10-10.0.1+10/build/build.log 2> /dev/null; then /usr/bin/printf "\n=== Make failed targets repeated here ===\n" ; /bin/grep "recipe for target .* failed" /home/tsayao/Sources/openjdk-10-10.0.1+10/build/build.log ; /usr/bin/printf "=== End of repeated output ===\n" ; /usr/bin/printf "\nHint: Try searching the build log for the name of the first failed target.\n" ; else /usr/bin/printf "\nNo indication of failed target found.\n" ; /usr/bin/printf "Hint: Try searching the build log for '] Error'.\n" ; fi
=== Make failed targets repeated here ===
CompileJavaModules.gmk:631: recipe for target '/home/tsayao/Sources/openjdk-10-10.0.1+10/build/jdk/modules/javafx.graphics/_the.javafx.graphics_batch' failed
make/Main.gmk:203: recipe for target 'javafx.graphics-java' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
/usr/bin/printf "Hint: See doc/building.html#troubleshooting for assistance.\n\n"
Hint: See doc/building.html#troubleshooting for assistance.
Кажется, что он жалуется на файл module-info.java в javafx.graphics в этой строке:
exports com.sun.javafx.css.parser to
jdk.packager;
Я не знаю, что такое jdk.packager.
Есть идеи?