ompile gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c -o atom.lo ../../../hdf/src/atom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c ../../../hdf/src/atom.c -fPIC -DPIC -o .libs/atom.o make[3]: Leaving directory '/builddir/build/BUILD/hdf-4.2.14/build-shared/hdf/src' make[3]: Entering directory '/builddir/build/BUILD/hdf-4.2.14/build-shared/hdf/src' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c -o cdeflate.lo ../../../hdf/src/cdeflate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c ../../../hdf/src/cdeflate.c -fPIC -DPIC -o .libs/cdeflate.o make[3]: Leaving directory '/builddir/build/BUILD/hdf-4.2.14/build-shared/hdf/src' make[3]: Entering directory '/builddir/build/BUILD/hdf-4.2.14/build-shared/hdf/src' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c -o cnbit.lo ../../../hdf/src/cnbit.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../hdf/src -DBIG_LONGS -DSWAP -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/tirpc -c ../../../hdf/src/cnbit.c -fPIC -DPIC -o .libs/cnbit.o make[3]: Leaving directory '/builddir/build/BUILD/hdf-4.2.14/build-shared/hdf/src' RPM build errors: make[2]: *** [Makefile:533: all] Error 2 make[1]: *** [Makefile:439: all-recursive] Error 1 make: *** [Makefile:528: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.ugAVRj (%build) Bad exit status from /var/tmp/rpm-tmp.ugAVRj (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/hdf.spec