FS#65417 - [java-openjdk] build fails in chroot and non-chroot
Attached to Project:
Arch Linux
Opened by Sp1d3rmxn (sp1d3rmxn) - Friday, 07 February 2020, 23:29 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 23 May 2020, 19:04 GMT
Opened by Sp1d3rmxn (sp1d3rmxn) - Friday, 07 February 2020, 23:29 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 23 May 2020, 19:04 GMT
|
Details
Description:
Build fails on clean install in chroot and non-chroot. Upstream has a report of this https://savannah.gnu.org/bugs/?57676 Build error: Building targets 'images legacy-jre-image docs' in configuration 'linux-x86_64-server-release' make[3]: *** No rule to make target 'java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/build/linux-x86_64-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS.vardeps', needed by 'java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/build/linux-x86_64-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch'. Stop. make[3]: *** Waiting for unfinished jobs.... make[2]: *** [make/Main.gmk:70: buildtools-langtools] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** No rule to make target 'java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/build/linux-x86_64-server-release/make-support/vardeps/make/ModuleWrapper.gmk/java.base/ORDERED_CFG_VARIANTS.vardeps', needed by 'java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/build/linux-x86_64-server-release/support/modules_libs/java.base/jvm.cfg'. Stop. make[3]: *** Waiting for unfinished jobs.... make[2]: *** [make/Main.gmk:158: java.base-copy] Error 2 ERROR: Build failed for targets 'images legacy-jre-image docs' in configuration 'linux-x86_64-server-release' (exit code 2) No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. make[1]: *** [java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/make/Init.gmk:312: main] Error 2 make: *** [java-openjdk/repos/extra-x86_64/src/jdk13u-jdk-13.0.2+8/make/Init.gmk:186: images] Error 2 Additional info: * package version(s) - 13.0.2+8 Steps to reproduce: Build in a chroot or non-chroot, end result is the same |
This task depends upon
Comment by Sp1d3rmxn (sp1d3rmxn) -
Tuesday, 17 March 2020, 02:29 GMT
Comment by Sp1d3rmxn (sp1d3rmxn) -
Tuesday, 17 March 2020, 02:29 GMT
In another bug report I accidentally created right after this one,
@logs
https://bugs.archlinux.org/user/18480
commented asking about a patch that was found
https://hg.openjdk.java.net/jdk/jdk/raw-rev/0743e1d49930
and if it worked, and yes it did. Also they attached the
pkgbuild.diff to apply this which I will do as well.
Can this be added to the PKGBUILD in the repos?