+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/java-1.8.0-openjdk.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2cPOSZ + umask 022 + cd /builddir/build/BUILD + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' include_normal_build is 1 + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_debug_build is 0' include_debug_build is 0 + '[' 0 -eq 0 -a 1 -eq 0 ']' + cd /builddir/build/BUILD + rm -rf java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64 + /usr/bin/mkdir -p java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64 + cd java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64 + /usr/bin/xz -dc /builddir/build/SOURCES/aarch64-port-jdk8u-aarch64-jdk8u144-b01.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 1800144 + prioritylength=7 + '[' 7 -ne 7 ']' + ln -s openjdk jdk8 + cp /builddir/build/SOURCES/README.src . + cp /usr/lib/rpm/redhat/config.guess /usr/lib/rpm/redhat/config.sub openjdk/common/autoconf/build-aux/ + sh /builddir/build/SOURCES/java-1.8.0-openjdk-remove-intree-libraries.sh Removing built-in libs (they will be linked) Removing zlib removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inffixed.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zcrc32.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inffast.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zutil.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inffast.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/gzlib.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/trees.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/compress.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/gzread.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/gzguts.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/deflate.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/ChangeLog' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zconf.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zutil.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/gzwrite.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zlib.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/deflate.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inftrees.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/infback.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/zadler32.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/crc32.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/gzclose.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/README' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inftrees.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inflate.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/patches/ChangeLog_java' removed directory 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/patches' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/trees.h' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/inflate.c' removed 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8/uncompr.c' removed directory 'openjdk/jdk/src/share/native/java/util/zip/zlib-1.2.8' Removing libjpeg removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcomapi.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdapimin.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdapistd.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdcoefct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdcolor.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdct.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jddctmgr.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdhuff.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdhuff.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdinput.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdmainct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdmarker.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdmaster.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdmerge.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdphuff.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdpostct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdsample.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jerror.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jerror.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jidctflt.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jidctfst.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jidctint.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jidctred.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jinclude.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmemmgr.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmemsys.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmemnobs.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmorecfg.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jpegint.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jpeglib.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jquant1.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jquant2.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jutils.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcapimin.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcapistd.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jccoefct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jccolor.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcdctmgr.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jchuff.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jchuff.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcinit.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jconfig.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcmainct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcmarker.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcmaster.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcparam.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcphuff.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcprepct.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jcsample.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jctrans.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jdtrans.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jfdctflt.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jfdctfst.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jfdctint.c' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/jversion.h' removed 'openjdk/jdk/src/share/native/sun/awt/image/jpeg/README' Removing giflib removed 'openjdk/jdk/src/share/native/sun/awt/giflib/gif_lib.h' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/gif_lib_private.h' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/COPYING' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/dgif_lib.c' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/gif_hash.h' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/gifalloc.c' removed 'openjdk/jdk/src/share/native/sun/awt/giflib/gif_err.c' removed directory 'openjdk/jdk/src/share/native/sun/awt/giflib' Removing libpng removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngconf.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngset.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/png.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngtrans.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngread.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/CHANGES' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngrio.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngerror.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngstruct.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/png.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngdebug.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngpread.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngmem.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/README' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngget.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngrutil.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pnginfo.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/LICENSE' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngpriv.h' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pngrtran.c' removed 'openjdk/jdk/src/share/native/sun/awt/libpng/pnglibconf.h' removed directory 'openjdk/jdk/src/share/native/sun/awt/libpng' Removing lcms + echo 'Patch #201 (system-libjpeg.patch):' Patch #201 (system-libjpeg.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/common/autoconf/libraries.m4 Hunk #1 succeeded at 596 (offset -5 lines). patching file jdk8/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 704 (offset 8 lines). Hunk #2 succeeded at 729 (offset 8 lines). Hunk #3 succeeded at 1188 (offset 5 lines). Hunk #4 succeeded at 1198 (offset 5 lines). Hunk #5 succeeded at 1265 (offset 3 lines). patching file jdk8/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java patching file jdk8/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Hunk #1 succeeded at 177 (offset -2 lines). patching file jdk8/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java patching file jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c Hunk #2 succeeded at 112 (offset 6 lines). + echo 'Patch #202 (system-libpng.patch):' Patch #202 (system-libpng.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/common/autoconf/libraries.m4 Hunk #1 succeeded at 671 (offset -5 lines). patching file jdk8/common/autoconf/spec.gmk.in Hunk #1 succeeded at 563 (offset 15 lines). patching file jdk8/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 1188 (offset 5 lines). Hunk #2 succeeded at 1204 (offset 5 lines). Hunk #3 succeeded at 1272 (offset 3 lines). patching file jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c + echo 'Patch #203 (system-lcms.patch):' Patch #203 (system-lcms.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/common/autoconf/libraries.m4 Hunk #1 succeeded at 671 (offset -5 lines). patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk patching file openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c + echo 'Patch #204 (hotspot-remove-debuglink.patch):' Patch #204 (hotspot-remove-debuglink.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/make/linux/makefiles/jsig.make patching file openjdk/hotspot/make/linux/makefiles/saproc.make patching file openjdk/hotspot/make/linux/makefiles/vm.make Hunk #1 succeeded at 410 (offset 52 lines). + echo 'Patch #205 (dont-add-unnecessary-debug-links.patch):' Patch #205 (dont-add-unnecessary-debug-links.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/make/common/NativeCompilation.gmk Hunk #1 succeeded at 441 (offset 4 lines). Hunk #2 succeeded at 464 (offset 4 lines). Hunk #3 succeeded at 502 (offset 4 lines). Hunk #4 succeeded at 527 (offset 4 lines). + echo 'Patch #206 (hotspot-assembler-debuginfo.patch):' Patch #206 (hotspot-assembler-debuginfo.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/make/linux/makefiles/rules.make + echo 'Patch #207 (PR3183.patch):' Patch #207 (PR3183.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/java/security/Security.java patching file openjdk/jdk/src/share/lib/security/java.security-aix Hunk #1 succeeded at 280 (offset 4 lines). patching file openjdk/jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 280 (offset 4 lines). patching file openjdk/jdk/src/share/lib/security/java.security-macosx Hunk #1 succeeded at 283 (offset 4 lines). patching file openjdk/jdk/src/share/lib/security/java.security-solaris Hunk #1 succeeded at 282 (offset 4 lines). patching file openjdk/jdk/src/share/lib/security/java.security-windows Hunk #1 succeeded at 283 (offset 4 lines). + echo 'Patch #208 (aarch64BuildFailure.patch):' Patch #208 (aarch64BuildFailure.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/cpu/aarch64/vm/nativeInst_aarch64.cpp Hunk #1 succeeded at 302 (offset -41 lines). + echo 'Patch #1 (java-1.8.0-openjdk-accessible-toolkit.patch):' Patch #1 (java-1.8.0-openjdk-accessible-toolkit.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/java/awt/Toolkit.java + echo 'Patch #3 (java-atk-wrapper-security.patch):' Patch #3 (java-atk-wrapper-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 222 (offset 11 lines). Hunk #2 succeeded at 273 (offset 13 lines). + echo 'Patch #5 (multiple-pkcs11-library-init.patch):' Patch #5 (multiple-pkcs11-library-init.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/Config.java Hunk #2 succeeded at 1001 (offset 20 lines). patching file jdk8/jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java + echo 'Patch #7 (include-all-srcs.patch):' Patch #7 (include-all-srcs.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/jdk/make/CreateJars.gmk Hunk #1 succeeded at 580 (offset 11 lines). Hunk #2 succeeded at 617 (offset 11 lines). + echo 'Patch #100 (java-1.8.0-openjdk-s390-java-opts.patch):' Patch #100 (java-1.8.0-openjdk-s390-java-opts.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/common/autoconf/boot-jdk.m4 + echo 'Patch #102 (java-1.8.0-openjdk-size_t.patch):' Patch #102 (java-1.8.0-openjdk-size_t.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp Hunk #1 succeeded at 3902 (offset -1 lines). Hunk #2 succeeded at 4706 (offset -1 lines). patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupQueue.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp patching file openjdk/hotspot/src/share/vm/memory/metaspace.cpp patching file openjdk/hotspot/src/share/vm/memory/threadLocalAllocBuffer.cpp patching file openjdk/hotspot/src/share/vm/oops/objArrayKlass.inline.hpp patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp + echo 'Patch #103 (s390-size_t_format_flags.patch):' Patch #103 (s390-size_t_format_flags.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/asm/codeBuffer.cpp patching file openjdk/hotspot/src/share/vm/code/codeCache.cpp patching file openjdk/hotspot/src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp Hunk #1 succeeded at 598 (offset 42 lines). patching file openjdk/hotspot/src/share/vm/memory/blockOffsetTable.cpp patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 1289 (offset 4 lines). Hunk #2 succeeded at 1312 (offset 4 lines). Hunk #3 succeeded at 1322 (offset 4 lines). Hunk #4 succeeded at 1866 (offset 32 lines). Hunk #5 succeeded at 1876 (offset 32 lines). patching file openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp Hunk #1 succeeded at 1388 (offset 6 lines). patching file openjdk/hotspot/src/share/vm/memory/collectorPolicy.cpp Hunk #1 succeeded at 1055 (offset -1 lines). + echo 'Patch #104 (java-1.8.0-riscv-1.patch):' Patch #104 (java-1.8.0-riscv-1.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/common/autoconf/platform.m4 patching file openjdk/hotspot/src/os/linux/vm/os_linux.cpp + echo 'Patch #603 (java-1.8.0-openjdk-rh1191652-hotspot-aarch64.patch):' Patch #603 (java-1.8.0-openjdk-rh1191652-hotspot-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/make/defs.make Hunk #1 succeeded at 328 (offset 9 lines). + echo 'Patch #601 (java-1.8.0-openjdk-rh1191652-root.patch):' Patch #601 (java-1.8.0-openjdk-rh1191652-root.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk///common/autoconf/hotspot-spec.gmk.in patching file openjdk///common/autoconf/jdk-options.m4 patching file openjdk///common/autoconf/platform.m4 patching file openjdk///common/autoconf/toolchain.m4 + echo 'Patch #602 (java-1.8.0-openjdk-rh1191652-jdk.patch):' Patch #602 (java-1.8.0-openjdk-rh1191652-jdk.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/make/lib/SoundLibraries.gmk patching file openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h patching file openjdk/jdk/src/solaris/bin/ppc64le/jvm.cfg + echo 'Patch #502 (pr2462.patch):' Patch #502 (pr2462.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp Hunk #1 succeeded at 225 (offset 3 lines). Hunk #2 succeeded at 718 (offset 3 lines). Hunk #3 succeeded at 738 (offset 3 lines). Hunk #4 succeeded at 961 (offset 3 lines). Hunk #5 succeeded at 985 (offset 3 lines). Hunk #6 succeeded at 3682 (offset 4 lines). Hunk #7 succeeded at 3717 (offset 4 lines). patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp patching file openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/zip.h + echo 'Patch #504 (rh1163501.patch):' Patch #504 (rh1163501.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/com/sun/crypto/provider/DHKeyPairGenerator.java patching file openjdk/jdk/src/share/classes/com/sun/crypto/provider/DHParameterGenerator.java patching file openjdk/jdk/src/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java patching file openjdk/jdk/test/com/sun/crypto/provider/KeyAgreement/TestExponentSize.java + echo 'Patch #506 (pr2842-01.patch):' Patch #506 (pr2842-01.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/./common/autoconf/toolchain.m4 Hunk #1 succeeded at 179 (offset -9 lines). + echo 'Patch #507 (pr2842-02.patch):' Patch #507 (pr2842-02.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/./common/autoconf/toolchain.m4 + echo 'Patch #508 (rh1176206-jdk.patch):' Patch #508 (rh1176206-jdk.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk patching file openjdk/jdk/src/solaris/native/sun/awt/awt_Robot.c + echo 'Patch #509 (rh1176206-root.patch):' Patch #509 (rh1176206-root.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/common/autoconf/help.m4 patching file openjdk/common/autoconf/libraries.m4 + echo 'Patch #511 (rh1214835.patch):' Patch #511 (rh1214835.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/demo/jvmti/hprof/hprof_init.c + echo 'Patch #512 (no_strict_overflow.patch):' Patch #512 (no_strict_overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 921 (offset 17 lines). + echo 'Patch #513 (pr1983-jdk.patch):' Patch #513 (pr1983-jdk.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/make/lib/SecurityLibraries.gmk patching file openjdk/jdk/src/share/native/sun/security/ec/ECC_JNI.cpp patching file openjdk/jdk/src/share/native/sun/security/ec/ecc_impl.h patching file openjdk/jdk/src/share/native/sun/security/ec/impl/ecc_impl.h patching file openjdk/jdk/src/solaris/javavm/export/jni_md.h + echo 'Patch #514 (pr1983-root.patch):' Patch #514 (pr1983-root.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/common/autoconf/jdk-options.m4 patching file openjdk/common/autoconf/libraries.m4 Hunk #1 succeeded at 842 (offset 111 lines). patching file openjdk/common/autoconf/spec.gmk.in Hunk #1 succeeded at 648 (offset 1 line). + echo 'Patch #515 (pr2127.patch):' Patch #515 (pr2127.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/sun/security/ec/ECC_JNI.cpp + echo 'Patch #516 (pr2815.patch):' Patch #516 (pr2815.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/make/mapfiles/libsunec/mapfile-vers patching file openjdk/jdk/src/share/classes/sun/security/ec/SunEC.java patching file openjdk/jdk/src/share/native/sun/security/ec/ECC_JNI.cpp + echo 'Patch #517 (pr2899.patch):' Patch #517 (pr2899.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/sun/security/ec/ecc_impl.h + echo 'Patch #518 (pr2934.patch):' Patch #518 (pr2934.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/sun/security/ec/ECC_JNI.cpp patching file openjdk/jdk/src/share/native/sun/security/ec/ecc_impl.h + echo 'Patch #400 (8154313.patch):' Patch #400 (8154313.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/make/Javadoc.gmk Hunk #1 succeeded at 221 (offset 1 line). Hunk #2 succeeded at 335 (offset 10 lines). patching file jdk8/make/Main.gmk Hunk #1 succeeded at 160 (offset -5 lines). + echo 'Patch #523 (pr2974-rh1337583.patch):' Patch #523 (pr2974-rh1337583.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/pkcs10/PKCS10.java patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java patching file openjdk/jdk/src/share/classes/sun/security/tools/keytool/Resources.java + echo 'Patch #526 (6260348-pr3066.patch):' Patch #526 (6260348-pr3066.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKEngine.java patching file openjdk/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java patching file openjdk/jdk/src/solaris/native/sun/awt/gtk2_interface.c Hunk #1 succeeded at 1313 (offset -3 lines). Hunk #2 succeeded at 1357 (offset -3 lines). Hunk #3 succeeded at 1548 (offset -3 lines). Hunk #4 succeeded at 2497 (offset -3 lines). Hunk #5 succeeded at 2522 (offset -3 lines). patching file openjdk/jdk/src/solaris/native/sun/awt/gtk2_interface.h + echo 'Patch #528 (pr3083-rh1346460.patch):' Patch #528 (pr3083-rh1346460.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/util/Debug.java patching file openjdk/jdk/src/share/classes/sun/security/util/ECUtil.java + echo 'Patch #532 (8162384-pr3122-rh1358661.patch):' Patch #532 (8162384-pr3122-rh1358661.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/opto/doCall.cpp + echo 'Patch #535 (8153711-pr3313-rh1284948.patch):' Patch #535 (8153711-pr3313-rh1284948.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/back/invoker.c patching file openjdk/jdk/test/com/sun/jdi/oom/@debuggeeVMOptions patching file openjdk/jdk/test/com/sun/jdi/oom/OomDebugTest.java patching file openjdk/jdk/test/com/sun/jdi/oom/OomDebugTestSetup.sh + echo 'Patch #538 (8061305-pr3335-rh1423421.patch):' Patch #538 (8061305-pr3335-rh1423421.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file jdk8/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java Hunk #1 succeeded at 664 (offset 8 lines). Hunk #2 succeeded at 678 (offset 8 lines). + echo 'Patch #547 (8173941-pr3326.patch):' Patch #547 (8173941-pr3326.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/agent/src/os/linux/elfmacros.h patching file openjdk/hotspot/agent/src/os/linux/ps_core.c + echo 'Patch #550 (8175813-pr3394-rh1448880.patch):' Patch #550 (8175813-pr3394-rh1448880.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/os/linux/vm/os_linux.cpp Hunk #1 succeeded at 2756 (offset 20 lines). Hunk #2 succeeded at 2772 (offset 20 lines). Hunk #3 succeeded at 2868 (offset 20 lines). Hunk #4 succeeded at 2900 (offset 20 lines). Hunk #5 succeeded at 2930 (offset 20 lines). Hunk #6 succeeded at 2987 (offset 20 lines). patching file openjdk/hotspot/src/os/linux/vm/os_linux.hpp + echo 'Patch #551 (8181055-pr3394-rh1448880.patch):' Patch #551 (8181055-pr3394-rh1448880.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/os/linux/vm/os_linux.cpp Hunk #1 succeeded at 2839 (offset 20 lines). Hunk #2 succeeded at 2849 (offset 20 lines). Hunk #3 succeeded at 2879 (offset 20 lines). Hunk #4 succeeded at 3000 (offset 20 lines). patching file openjdk/hotspot/src/os/linux/vm/os_linux.hpp + echo 'Patch #552 (8179084-pr3409-rh1455694.patch):' Patch #552 (8179084-pr3409-rh1455694.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/runtime/arguments.cpp Hunk #1 succeeded at 3194 (offset 1 line). patching file openjdk/hotspot/test/TEST.groups patching file openjdk/hotspot/test/gc/arguments/TestAggressiveHeap.java + echo 'Patch #553 (8181419-pr3413-rh1463144.patch):' Patch #553 (8181419-pr3413-rh1463144.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/back/invoker.c + echo 'Patch #555 (8164293-pr3412-rh1459641.patch):' Patch #555 (8164293-pr3412-rh1459641.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/code/nmethod.cpp patching file openjdk/hotspot/src/share/vm/runtime/sweeper.cpp + echo 'Patch #525 (pr1834-rh1022017.patch):' Patch #525 (pr1834-rh1022017.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ssl/SupportedEllipticCurvesExtension.java Hunk #1 succeeded at 145 (offset -23 lines). + echo 'Patch #533 (rh1367357.patch):' Patch #533 (rh1367357.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/cmstypes.c + echo 'Patch #539 (pr2888.patch):' Patch #539 (pr2888.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java patching file openjdk/jdk/src/share/classes/sun/security/tools/KeyStoreUtil.java + echo 'Patch #540 (bug1484079.patch):' Patch #540 (bug1484079.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/solaris/native/sun/awt/fontpath.c Hunk #1 succeeded at 1233 (offset -6 lines). + echo 'Patch #554 (8175887-pr3415.patch):' Patch #554 (8175887-pr3415.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/hotspot/src/share/vm/c1/c1_ValueMap.hpp patching file openjdk/hotspot/test/compiler/c1/UnsafeVolatileGuardTest.java patching file openjdk/hotspot/test/compiler/c1/VolatileGuardTest.java + echo 'Patch #1000 (enableCommentedOutSystemNss.patch):' Patch #1000 (enableCommentedOutSystemNss.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file openjdk/jdk/src/share/lib/security/java.security-linux + for suffix in "" + for file in /builddir/build/SOURCES/jconsole.desktop.in /builddir/build/SOURCES/policytool.desktop.in ++ basename /builddir/build/SOURCES/jconsole.desktop.in ++ sed -e 's:.in$::g' + FILE=jconsole.desktop + EXT=desktop + NAME=jconsole + OUTPUT_FILE=jconsole.desktop + sed -e 's:#JAVA_HOME#:%{_jvmdir}/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64/bin:g' /builddir/build/SOURCES/jconsole.desktop.in + sed -i -e 's:#JRE_HOME#:%{_jvmdir}/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64/jre/bin:g' jconsole.desktop + sed -i -e s:#ARCH#:1.8.0.144-0.riscv64.7.b01.fc28.riscv64:g jconsole.desktop + for file in /builddir/build/SOURCES/jconsole.desktop.in /builddir/build/SOURCES/policytool.desktop.in ++ basename /builddir/build/SOURCES/policytool.desktop.in ++ sed -e 's:.in$::g' + FILE=policytool.desktop + EXT=desktop + NAME=policytool + OUTPUT_FILE=policytool.desktop + sed -e 's:#JAVA_HOME#:%{_jvmdir}/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64/bin:g' /builddir/build/SOURCES/policytool.desktop.in + sed -i -e 's:#JRE_HOME#:%{_jvmdir}/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64/jre/bin:g' policytool.desktop + sed -i -e s:#ARCH#:1.8.0.144-0.riscv64.7.b01.fc28.riscv64:g policytool.desktop + sed -e s:@NSS_LIBDIR@:/usr/lib64:g /builddir/build/SOURCES/nss.cfg.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F6EIz9 + umask 022 + cd /builddir/build/BUILD + cd java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + EXTRA_CFLAGS=' -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse' + EXTRA_CPP_FLAGS=' -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse' + export EXTRA_CFLAGS + cd openjdk/common/autoconf + bash ./autogen.sh Autoconf found: /usr/bin/autoconf Generating generated-configure.sh with /usr/bin/autoconf No custom hook found: ./../../jdk/make/closed/autoconf/custom-hook.m4 + for suffix in "" + '[' '' = -debug ']' + debugbuild=release + mkdir -p openjdk/build/jdk8.build + pushd openjdk/build/jdk8.build ~/build/BUILD/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64/openjdk/build/jdk8.build ~/build/BUILD/java-1.8.0-openjdk-1.8.0.144-0.riscv64.7.b01.fc28.riscv64 + NSS_LIBS='-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lfreebl' + NSS_CFLAGS='-I/usr/include/nss3 -I/usr/include/nspr4 ' + bash ../../configure --with-jvm-variants=zero --disable-zip-debug-info --with-milestone=fcs --with-update-version=144 --with-build-number=b01 --with-boot-jdk=/nix/store/fm7rnrirqnxhs4rh5dsjnmw6av2valjz-openjdk-8u172b02/lib/openjdk --with-debug-level=release --enable-unlimited-crypto --enable-system-nss --with-zlib=system --with-libjpeg=system --with-giflib=system --with-libpng=system --with-lcms=bundled --with-stdc++lib=dynamic '--with-extra-cxxflags= -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse' '--with-extra-cflags= -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse' --with-extra-ldflags= --with-num-cores=4 Running generated-configure.sh configure: Configuration created at Sun Mar 4 22:43:31 UTC 2018. configure: configure script generated at timestamp 1520203348. checking for basename... /usr/bin/basename checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cmp... /usr/bin/cmp checking for comm... /usr/bin/comm checking for cp... /usr/bin/cp checking for cpio... /usr/bin/cpio checking for cut... /usr/bin/cut checking for date... /usr/bin/date checking for gdiff... no checking for diff... /usr/bin/diff checking for dirname... /usr/bin/dirname checking for echo... /usr/bin/echo checking for expr... /usr/bin/expr checking for file... /usr/bin/file checking for find... /usr/bin/find checking for head... /usr/bin/head checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for printf... /usr/bin/printf checking for rm... /usr/bin/rm checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for tar... /usr/bin/tar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for uniq... /usr/bin/uniq checking for wc... /usr/bin/wc checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... gawk checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed checking for nawk... no checking for gawk... /usr/bin/gawk checking for cygpath... no checking for readlink... /usr/bin/readlink checking for df... /usr/bin/df checking for SetFile... no checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu checking openjdk-build os-cpu... linux-riscv64 checking openjdk-target os-cpu... linux-riscv64 checking compilation type... native checking for presence of closed sources... no checking if closed source is suppressed (openjdk-only)... no checking which variant of the JDK to build... normal checking which interpreter of the JVM to build... template checking which variants of the JVM to build... zero checking which debug level to use... release checking what configuration name to use... jdk8.build checking for apt-get... no checking for yum... yum checking for gmake... /usr/bin/gmake configure: Testing potential make at /usr/bin/gmake, found using gmake in PATH configure: Resolving FOUND_MAKE (as /usr/bin/gmake) failed, using /usr/bin/gmake directly. configure: Using GNU make 3.81 (or later) at /usr/bin/gmake (version: GNU Make 4.2.1) checking if find supports -delete... yes checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for ldd... /usr/bin/ldd checking for readelf... /usr/bin/readelf checking for hg... no checking for stat... /usr/bin/stat checking for time... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for 7z... no checking for unzip... unzip checking for wget... no checking for lftp... no checking for ftp... no checking headful support... include support for both headful and headless configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /nix/store/fm7rnrirqnxhs4rh5dsjnmw6av2valjz-openjdk-8u172b02/lib/openjdk did not contain bin/java; ignoring configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK configure exiting with result code 1 error: Bad exit status from /var/tmp/rpm-tmp.F6EIz9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.F6EIz9 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff