le:' + /usr/bin/head -n 15 /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/hotspot/variant-server/support/adlc/all-ad-src.ad(0) Semantic Error: :File read error, no input read make/Init.gmk:345: Building on-failure if test `/usr/bin/wc -l < /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/make-support/failure-logs/hotspot_variant-server_support_adlc_adlc_run.log` -gt 15; then echo " ... (rest of output omitted)" ; fi ++ /usr/bin/wc -l + test 2 -gt 15 printf "\n* All command lines available in /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/make-support/failure-logs.\n" make/Init.gmk:345: Building on-failure + printf '\n* All command lines available in /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/make-support/failure-logs.\n' * All command lines available in /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/make-support/failure-logs. printf "=== End of repeated output ===\n" make/Init.gmk:345: Building on-failure + printf '=== End of repeated output ===\n' === End of repeated output === if /usr/bin/grep -q "recipe for target .* failed" /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/build.log 2> /dev/null; then printf "\n=== Make failed targets repeated here ===\n" ; /usr/bin/grep "recipe for target .* failed" /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/build.log ; printf "=== End of repeated output ===\n" ; printf "\nHint: Try searching the build log for the name of the first failed target.\n" ; else printf "\nNo indication of failed target found.\n" ; printf "Hint: Try searching the build log for '] Error'.\n" ; fi make/Init.gmk:346: Building on-failure + /usr/bin/grep -q 'recipe for target .* failed' /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot/build.log + printf '\nNo indication of failed target found.\n' No indication of failed target found. Hint: Try searching the build log for '] Error'. printf "Hint: See doc/building.html#troubleshooting for assistance.\n\n" + printf 'Hint: Try searching the build log for '\''] Error'\''.\n' make/Init.gmk:347: Building on-failure make/Init.gmk:348: Building on-failure + printf 'Hint: See doc/building.html#troubleshooting for assistance.\n\n' Hint: See doc/building.html#troubleshooting for assistance. gmake[2]: Leaving directory '/builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/jdk-11.0.21+9' + exit 2 make[1]: Leaving directory '/builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/jdk-11.0.21+9' make[1]: *** [/builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/jdk-11.0.21+9/make/Init.gmk:308: main] Error 2 make: *** [/builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/jdk-11.0.21+9/make/Init.gmk:186: hotspot] Error 2 + pwd /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot + find /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/jdk-11.0.21+9 /builddir/build/BUILD/java-11-openjdk-11.0.21.0.9-1.fc40.riscv64/build/newboot -name 'hs_err_pid*.log' + xargs cat + false error: Bad exit status from /var/tmp/rpm-tmp.tTAHQl (%build) %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tTAHQl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/java-11-openjdk-portable.spec