Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec'], chrootPath='/var/lib/mock/f40-build-2670172-67300/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709337600 Wrote: /builddir/build/SRPMS/icedtea-web-1.8.8-5.fc40.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec'], chrootPath='/var/lib/mock/f40-build-2670172-67300/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1709337600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sPbNCf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf IcedTea-Web-icedtea-web-1.8.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/icedtea-web-1.8.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd IcedTea-Web-icedtea-web-1.8.8 + rm -rf /builddir/build/BUILD/IcedTea-Web-icedtea-web-1.8.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/IcedTea-Web-icedtea-web-1.8.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (icedtea-web-1.8.8-remove-dunce.patch):' Patch #0 (icedtea-web-1.8.8-remove-dunce.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove-dunce --fuzz=0 patching file rust-launcher/Cargo.toml Patch #1 (icedtea-web-1.8.8-alt-java.patch): + echo 'Patch #1 (icedtea-web-1.8.8-alt-java.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .alt-java --fuzz=0 patching file rust-launcher/src/os_access.rs patching file shell-launcher/launchers.sh.in Patch #2 (icedtea-web-1.8.8-upstream-changes.patch): + echo 'Patch #2 (icedtea-web-1.8.8-upstream-changes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .upstream-changes --fuzz=0 patching file netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java patching file netx/net/sourceforge/jnlp/cache/ResourceDownloader.java patching file .github/workflows/build.yml patching file .github/workflows/build.yml patching file .github/workflows/build.yml patching file Makefile.am patching file configure.ac patching file netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java patching file netx/net/sourceforge/jnlp/security/package-info.java patching file tests/test-extensions/net/sourceforge/jnlp/tools/CodeSignerCreator.java patching file netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java + echo 'Patch #3 (icedtea-web-1.8.8-disable-pluginjar.patch):' Patch #3 (icedtea-web-1.8.8-disable-pluginjar.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-pluginjar --fuzz=0 patching file Makefile.am patching file netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java Patch #4 (icedtea-web-1.8.8-bash-completion.patch): + echo 'Patch #4 (icedtea-web-1.8.8-bash-completion.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bash-completion --fuzz=0 patching file Makefile.am Hunk #1 succeeded at 420 (offset 4 lines). Patch #5 (icedtea-web-1.8.8-untranslated-man-pages.patch): + echo 'Patch #5 (icedtea-web-1.8.8-untranslated-man-pages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .untranslated-man-pages --fuzz=0 patching file Makefile.am Hunk #1 succeeded at 903 (offset 4 lines). Patch #6 (icedtea-web-1.8.8-javadoc-param.patch): + echo 'Patch #6 (icedtea-web-1.8.8-javadoc-param.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .javadoc-param --fuzz=0 patching file netx/net/sourceforge/jnlp/util/TimedHashMap.java Patch #7 (icedtea-web-1.8.8-java18-no-pack200.patch): + echo 'Patch #7 (icedtea-web-1.8.8-java18-no-pack200.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .java18-no-pack200 --fuzz=0 patching file configure.ac patching file netx/net/sourceforge/jnlp/cache/ResourceDownloader.java + rm -rf plugin netx/sun netx/net/sourceforge/jnlp/NetxPanel.java netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java netx/net/sourceforge/jnlp/util/WindowsDesktopEntry.java + rm -rf tests win-installer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1oinhd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd IcedTea-Web-icedtea-web-1.8.8 + autoreconf --force --install configure.ac:134: installing './compile' configure.ac:15: installing './config.guess' configure.ac:15: installing './config.sub' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pkgversion=fedora-5.fc40-riscv64 --docdir=/usr/share/javadoc/icedtea-web --with-jdk-home=/usr/lib/jvm/java-17-openjdk --with-jre-home=/usr/lib/jvm/jre-17-openjdk --program-suffix=.itweb --disable-native-plugin --disable-pluginjar --with-itw-libs=DISTRIBUTION --with-modularjdk-file=/etc/java/icedtea-web --enable-shell-launchers checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking if cp supports --reflink... yes checking if we can hard link rather than copy from /builddir/build/BUILD/IcedTea-Web-icedtea-web-1.8.8... yes checking whether to build documentation... yes checking whether to filter by whitelisting on directory name when processing, compiling and running reproducers... no checking for bash... /bin/bash checking where to place file with modular switches... /etc/java/icedtea-web checking whether build legacy shell launchers... yes checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo checking whether to include also bat lunchers during linux build... no checking whether enable rust code coverage... no checking how to search for libraries in native launchers... DISTRIBUTION checking whether to compile ecj natively... no checking for riscv64-koji-linux-gnu-zip... no checking for zip... /usr/bin/zip checking for a JDK home directory... /usr/lib/jvm/java-17-openjdk (link to /usr/lib/jvm/java-17-openjdk-17.0.9.0.9-3.rv64.fc40.riscv64) checking for javac... /usr/lib/jvm/java-17-openjdk/bin/javac checking for ecj... no checking for ecj-3.1... no checking for ecj-3.2... no checking for ecj-3.3... no checking if we are using ecj as javac... no checking for jar... /usr/lib/jvm/java-17-openjdk/bin/jar checking whether jar supports @ argument... no checking whether jar supports stdin file arguments... no checking whether jar supports -J options at the end... no checking for an ecj JAR file... no checking for a JRE home directory... /usr/lib/jvm/jre-17-openjdk (link to /usr/lib/jvm/java-17-openjdk-17.0.9.0.9-3.rv64.fc40.riscv64) checking for a Java virtual machine... /usr/lib/jvm/jre-17-openjdk/bin/java checking JDK version... ./configure: line 5976: test: Error occurred during initialization of VM: integer expression expected Error occurred during initialization of VM ./configure: line 5981: test: Error occurred during initialization of VM: integer expression expected ./configure: line 5983: test: Error occurred during initialization of VM: integer expression expected configure: error: JDK8 or newer is required, detected was: Error occurred during initialization of VM RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1oinhd (%build) %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.1oinhd (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/icedtea-web.spec