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/hdf.spec'], chrootPath='/var/lib/mock/f39-build-2241558-53658/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/hdf.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 (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/hdf-4.2.15-13.fc39.src.rpm RPM build warnings: %patchN is deprecated (9 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/hdf.spec'], chrootPath='/var/lib/mock/f39-build-2241558-53658/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/hdf.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 (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KY3X3f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdf-4.2.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hdf-4.2.15.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd hdf-4.2.15 + rm -rf /builddir/build/BUILD/hdf-4.2.15-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/hdf-4.2.15-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (hdf-ppc.patch): + echo 'Patch #1 (hdf-ppc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ppc --fuzz=0 patching file hdf/src/hdfi.h patching file mfhdf/fortran/jackets.c.in Patch #2 (hdf-4.2.4-sparc.patch): + echo 'Patch #2 (hdf-4.2.4-sparc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sparc --fuzz=0 patching file hdf/src/hdfi.h Hunk #1 succeeded at 76 (offset -1 lines). Hunk #2 succeeded at 1070 (offset -323 lines). Patch #3 (hdf-s390.patch): + echo 'Patch #3 (hdf-s390.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .s390 --fuzz=0 patching file hdf/src/hdfi.h patching file mfhdf/fortran/jackets.c.in patching file mfhdf/libsrc/netcdf.h.in patching file mfhdf/libsrc/putget.c patching file mfhdf/libsrc/xdrposix.c patching file mfhdf/ncgen/ncgen.l patching file mfhdf/ncgen/ncgenyy.c Patch #4 (hdf-arm.patch): + echo 'Patch #4 (hdf-arm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arm --fuzz=0 patching file hdf/src/hconv.h patching file hdf/src/hdfi.h Hunk #2 succeeded at 1192 (offset 4 lines). Patch #5 (hdf-destdir.patch): + echo 'Patch #5 (hdf-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .destdir --fuzz=0 patching file config/examples.am Hunk #1 succeeded at 42 (offset -2 lines). Hunk #2 succeeded at 52 (offset -2 lines). Patch #6 (hdf-examplesdir.patch): + echo 'Patch #6 (hdf-examplesdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .examplesdir --fuzz=0 patching file hdf/examples/Makefile.am patching file hdf/fortran/examples/Makefile.am patching file mfhdf/examples/Makefile.am patching file mfhdf/fortran/examples/Makefile.am Patch #8 (hdf-aarch64.patch): + echo 'Patch #8 (hdf-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64 --fuzz=0 patching file hdf/src/hconv.h patching file hdf/src/hdfi.h patching file mfhdf/fortran/jackets.c.in patching file mfhdf/libsrc/netcdf.h.in patching file mfhdf/libsrc/putget.c patching file mfhdf/libsrc/xdrposix.c patching file mfhdf/ncgen/ncgen.l patching file mfhdf/ncgen/ncgenyy.c Patch #9 (hdf-ppc64le.patch): + echo 'Patch #9 (hdf-ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ppc64le --fuzz=0 patching file hdf/src/hconv.h patching file hdf/src/hdfi.h patching file mfhdf/libsrc/xdrposix.c Patch #11 (hdf-build.patch): + echo 'Patch #11 (hdf-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build --fuzz=0 patching file java/examples/Makefile.am patching file java/src/jni/Makefile.am patching file java/src/Makefile.am patching file java/test/junit.sh.in patching file java/test/Makefile.am + find . '!' -name junit.jar -name '*.jar' -delete + ln -s /usr/share/java/hamcrest/hamcrest.jar java/lib/hamcrest-core.jar + ln -s /usr/share/java/slf4j/api.jar java/lib/slf4j-api-1.7.25.jar + ln -s /usr/share/java/slf4j/nop.jar java/lib/ext/slf4j-nop-1.7.25.jar + ln -s /usr/share/java/slf4j/simple.jar java/lib/ext/slf4j-simple-1.7.25.jar + find . -type f -name '*.h' -exec chmod 0644 '{}' ';' + find . -type f -name '*.c' -exec chmod 0644 '{}' ';' + touch -c -r ./hdf/src/hdfi.h.ppc ./hdf/src/hdfi.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iQ78iz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -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 -fstack-clash-protection -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 -fstack-clash-protection -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 hdf-4.2.15 + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'bin'. libtoolize: copying file 'bin/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:31: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:31: the top level configure.ac:276: warning: The macro `AC_CHECK_CLASS' is obsolete. configure.ac:276: You should run autoupdate. m4/ax_check_class.m4:56: AC_CHECK_CLASS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... m4/ax_check_junit.m4:51: AX_CHECK_JUNIT is expanded from... configure.ac:276: the top level configure.ac:616: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:616: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:616: the top level configure.ac:737: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:737: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:737: the top level configure.ac:750: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:750: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:750: the top level configure.ac:892: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:892: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:892: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:203: installing 'bin/compile' configure.ac:36: installing 'bin/missing' hdf/src/Makefile.am: installing 'bin/depcomp' automake: warning: F77LINK was already defined in condition !HDF_BUILD_FORTRAN, which is included in condition TRUE ... hdf/src/Makefile.am:48: ... 'F77LINK' previously defined here mfhdf/libsrc/Makefile.am:25: warning: source file '$(top_srcdir)/mfhdf/fortran/mfsdf.c' is in a subdirectory, mfhdf/libsrc/Makefile.am:25: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. mfhdf/libsrc/Makefile.am:25: warning: source file '$(top_srcdir)/mfhdf/fortran/mfsdff.f' is in a subdirectory, mfhdf/libsrc/Makefile.am:25: but option 'subdir-objects' is disabled mfhdf/libsrc/Makefile.am:25: warning: source file '$(top_builddir)/mfhdf/fortran/jackets.c' is in a subdirectory, mfhdf/libsrc/Makefile.am:25: but option 'subdir-objects' is disabled automake: warning: F77LINK was already defined in condition !HDF_BUILD_FORTRAN, which is included in condition TRUE ... mfhdf/libsrc/Makefile.am:53: ... 'F77LINK' previously defined here autoreconf: Leaving directory '.' + rm config/linux-gnu config/powerpc64-linux-gnu + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/include/tirpc' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/include/tirpc' + export LIBS=-ltirpc + LIBS=-ltirpc + mkdir -p build-shared/java/lib + cd build-shared + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/include/tirpc' + 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 -fstack-clash-protection -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 -fstack-clash-protection -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 -fstack-clash-protection -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 ../bin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../bin/config.sub ++ basename ../bin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../bin/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../bin/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../bin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../bin/config.guess ++ basename ../bin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../bin/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../bin/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 --disable-production --enable-java --disable-netcdf --enable-shared=yes --enable-static=no --disable-fortran --with-szlib --includedir=/usr/include/hdf 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 whether to enable maintainer-specific portions of Makefiles... no checking shell variables initial values... done checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking if basename works... yes checking if xargs works... yes checking for config riscv64-koji-linux-gnu... no checking for config riscv64-koji-linux-gnu... no checking for config koji-linux-gnu... no checking for config koji-linux-gnu... no checking for config riscv64-linux-gnu... no checking for config riscv64-linux-gnu... no checking for config riscv64-koji... no checking for config linux-gnu... no checking for config linux-gnu... no checking for config koji... no checking for config riscv64... no checking whether make sets $(MAKE)... (cached) yes checking for riscv64-koji-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking if Java JNI interface enabled... yes checking for gcj... no checking for guavac... no checking for jikes... no checking for javac... javac checking if javac works... configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?) error: Bad exit status from /var/tmp/rpm-tmp.iQ78iz (%build) RPM build warnings: RPM build errors: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.iQ78iz (%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/hdf.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/hdf.spec