Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'], chrootPath='/var/lib/mock/f29-build-29590-16058/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ckermit-9.0.302-15.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'], chrootPath='/var/lib/mock/f29-build-29590-16058/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ckermit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NOHkf8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ckermit-9.0.302 + /usr/bin/mkdir -p ckermit-9.0.302 + cd ckermit-9.0.302 + /usr/bin/gzip -dc /builddir/build/SOURCES/cku302.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/README.fedora . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VJR69x + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + /usr/bin/make linux 'KFLAGS=-O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'\''krb5_init_ets(__ctx)='\''' K4LIB= K4INC= K5LIB=-lutil K5INC=-I/usr/include/et SSLLIB= SSLINC= -j4 make[1]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' Making C-Kermit "9.0.302" for Linux 1.2 or later... IMPORTANT: Read the comments in the linux section of the makefile if you have trouble. make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" "LNKFLAGS = " \ "LIBS = -lncurses -lutil -lresolv -lcrypt -llockdev -lm" make[2]: Entering directory '/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcmai.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckclib.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckucmd.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -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 -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusr.c BUILDSTDERR: ckclib.c: In function 'ckmatch': BUILDSTDERR: ckclib.c:1402:30: warning: variable 'xstar' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int plen, dot, globbing, xstar = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: ckclib.c:1401:12: warning: variable 'patstart' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char * patstart; /* Start of pattern */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ckclib.c: In function 'ckround': BUILDSTDERR: ckclib.c:2082:26: warning: unused variable 'digits' [-Wunused-variable] BUILDSTDERR: int i, p, len, x, n, digits; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ckclib.c:2082:20: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: int i, p, len, x, n, digits; BUILDSTDERR: ^ BUILDSTDERR: ckclib.c:2082:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, p, len, x, n, digits; BUILDSTDERR: ^ BUILDSTDERR: ckcmai.c: In function 'main': BUILDSTDERR: ckcmai.c:3160:13: warning: implicit declaration of function 'time'; did you mean 'ztime'? [-Wimplicit-function-declaration] BUILDSTDERR: c = time(NULL); BUILDSTDERR: ^~~~ BUILDSTDERR: ztime BUILDSTDERR: ckclib.c: In function 'cksplit': BUILDSTDERR: ckclib.c:3016:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *ss++ && !flag) { BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c: In function 'doxsend': BUILDSTDERR: ckuusr.c:3945:12: warning: unused variable 'm' [-Wunused-variable] BUILDSTDERR: char * m; /* For making help messages */ BUILDSTDERR: ^ BUILDSTDERR: ckclib.c:3156:9: warning: value computed is not used [-Wunused-value] BUILDSTDERR: *s2++; BUILDSTDERR: ^~~~~ BUILDSTDERR: ckuusr.c: In function 'doxconn': BUILDSTDERR: ckuusr.c:5357:19: warning: unused variable 'macp' [-Wunused-variable] BUILDSTDERR: extern char * macp[]; BUILDSTDERR: ^~~~ BUILDSTDERR: ckuusr.c:5356:19: warning: unused variable 'tfile' [-Wunused-variable] BUILDSTDERR: extern FILE * tfile[]; BUILDSTDERR: ^~~~~ BUILDSTDERR: ckuusr.c: In function 'doadd': BUILDSTDERR: ckuusr.c:5582:15: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: int i, j, k, n = 0, x = 0, last; BUILDSTDERR: ^ BUILDSTDERR: ckucmd.c: In function 'cmifi2': BUILDSTDERR: ckucmd.c:1729:23: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char *sv = NULL, *p = NULL; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c: In function 'copyarray': BUILDSTDERR: ckuusr.c:6214:10: warning: variable 'c1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char c1, c2, * a1, * a2; BUILDSTDERR: ^~ BUILDSTDERR: In file included from ckcnet.h:1245, BUILDSTDERR: from ckuusr.c:93: BUILDSTDERR: ckuusr.c: In function 'dotelopt': BUILDSTDERR: ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ BUILDSTDERR: ^ BUILDSTDERR: ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' BUILDSTDERR: #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ckuusr.c:6815:42: note: in expansion of macro 'TELCMD' BUILDSTDERR: ckmakmsg(tn_msg,256,"TELNET SENT ",TELCMD(x),NULL,NULL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ckucmd.c: In function 'cmdelta': BUILDSTDERR: ckucmd.c:3790:22: warning: unused variable 'd3' [-Wunused-variable] BUILDSTDERR: long d1 = 0, d2, d3; BUILDSTDERR: ^~ BUILDSTDERR: ckucmd.c:3788:34: warning: unused variable 'zss' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:3788:29: warning: unused variable 'zmm' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:3788:24: warning: unused variable 'zhh' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:3788:19: warning: unused variable 'zdd' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:3788:14: warning: unused variable 'zmo' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:3788:9: warning: unused variable 'zyy' [-Wunused-variable] BUILDSTDERR: int zyy, zmo, zdd, zhh, zmm, zss; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c: In function 'cmcvtdate': BUILDSTDERR: ckucmd.c:4311:15: warning: unused variable 'minus' [-Wunused-variable] BUILDSTDERR: int i, k, n, minus = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: ckucmd.c:4311:12: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: int i, k, n, minus = 0; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c: In function 'dohttp': BUILDSTDERR: ckuusr.c:7515:2: warning: label 'havehost' defined but not used [-Wunused-label] BUILDSTDERR: havehost: /* Come here with s -> host */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ckuusr.c: In function 'redossh': BUILDSTDERR: ckuusr.c:7827:12: warning: variable 'netsave' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int x, netsave; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ckuusr.c: In function 'hmsgaa': BUILDSTDERR: ckuusr.c:7890:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ BUILDSTDERR: ^ BUILDSTDERR: ckucmd.c:4090:23: warning: unused variable 'tb' [-Wunused-variable] BUILDSTDERR: char timbuf[16], *tb, cc; BUILDSTDERR: ^~ BUILDSTDERR: ckucmd.c:4090:10: warning: unused variable 'timbuf' [-Wunused-variable] BUILDSTDERR: char timbuf[16], *tb, cc; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ckucmd.c:4079:41: warning: unused variable 'sec' [-Wunused-variable] BUILDSTDERR: char * hour = "00", * min = "00", * sec = "00"; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:4079:27: warning: unused variable 'min' [-Wunused-variable] BUILDSTDERR: char * hour = "00", * min = "00", * sec = "00"; BUILDSTDERR: ^~~ BUILDSTDERR: ckucmd.c:4079:12: warning: unused variable 'hour' [-Wunused-variable] BUILDSTDERR: char * hour = "00", * min = "00", * sec = "00"; BUILDSTDERR: ^~~~ BUILDSTDERR: ckucmd.c:4061:9: warning: variable 'kn' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int kn = 0, ft[8], isletter = 0, f2len = 0; BUILDSTDERR: ^~ BUILDSTDERR: ckucmd.c: In function 'shuffledate': BUILDSTDERR: ckucmd.c:5437:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) BUILDSTDERR: ckucmd.c:5439:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) BUILDSTDERR: ckucmd.c: In function 'cmdate': BUILDSTDERR: ckucmd.c:5555:11: warning: variable 'o' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *o, *s, *zq, *dp; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c: In function 'docmd': BUILDSTDERR: ckuusr.c:9140:16: warning: unused variable 'k_info_dir' [-Wunused-variable] BUILDSTDERR: extern char * k_info_dir; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ckuusr.c:9217:34: warning: unused variable 'isinbuflen' [-Wunused-variable] BUILDSTDERR: extern int itsapattern, isjoin, isinbuflen; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from ckucmd.c:41: BUILDSTDERR: ckucmd.c: In function 'cmdconchk': BUILDSTDERR: ckucmd.c:7385:48: error: 'FILE' {aka 'struct _IO_FILE'} has no member named '_cnt' BUILDSTDERR: debug(F101,"cmdconchk stdin->_cnt","",stdin->_cnt); BUILDSTDERR: ^~ BUILDSTDERR: ckcdeb.h:5129:51: note: in definition of macro 'debug' BUILDSTDERR: ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) BUILDSTDERR: ^ BUILDSTDERR: ckucmd.c:7386:14: error: 'FILE' {aka 'struct _IO_FILE'} has no member named '_cnt' BUILDSTDERR: x = stdin->_cnt; BUILDSTDERR: ^~ BUILDSTDERR: ckuusr.c:11883:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, n, xpipe = 0, xbinary = 0, xxlate = 1, xxnowait = 0, getval; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:12059:6: warning: unused variable 'height' [-Wunused-variable] BUILDSTDERR: int height = 0, count = 0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ckuusr.c:12718:14: warning: unused variable 'cmdatebuf' [-Wunused-variable] BUILDSTDERR: extern char cmdatebuf[], * cmdatemsg; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: make[2]: *** [makefile:985: ckucmd.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: ckuusr.c:13296:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:13299:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:13304:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:13306:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:13235:20: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: char * s, *p, vbuf[32]; BUILDSTDERR: ^ BUILDSTDERR: ckuusr.c:13345:15: warning: comparison with string literal results in 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.VJR69x (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VJR69x (%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/ckermit.spec