ion.o .libs/librexx_la-ValueFunction.o .libs/librexx_la-Utilities.o .libs/librexx_la-SysFile.o .libs/librexx_la-SysLibrary.o .libs/librexx_la-SysSemaphore.o .libs/librexx_la-SysThread.o .libs/librexx_la-GlobalData.o .libs/librexx_la-GlobalNames.o .libs/librexx_la-InternalPackage.o .libs/librexx_la-Interpreter.o .libs/librexx_la-InterpreterInstance.o .libs/librexx_la-Numerics.o .libs/librexx_la-RexxMisc.o .libs/librexx_la-Version.o .libs/librexx_la-StreamCommandParser.o .libs/librexx_la-StreamNative.o .libs/librexx_la-FileNative.o -ldl -lpthread -L/usr/lib/gcc/riscv64-redhat-linux/8 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,librexx.so.4 -o .libs/librexx.so.4.0.6 BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysDumpVariables(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp:4689:43: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] BUILDSTDERR: RexxFreeMemory((void *)shvb.shvname.strptr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysGetFileDateTime(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp:4780:18: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] BUILDSTDERR: free((void *)dir_buf); /* free the buffer memory */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp: In function 'size_t SysSetFileDateTime(const char*, size_t, CONSTRXSTRING*, const char*, PRXSTRING)': BUILDSTDERR: ./extensions/rexxutil/platform/unix/rexxutil.cpp:4872:18: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] BUILDSTDERR: free((void *)dir_buf); /* free the buffer memory */ BUILDSTDERR: ^~~~~~~ libtool: link: (cd ".libs" && rm -f "librexxapi.so.4" && ln -s "librexxapi.so.4.0.6" "librexxapi.so.4") libtool: link: (cd ".libs" && rm -f "librexxapi.so" && ln -s "librexxapi.so.4.0.6" "librexxapi.so") libtool: link: ( cd ".libs" && rm -f "librexxapi.la" && ln -s "../librexxapi.la" "librexxapi.la" ) BUILDSTDERR: make: *** [Makefile:3606: librexxutil_la-rexxutil.lo] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: .libs/librexx_la-SysFileSystem.o: In function `SysFileSystem::getTempFileName()': BUILDSTDERR: /builddir/build/BUILD/ooRexx-4.2.0/./interpreter/platform/unix/SysFileSystem.cpp:170: warning: the use of `tmpnam' is dangerous, better use `mkstemp' libtool: link: (cd ".libs" && rm -f "librexx.so.4" && ln -s "librexx.so.4.0.6" "librexx.so.4") libtool: link: (cd ".libs" && rm -f "librexx.so" && ln -s "librexx.so.4.0.6" "librexx.so") libtool: link: ( cd ".libs" && rm -f "librexx.la" && ln -s "../librexx.la" "librexx.la" ) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Qif46J (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Qif46J (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/oorexx.spec