The aarch64 profile does not always build without warnings; use --disable-as-warnings for the profile to be usable in jib.

Bug: https://bugs.openjdk.java.net/browse/JDK-8201229
Patch inline:
diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js
--- a/make/conf/jib-profiles.js
+++ b/make/conf/jib-profiles.js
@@ -473,6 +473,7 @@
             dependencies: ["devkit", "autoconf", "build_devkit", "cups"],
             configure_args: [
                 "--openjdk-target=aarch64-linux-gnu", "--with-freetype=bundled",
+                "--disable-warnings-as-errors"
             ],
         },

/Magnus

Reply via email to