unspecified behavior [-Waddress] BUILDSTDERR: if (s) if (s == "") s = NULL; BUILDSTDERR: ^~ BUILDSTDERR: ckuusr.c:13353:15: warning: comparison with string literal results in unspecified behavior [-Waddress] BUILDSTDERR: if (s) if (s == "") s = NULL; BUILDSTDERR: ^~ BUILDSTDERR: ckuusr.c:13341:16: warning: unused variable 't' [-Wunused-variable] BUILDSTDERR: char * t = tmpbuf; /* Create or alter environment var */ BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: ckuusr.c:7134:22: warning: 'sslswtab' defined but not used [-Wunused-variable] BUILDSTDERR: static struct keytab sslswtab[] = { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ckclib.c: In function 'ckmatch': BUILDSTDERR: ckclib.c:1402:15: warning: 'dot' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int plen, dot, globbing, xstar = 0; BUILDSTDERR: ^~~ BUILDSTDERR: ckclib.c: In function 'ckround': BUILDSTDERR: ckclib.c:2090:27: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf(buf,"%200.100f",fpnum); /* Make string version to work with */ BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ckcdeb.h:668, BUILDSTDERR: from ckclib.c:72: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 201 and 412 bytes into a destination of size 200 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ckclib.c: In function 'hhmmss': BUILDSTDERR: ckclib.c:2602:20: warning: '%02ld' directive writing between 2 and 17 bytes into a region of size 10 [-Wformat-overflow=] BUILDSTDERR: sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); BUILDSTDERR: ^~~~~ BUILDSTDERR: ckclib.c:2602:19: note: directive argument in the range [-2562047788015215, 2562047788015215] BUILDSTDERR: sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ckclib.c:2602:19: note: directive argument in the range [0, 59] BUILDSTDERR: ckclib.c:2602:19: note: directive argument in the range [0, 59] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ckcdeb.h:668, BUILDSTDERR: from ckclib.c:72: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 24 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' BUILDSTDERR: make[1]: *** [makefile:6054: linuxa] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ckermit-9.0.302' BUILDSTDERR: make: *** [makefile:6091: linux] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.nsEDE7 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.nsEDE7 (%build) RPM build errors: 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/ckermit.spec