FS#65418 - [jre-openjdk] build fails in chroot or non-chroot

Attached to Project: Arch Linux
Opened by Sp1d3rmxn (sp1d3rmxn) - Friday, 07 February 2020, 23:33 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 08 February 2020, 01:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Doug Newgard (Scimmia)
Saturday, 08 February 2020, 01:39 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#65417 
Comment by loqs (loqs) - Saturday, 08 February 2020, 00:41 GMT
@sp1d3rmxn can you build the package after applying the attached patch?
Only found https://hg.openjdk.java.net/jdk/jdk/raw-rev/0743e1d49930 after I had already tested the patch from github.

Loading...