n1++) { | ^~~ wsfe.c: In function 's_wsfe': wsfe.c:55:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 55 | if(n=c_sfe(a)) return(n); | ^ cc -c -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 -o wsle.o wsle.c cc -c -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 -o wsne.o wsne.c cc -c -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 -o xwsne.o xwsne.c wsle.c: In function 's_wsle': wsle.c:17:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 17 | if(n=c_le(a)) return(n); | ^ cc -c -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 -o dtime_.o dtime_.c wsne.c: In function 's_wsne': wsne.c:17:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 17 | if(n=c_le(a)) | ^ cc -c -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 -o etime_.o etime_.c cc -c -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 -o uninit.o uninit.c uninit.c: In function 'ieee0': uninit.c:302:10: error: '_FPU_MASK_IM' undeclared (first use in this function) 302 | cw &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); | ^~~~~~~~~~~~ uninit.c:302:10: note: each undeclared identifier is reported only once for each function it appears in uninit.c:302:25: error: '_FPU_MASK_ZM' undeclared (first use in this function) 302 | cw &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); | ^~~~~~~~~~~~ uninit.c:302:40: error: '_FPU_MASK_OM' undeclared (first use in this function) 302 | cw &= ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); | ^~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/f2c-20190311/libf2c' make: *** [makefile.u:25: uninit.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.oySWo4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oySWo4 (%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/f2c.spec