+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tinyfugue.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rHw09U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tf-50b8 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/tf-50b8.tar.gz + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5hZhdh + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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... yes 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... yes checking zlib.h presence... yes checking for zlib.h... yes 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 -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 -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 -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 -g -DDATADIR=/usr/share -c -o expand.o expand.c dstring.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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] 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] write(STDOUT_FILENO, src->data, src->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: command.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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=] 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=] 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 -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] 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] 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 -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] if (neg0 == neg1 && sum<0 != neg0) { ~~~^~ At top level: expr.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -g -DDATADIR=/usr/share -c -o history.o history.c help.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -g -DDATADIR=/usr/share -c -o keyboard.o keyboard.c expand.c: In function 'prog_interpret': expand.c:588:9: warning: 'no_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] if (no_arg) Stringtrunc(buf, 0); ^ expand.c:584:10: warning: 'constr' may be used uninitialized in this function [-Wmaybe-uninitialized] str = execute_start(constr, &old_cmd); /*XXX optimize: don't dup buf */ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ history.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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] #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) ^ keyboard.c:396:30: note: in expansion of macro 'is_inword' while (place != stop && !is_inword(keybuf->data[place])) place += dir; ^~~~~~~~~ keyboard.c:388:52: warning: null argument where non-null required (argument 1) [-Wnonnull] #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) ^ keyboard.c:397:29: note: in expansion of macro 'is_inword' 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=] static const char RCSid[] = "$Id: keyboard.c,v 35004.88 2007/01/13 23:12:39 kkeys Exp $"; ^~~~~ expr.c: In function 'reduce_arithmetic': expr.c:675:43: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] ((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 -g -DDATADIR=/usr/share -c -o macro.o macro.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 -g -DDATADIR=/usr/share -c -o main.o main.c In file included from expand.c:31:0: expand.c: In function 'list': parse.h:136:5: warning: 'jump_point' may be used uninitialized in this function [-Wmaybe-uninitialized] if (from >= 0) { \ ^ expand.c:1318:22: note: 'jump_point' was declared here int block_start, jump_point, oldlen; ^~~~~~~~~~ expand.c:1318:9: warning: 'block_start' may be used uninitialized in this function [-Wmaybe-uninitialized] int block_start, jump_point, oldlen; ^~~~~~~~~~~ macro.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: macro.c,v 35004.188 2007/01/13 23:12:39 kkeys Exp $"; ^~~~~ main.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -g -DDATADIR=/usr/share -c -o malloc.o malloc.c malloc.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -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 -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] if (strcmp(TERM, "xterm") == 0) { ^~~~~~ output.c:555:13: warning: null argument where non-null required (argument 1) [-Wnonnull] if (strcmp(TERM, "linux") == 0) { ^~~~~~ pattern.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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=] static const char RCSid[] = "$Id: output.c,v 35004.242 2007/01/14 00:44:19 kkeys Exp $"; ^~~~~ macro.c: In function 'run_match': macro.c:1930:9: warning: 'old' may be used uninitialized in this function [-Wmaybe-uninitialized] restore_reg_scope(old); ^~~~~~~~~~~~~~~~~~~~~~ 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 -g -DDATADIR=/usr/share -c -o process.o process.c process.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -g -DDATADIR=/usr/share -c -o search.o search.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 -g -DDATADIR=/usr/share -c -o signals.o signals.c process.c: In function 'handle_ps_command': process.c:174:11: warning: 'disp' may be used uninitialized in this function [-Wmaybe-uninitialized] char disp; ^~~~ search.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: search.c,v 35004.32 2007/01/13 23:12:39 kkeys Exp $"; ^~~~~ 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=] sprintf(exebuf, "%.*s/%s", len, dir, argv0); ~~^~ 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=] sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); ~~^~ signals.c: In function 'debugger_dump': signals.c:534:12: warning: variable 'wait_pid' set but not used [-Wunused-but-set-variable] pid_t wait_pid = 0; ^~~~~~~~ signals.c: In function 'init_exename': signals.c:437:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(initial_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: signals.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: signals.c,v 35004.70 2007/01/14 19:28:36 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 -g -DDATADIR=/usr/share -c -o socket.o socket.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 -g -DDATADIR=/usr/share -c -o tfio.o tfio.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 -g -DDATADIR=/usr/share -c -o tty.o tty.c tfio.c: In function 'tfgetS': tfio.c:834:9: warning: implicit declaration of function 'main_loop'; did you mean 'max_hook'? [-Wimplicit-function-declaration] main_loop(); ^~~~~~~~~ max_hook tfio.c: In function 'igetchar': tfio.c:773:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(STDIN_FILENO, &c, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ At top level: tfio.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: tfio.c,v 35004.114 2007/01/13 23:12:39 kkeys Exp $"; ^~~~~ tty.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: tty.c,v 35004.38 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 -g -DDATADIR=/usr/share -c -o util.o util.c In file included from socket.c:64:0: socket.c: In function 'opensock': util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] #define STRDUP(src) STRNDUP((src), strlen(src)) ^ util.h:31:28: note: in definition of macro 'STRNDUP' (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^~~ socket.c:1285:23: note: in expansion of macro 'STRDUP' xsock->host = STRDUP(proxy_host); ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^ util.h:32:22: note: in expansion of macro 'STRNDUP' #define STRDUP(src) STRNDUP((src), strlen(src)) ^~~~~~~ socket.c:1285:23: note: in expansion of macro 'STRDUP' xsock->host = STRDUP(proxy_host); ^~~~~~ util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] #define STRDUP(src) STRNDUP((src), strlen(src)) ^ util.h:31:28: note: in definition of macro 'STRNDUP' (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^~~ socket.c:1299:18: note: in expansion of macro 'STRDUP' xsock->myhost = STRDUP(tfhost); ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^ util.h:32:22: note: in expansion of macro 'STRNDUP' #define STRDUP(src) STRNDUP((src), strlen(src)) ^~~~~~~ socket.c:1299:18: note: in expansion of macro 'STRDUP' xsock->myhost = STRDUP(tfhost); ^~~~~~ socket.c: In function 'handle_socket_lines': socket.c:2603:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] 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] read(xsock->fd, (char*)xsock->addrs, info.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tfio.c: In function 'vSprintf': tfio.c:596:32: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (*fmt == 'b' && !is_print(*q)) { ^ socket.c: In function 'waitforhostname': socket.c:1794:2: warning: ignoring return value of 'writev', declared with attribute warn_unused_result [-Wunused-result] writev(fd, iov, niov); ^~~~~~~~~~~~~~~~~~~~~ socket.c:1798:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &hdr, sizeof(hdr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: socket.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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:0: util.c: In function 'ch_mailfile': util.h:32:37: warning: null argument where non-null required (argument 1) [-Wnonnull] #define STRDUP(src) STRNDUP((src), strlen(src)) ^ util.h:31:28: note: in definition of macro 'STRNDUP' (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^~~ util.c:640:35: note: in expansion of macro 'STRDUP' newlist = add_mail_file(newlist, STRDUP(MAIL)); ^~~~~~ util.h:31:6: warning: null argument where non-null required (argument 2) [-Wnonnull] (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) ^ util.h:32:22: note: in expansion of macro 'STRNDUP' #define STRDUP(src) STRNDUP((src), strlen(src)) ^~~~~~~ util.c:640:35: note: in expansion of macro 'STRDUP' newlist = add_mail_file(newlist, STRDUP(MAIL)); ^~~~~~ At top level: util.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -g -DDATADIR=/usr/share -c -o variable.o variable.c variable.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 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 -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 -g -DDATADIR=/usr/share -o makehelp makehelp.c makehelp.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] static const char RCSid[] = "$Id: makehelp.c,v 35004.18 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 -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 socket.c: In function 'ssl_io_err.isra.12': socket.c:520:5: warning: 'fmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 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=] static const char RCSid[] = "$Id: world.c,v 35004.77 2007/01/13 23:12:39 kkeys Exp $"; ^~~~~ gcc -Wl,-z,relro -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 -lz -lm -ltermcap -lssl -lcrypto -lpcre test -z ":" || : tf || true ##################################################### ## TinyFugue build successful. ## Use "make install" to install: ## tf binary: /usr/bin/tf ## library: /usr/share/tf-lib make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pYxv8e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 + cd tf-50b8 + install -d /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr + make install DESTDIR=/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' if test -d ../help; then cd ../help; make tf-help; fi if test -d ../help; then cp ../help/tf-help ../tf-lib; fi test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share cp tf /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin/tf chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin/tf ## Creating library directory... test -n "/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib" test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib" ## Copying library files... cd ../tf-lib; \ for f in *; do test -f $f && files="$files $f"; done; \ ( cd /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib; rm -f $files tf.help tf.help.index; ); \ cp $files /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib; \ cd /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib; \ chmod 755 $files; chmod ugo-wx $files rm -f /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib/CHANGES cp ../CHANGES /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib/CHANGES; chmod ugo-wx /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib/CHANGES chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib ## Creating links so old library names still work... ##################################################### ## TinyFugue build successful. ## Use "make install" to install: ## tf binary: /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin/tf ## library: /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib test -z "default" || { rm -f default && ln -s /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin/tf default; } ##################################################### ## TinyFugue installation successful. ## tf binary: /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin/tf ## library: /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/tf-lib ## ## Note: /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin is not in your PATH. ## To run tf, you will need to type its full path name ## or add /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/bin to your PATH. make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' + install -D -p -m 644 src/tf.1.nroffman /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/man/man1/tf.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tinyfugue-5.0-0.27.b8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3RWSve + umask 022 + cd /builddir/build/BUILD + cd tf-50b8 + DOCDIR=/builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + cp -pr CHANGES /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + cp -pr COPYING /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + cp -pr CREDITS /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + cp -pr README /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64/usr/share/doc/tinyfugue + exit 0 Provides: tinyfugue = 5.0-0.27.b8.fc28 tinyfugue(riscv-64) = 5.0-0.27.b8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpcre.so.1()(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 Wrote: /builddir/build/SRPMS/tinyfugue-5.0-0.27.b8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tinyfugue-5.0-0.27.b8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gf3Yak + umask 022 + cd /builddir/build/BUILD + cd tf-50b8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tinyfugue-5.0-0.27.b8.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff