Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tinyfugue.spec'], chrootPath='/var/lib/mock/f33-build-164681-43476/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tinyfugue.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/tinyfugue-5.0-0.32.b8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tinyfugue.spec'], chrootPath='/var/lib/mock/f33-build-164681-43476/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tinyfugue.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dUQxfq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tf-50b8 + /usr/bin/gzip -dc /builddir/build/SOURCES/tf-50b8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tf-50b8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tf-50b7.build.patch):' Patch #0 (tf-50b7.build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file unix/vars.mak.in + echo 'Patch #1 (tf-50b8.x86_64.patch):' Patch #1 (tf-50b8.x86_64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tfio.c + echo 'Patch #2 (tf-50b8.pcre.patch):' Patch #2 (tf-50b8.pcre.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/macro.c patching file src/pattern.c patching file src/pattern.h + rm -rf src/pcre-2.08 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HWIPLm + umask 022 + cd /builddir/build/BUILD + cd tf-50b8 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-core configure: Configuring TinyFugue version 5.0 beta 8 configure: configure: Core dumps enabled. checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for inline... yes checking for library containing select... none required checking for library containing gethostbyname... none required checking for main in -linet... no checking for main in -lnet... no checking for library containing connect... none required checking for library containing setlocale... none required checking for libcrypto and libssl... yes checking for ssl kerberos dependency... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for library containing tgetent... -ltermcap checking for library containing sqrt... -lm checking for inflate in -lz... no checking for pcre_compile in -lpcre... yes checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking whether struct sockaddr has sa_len... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for pid_t... yes checking for size_t... yes checking for time_t... yes checking for socklen_t... yes checking for strftime... yes checking for h_errno... no checking for strstr... yes checking for strtol... yes checking for bcopy... yes checking for bzero... yes checking for connect... yes checking for fileno... yes checking for getcwd... yes checking for gethostname... yes checking for gethostbyname... yes checking for getipnodebyname... no checking for getpwnam... yes checking for gettimeofday... yes checking for getwd... yes checking for hstrerror... yes checking for index... yes checking for inet_aton... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for kill... yes checking for memcpy... yes checking for memset... yes checking for raise... yes checking for setlocale... yes checking for setrlimit... yes checking for sigaction... yes checking for srand... yes checking for srandom... yes checking for strcasecmp... yes checking for strchr... yes checking for strcmpi... no checking for strcspn... yes checking for strerror... yes checking for stricmp... no checking for strtod... yes checking for tzset... yes checking for waitpid... yes checking for IPv6 address structure... in6_addr checking location of mail directory... /var/spool/mail configure: creating ./config.status config.status: creating Makefile config.status: creating unix/vars.mak config.status: creating src/tfdefs.h config.status: creating src/tfconfig.h config.status: executing default commands configure: ##################################################### ## prefix: /usr ## exec_prefix: /usr ## bindir: /usr/bin ## datadir: /usr/share ## executable: ${bindir}/tf ## library: ${datadir}/tf-lib ## ## TinyFugue configuration successful. ## Use "make" to build. + make -j4 make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' gcc -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 -g -DDATADIR=/usr/share -c -o attr.o attr.c gcc -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 -g -DDATADIR=/usr/share -c -o command.o command.c gcc -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 -g -DDATADIR=/usr/share -c -o dstring.o dstring.c gcc -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 -g -DDATADIR=/usr/share -c -o expand.o expand.c dstring.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: dstring.c,v 35004.49 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ command.c: In function 'handle_limit_command': command.c:409:17: warning: variable 'had_filter' set but not used [-Wunused-but-set-variable] 409 | int result, had_filter, has_new_pat; | ^~~~~~~~~~ command.c: In function 'handle_echo_func': command.c:363:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 363 | write(STDOUT_FILENO, src->data, src->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: command.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: command.c,v 35004.141 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ attr.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: attr.c,v 35004.10 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ expand.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: expand.c,v 35004.232 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o expr.o expr.c attr.c: In function 'encode_attr': attr.c:701:12: warning: 'attrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 701 | if (attrs & F_HWRITE) | ~~~~~~^~~~~~~~~~ attr.c: In function 'encode_ansi': attr.c:782:12: warning: 'attrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 782 | if (attrs & F_HWRITE) | ~~~~~~^~~~~~~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o help.o help.c expr.c: In function 'reduce_arithmetic': expr.c:738:25: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 738 | if (neg0 == neg1 && sum<0 != neg0) { | ~~~^~ At top level: expr.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: expr.c,v 35004.179 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o history.o history.c help.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: help.c,v 35004.35 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o keyboard.o keyboard.c expand.c: In function 'prog_interpret': expand.c:584:12: warning: 'constr' may be used uninitialized in this function [-Wmaybe-uninitialized] 584 | str = execute_start(constr, &old_cmd); /*XXX optimize: don't dup buf */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:588:9: warning: 'no_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] 588 | if (no_arg) Stringtrunc(buf, 0); | ^ history.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: history.c,v 35004.114 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ keyboard.c: In function 'do_kbword': keyboard.c:388:52: warning: null argument where non-null required (argument 1) [-Wnonnull] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:396:30: note: in expansion of macro 'is_inword' 396 | while (place != stop && !is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ keyboard.c:388:52: warning: null argument where non-null required (argument 1) [-Wnonnull] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:397:29: note: in expansion of macro 'is_inword' 397 | while (place != stop && is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ At top level: keyboard.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: keyboard.c,v 35004.88 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o macro.o macro.c expr.c: In function 'reduce_arithmetic': expr.c:675:43: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 675 | ((res->type = TYPE_INT), (res->u.ival = (i)), 1) | ^ gcc -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 -g -DDATADIR=/usr/share -c -o main.o main.c macro.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: macro.c,v 35004.188 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ In file included from expand.c:31: expand.c: In function 'list': parse.h:137:18: warning: 'jump_point' may be used uninitialized in this function [-Wmaybe-uninitialized] 137 | (prog)->code[(from)].arg.i = (to); \ | ^ expand.c:1318:22: note: 'jump_point' was declared here 1318 | int block_start, jump_point, oldlen; | ^~~~~~~~~~ expand.c:1318:9: warning: 'block_start' may be used uninitialized in this function [-Wmaybe-uninitialized] 1318 | int block_start, jump_point, oldlen; | ^~~~~~~~~~~ main.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: main.c,v 35004.115 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o malloc.o malloc.c malloc.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: malloc.c,v 35004.22 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o output.o output.c gcc -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 -g -DDATADIR=/usr/share -c -o pattern.o pattern.c output.c: In function 'init_term': output.c:547:13: warning: null argument where non-null required (argument 1) [-Wnonnull] 547 | if (strcmp(TERM, "xterm") == 0) { | ^~~~~~ output.c:555:13: warning: null argument where non-null required (argument 1) [-Wnonnull] 555 | if (strcmp(TERM, "linux") == 0) { | ^~~~~~ pattern.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: pattern.c,v 35004.4 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ At top level: output.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: output.c,v 35004.242 2007/01/14 00:44:19 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o process.o process.c process.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: process.c,v 35004.71 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o search.o search.c process.c: In function 'handle_ps_command': process.c:180:13: warning: 'disp' may be used uninitialized in this function [-Wmaybe-uninitialized] 180 | oprintf("%5d %s q %c %s %s%c\"%S\"%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | p->pid, nbuf, disp, obuf, p->pre, p->type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | p->cmd, p->suf); | ~~~~~~~~~~~~~~~ search.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: search.c,v 35004.32 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o signals.o signals.c gcc -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 -g -DDATADIR=/usr/share -c -o socket.o socket.c signals.c: In function 'get_exename': signals.c:506:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 506 | sprintf(exebuf, "%.*s/%s", len, dir, argv0); | ~~^~ ~~~ | | | | int size_t {aka long unsigned int} signals.c:508:28: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ~~^~ ~~~ | | | | int size_t {aka long unsigned int} signals.c: In function 'debugger_dump': signals.c:534:12: warning: variable 'wait_pid' set but not used [-Wunused-but-set-variable] 534 | pid_t wait_pid = 0; | ^~~~~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o tfio.o tfio.c signals.c: In function 'init_exename': signals.c:437:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 437 | getcwd(initial_dir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: signals.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: signals.c,v 35004.70 2007/01/14 19:28:36 kkeys Exp $"; | ^~~~~ signals.c: In function 'debugger_dump': signals.c:508:26: warning: '%.*s' directive writing up to 2147483647 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ^~~~ signals.c:508:22: note: assuming directive output of 1 byte 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from port.h:66, from signals.c:15: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 1028) into a destination of size 1025 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:497:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 497 | sprintf(exebuf, "%s/%s", initial_dir, argv0); | ^ In file included from /usr/include/stdio.h:871, from port.h:66, from signals.c:15: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1025 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:548:58: warning: '%s' directive writing up to 1024 bytes into a region of size between 960 and 2014 [-Wformat-overflow=] 548 | sprintf(cmd, "chmod go-rwx %s; gdb -n -batch -x %s '%s' %d " | ^~ In file included from /usr/include/stdio.h:871, from port.h:66, from signals.c:15: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 46 and 2165 bytes into a destination of size 2048 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tfio.c: In function 'tfgetS': tfio.c:834:9: warning: implicit declaration of function 'main_loop' [-Wimplicit-function-declaration] 834 | main_loop(); | ^~~~~~~~~ tfio.c: In function 'igetchar': tfio.c:773:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 773 | read(STDIN_FILENO, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ At top level: tfio.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: tfio.c,v 35004.114 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o tty.o tty.c tty.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: tty.c,v 35004.38 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ In file included from socket.c:64: socket.c: In function 'opensock': util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ socket.c:1285:23: note: in expansion of macro 'STRDUP' 1285 | xsock->host = STRDUP(proxy_host); | ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ socket.c:1285:23: note: in expansion of macro 'STRDUP' 1285 | xsock->host = STRDUP(proxy_host); | ^~~~~~ util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ socket.c:1299:18: note: in expansion of macro 'STRDUP' 1299 | xsock->myhost = STRDUP(tfhost); | ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ socket.c:1299:18: note: in expansion of macro 'STRDUP' 1299 | xsock->myhost = STRDUP(tfhost); | ^~~~~~ tfio.c: In function 'vSprintf': tfio.c:596:32: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] 596 | if (*fmt == 'b' && !is_print(*q)) { | ^ socket.c: In function 'handle_socket_lines': socket.c:2603:20: warning: assignment to 'String *' from incompatible pointer type 'conString *' [-Wincompatible-pointer-types] 2603 | incoming_text = line; | ^ socket.c: In function 'openconn': socket.c:1468:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1468 | read(xsock->fd, (char*)xsock->addrs, info.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o util.o util.c socket.c: In function 'waitforhostname': socket.c:1794:2: warning: ignoring return value of 'writev' declared with attribute 'warn_unused_result' [-Wunused-result] 1794 | writev(fd, iov, niov); | ^~~~~~~~~~~~~~~~~~~~~ socket.c:1798:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1798 | write(fd, &hdr, sizeof(hdr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: socket.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: socket.c,v 35004.288 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ In file included from util.c:29: util.c: In function 'ch_mailfile': util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ util.c:640:35: note: in expansion of macro 'STRDUP' 640 | newlist = add_mail_file(newlist, STRDUP(MAIL)); | ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ util.c:640:35: note: in expansion of macro 'STRDUP' 640 | newlist = add_mail_file(newlist, STRDUP(MAIL)); | ^~~~~~ At top level: util.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: util.c,v 35004.150 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o variable.o variable.c variable.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: variable.c,v 35004.110 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ gcc -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 -g -DDATADIR=/usr/share -c -o world.o world.c if test -d ../help; then cd ../help; make tf-help; fi if test -d ../help; then cp ../help/tf-help ../tf-lib; fi gcc -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 -g -DDATADIR=/usr/share -o makehelp makehelp.c makehelp.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: makehelp.c,v 35004.18 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ socket.c: In function 'ssl_io_err': socket.c:520:5: warning: 'fmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 520 | do_hook(hook, fmt, "%s %s %s", xsock->world->name, what, why); | ^~~~~~~ world.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: world.c,v 35004.77 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make -f ../unix/unix.mak CC='gcc' CFLAGS='-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 -g -DDATADIR=/usr/share' makehelp make[2]: Entering directory '/builddir/build/BUILD/tf-50b8/src' make[2]: 'makehelp' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' ./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tf attr.o command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o output.o pattern.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o -lm -ltermcap -lssl -lcrypto -lpcre /usr/bin/ld: expand.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: expr.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: history.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: macro.o: in function `.LANCHOR2': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: main.o: in function `.LANCHOR1': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: output.o: in function `.LANCHOR1': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: process.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: socket.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: variable.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: world.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:160: tf] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' make: *** [Makefile:18: files] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.HWIPLm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HWIPLm (%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/tinyfugue.spec