enjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/riscv64-redhat-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -c -o hdfvsqImp.o hdfvsqImp.c gcc -shared -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 -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/riscv64-redhat-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -c -o hdfexceptionImp.o hdfexceptionImp.c gcc -shared -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 -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/riscv64-redhat-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -c -o hdfdfcompImp.o hdfdfcompImp.c gcc -shared -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 -fPIC -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function -DH5Fget_info_vers=1 -DH5Rdereference_vers=1 -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/riscv64-redhat-linux-gnu -I/usr/include/hdf -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -c -o hdfnativeImp.o hdfnativeImp.c mkdir -p ../../lib/riscv64-redhat-linux-gnu; gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -o ../../lib/riscv64-redhat-linux-gnu/libjhdf.so hdfstructsutil.o hdfImp.o hdfvgroupImp.o hdfvdataImp.o hdfsdsImp.o hdfanImp.o hdfdfanImp.o hdfdfsdImp.o hdfr24Imp.o hdfdfpalImp.o hdfr8Imp.o hdfgrImp.o hdfheImp.o hdfdfuImp.o hdfhxImp.o hdfvfImp.o hdfvhImp.o hdfvqImp.o hdfvsqImp.o hdfexceptionImp.o hdfdfcompImp.o hdfnativeImp.o -lmfhdf -ldf -lsz -lz -ljpeg -lm BUILDSTDERR: /usr/bin/ld: cannot find -lmfhdf BUILDSTDERR: /usr/bin/ld: cannot find -ldf BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[3]: *** [Makefile:59: libjhdf] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/hdfjava-3.3.2/native/hdflib' make[2]: Leaving directory '/builddir/build/BUILD/hdfjava-3.3.2/native' BUILDSTDERR: make[2]: *** [Makefile:24: do-hdflib] Error 2 BUILDSTDERR: make[1]: *** [Makefile:21: hdflib] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/hdfjava-3.3.2/native' BUILDSTDERR: make: *** [Makefile:130: natives] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RclfF6 (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RclfF6 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/jhdf5.spec