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/whowatch.spec'], chrootPath='/var/lib/mock/f29-build-4432-1040/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/whowatch.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 Wrote: /builddir/build/SRPMS/whowatch-1.8.6-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/whowatch.spec'], chrootPath='/var/lib/mock/f29-build-4432-1040/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/whowatch.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Dz4SPB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf whowatch-1.8.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/whowatch-1.8.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd whowatch-1.8.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WZJMJ7 + umask 022 + cd /builddir/build/BUILD + cd whowatch-1.8.6 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for kvm_openfiles in -lkvm... no checking for scrollok in -lncurses... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking kvm.h usability... no checking kvm.h presence... no checking for kvm.h... no checking for stdint.h... (cached) yes checking asm/param.h usability... yes checking asm/param.h presence... yes checking for asm/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether utmp has USER_PROCESS type... yes checking whether utmp has DEAD_PROCESS type... yes checking whether utmp struct has ut_pid member... yes checking whether utmp struct has ut_name member... yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for select... yes checking for getloadavg... yes checking for bzero... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for memset... yes checking for regcomp... yes checking for strchr... yes checking for strncasecmp... yes checking for strrchr... yes checking for sysconf... yes checking whether select() modifies the time value... yes checking whether sysctl() can be used... no checking for struct kinfo_proc.kp_proc... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands + /usr/bin/make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6/src' /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6/src' gcc -DHAVE_CONFIG_H -I. -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 -c -o whowatch.o whowatch.c gcc -DHAVE_CONFIG_H -I. -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 -c -o plist.o plist.c gcc -DHAVE_CONFIG_H -I. -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 -c -o procinfo.o procinfo.c gcc -DHAVE_CONFIG_H -I. -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 -c -o proctree.o proctree.c BUILDSTDERR: plist.c: In function 'prepare_line': BUILDSTDERR: plist.c:152:28: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: offset = snprintf(w->mwin->gbuf, w->mwin->gbsize, "\x6%4d ", p->line + 1); BUILDSTDERR: ~~~~~~~^~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from whowatch.h:1, BUILDSTDERR: from plist.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: plist.c:155:25: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(w->mwin->gbuf+offset, w->mwin->gbsize-offset ,"\x3%5d %c%c \x3%-8s \x2%s \x3%s", BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from whowatch.h:1, BUILDSTDERR: from plist.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: plist.c:160:25: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf(w->mwin->gbuf+offset, w->mwin->gbsize-offset,"\x3%5d %c%c \x2%s \x3%s", BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from whowatch.h:1, BUILDSTDERR: from plist.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: plist.c:164:9: warning: pointer targets in returning 'u8 *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: return w->mwin->gbuf; BUILDSTDERR: ^ BUILDSTDERR: plist.c: In function 'ptreeinfo': BUILDSTDERR: plist.c:203:14: warning: pointer targets in initialization of 'char *' from 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *buf = w->mwin->gbuf; BUILDSTDERR: ^ BUILDSTDERR: plist.c: In function 'pmsgh': BUILDSTDERR: plist.c:289:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: return (int *)(intptr_t)(getprocbyname(w, (int)d)); BUILDSTDERR: ^ BUILDSTDERR: plist.c: In function 'ptree_unhide': BUILDSTDERR: plist.c:311:8: warning: operation on 'w->vy' may be undefined [-Wsequence-point] BUILDSTDERR: w->vy = w->vy = w->crsr = 0; BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proctree.c: In function 'update_tree': BUILDSTDERR: proctree.c:63:32: warning: '%s' directive writing up to 255 bytes into a region of size 26 [-Wformat-overflow=] BUILDSTDERR: sprintf(name+sizeof PROCDIR,"%s/stat",e->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from proctree.c:7: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 26 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -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 -c -o block.o block.c gcc -DHAVE_CONFIG_H -I. -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 -c -o owner.o owner.c gcc -DHAVE_CONFIG_H -I. -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 -c -o screen.o screen.c gcc -DHAVE_CONFIG_H -I. -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 -c -o ulist.o ulist.c gcc -DHAVE_CONFIG_H -I. -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 -c -o exti.o exti.c gcc -DHAVE_CONFIG_H -I. -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 -c -o pluglib.o pluglib.c BUILDSTDERR: ulist.c: In function 'uprint': BUILDSTDERR: ulist.c:86:22: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: n = snprintf(w->mwin->gbuf, w->mwin->gbsize, "%-14.14s %-9.9s %-6.6s %-19.19s %s", BUILDSTDERR: ~~~~~~~^~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from whowatch.h:1, BUILDSTDERR: from ulist.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: ulist.c:89:24: warning: pointer targets in passing argument 2 of 'scr_maddstr' differ in signedness [-Wpointer-sign] BUILDSTDERR: scr_maddstr(w, w->mwin->gbuf, u->line, 0, n); BUILDSTDERR: ~~~~~~~^~~~~~ BUILDSTDERR: In file included from ulist.c:1: BUILDSTDERR: whowatch.h:129:6: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: void scr_maddstr(struct wdgt *, char *, u32 , u32, u32); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ulist.c: In function 'read_utmp': BUILDSTDERR: ulist.c:113:17: warning: variable 'u' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct user_t *u; BUILDSTDERR: ^ BUILDSTDERR: ulist.c: In function 'umsgh': BUILDSTDERR: ulist.c:290:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: return (void *)(intptr_t)user_search(w, (u32)d); BUILDSTDERR: ^ BUILDSTDERR: pluglib.c: In function 'print': BUILDSTDERR: pluglib.c:25:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ BUILDSTDERR: pluglib.c: In function 'title': BUILDSTDERR: pluglib.c:51:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int n; BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -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 -c -o wdgts.o wdgts.c gcc -DHAVE_CONFIG_H -I. -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 -c -o proc_plugin.o proc_plugin.c BUILDSTDERR: wdgts.c: In function 'do_search': BUILDSTDERR: wdgts.c:28:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: ret = wmsg_send(w, MSND_SEARCH, (void *)type); BUILDSTDERR: ^ BUILDSTDERR: wdgts.c: In function 'ido_search': BUILDSTDERR: wdgts.c:78:25: warning: pointer targets in passing argument 2 of 'do_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: if(do_search(w, w->mwin->gbuf, type) == 2 && !type) { BUILDSTDERR: ~~~~~~~^~~~~~ BUILDSTDERR: wdgts.c:16:12: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: static int do_search(struct wdgt *w, char *s, int type) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: wdgts.c:79:23: warning: pointer targets in passing argument 2 of 'do_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: do_search(w, w->mwin->gbuf, 2); BUILDSTDERR: ~~~~~~~^~~~~~ BUILDSTDERR: wdgts.c:16:12: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} BUILDSTDERR: static int do_search(struct wdgt *w, char *s, int type) BUILDSTDERR: ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -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 -c -o user_plugin.o user_plugin.c BUILDSTDERR: proc_plugin.c: In function 'proc_starttime': BUILDSTDERR: proc_plugin.c:427:12: warning: pointer targets in passing argument 1 of 'ctime' differ in signedness [-Wpointer-sign] BUILDSTDERR: s = ctime(&sec); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from whowatch.h:13, BUILDSTDERR: from proc_plugin.c:11: BUILDSTDERR: /usr/include/time.h:142:14: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'long unsigned int *' BUILDSTDERR: extern char *ctime (const time_t *__timer) __THROW; BUILDSTDERR: ^~~~~ gcc -DHAVE_CONFIG_H -I. -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 -c -o kbd.o kbd.c BUILDSTDERR: proc_plugin.c: In function 'open_fds': BUILDSTDERR: proc_plugin.c:291:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 11 and 21 [-Wformat-truncation=] BUILDSTDERR: snprintf(buf, sizeof buf, "/proc/%d/fd/%s", pid, dn->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from whowatch.h:1, BUILDSTDERR: from proc_plugin.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 277 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: kbd.c: In function 'getkey': BUILDSTDERR: kbd.c:321:13: warning: pointer targets in initialization of 'char *' from 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *q = buf; BUILDSTDERR: ^~~ BUILDSTDERR: kbd.c:323:5: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: e = q; BUILDSTDERR: ^ 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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -o whowatch whowatch.o plist.o procinfo.o proctree.o block.o owner.o screen.o ulist.o exti.o pluglib.o wdgts.o proc_plugin.o user_plugin.o kbd.o -lncurses make[2]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6/src' make[1]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6/src' make[1]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dIeDL0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 + cd whowatch-1.8.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 + /usr/bin/install -d -m0755 /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/man/man1/ /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/bin + echo 'warning: %makeinstall is deprecated, try %make_install instead' BUILDSTDERR: warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr bindir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/etc datadir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share includedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/include libdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/var/lib mandir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/info install Making install in src make[1]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6/src' make[2]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/bin' /usr/bin/install -c whowatch '/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6/src' make[1]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6/src' make[1]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6' make[2]: Entering directory '/builddir/build/BUILD/whowatch-1.8.6' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 whowatch.1 '/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6' make[1]: Leaving directory '/builddir/build/BUILD/whowatch-1.8.6' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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: whowatch-1.8.6-1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xy2nml + umask 022 + cd /builddir/build/BUILD + cd whowatch-1.8.6 + DOCDIR=/builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr AUTHORS /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr ChangeLog /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr COPYING /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr PLUGINS.readme /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr README /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + cp -pr TODO /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64/usr/share/doc/whowatch + exit 0 Provides: whowatch = 1.8.6-1.fc29 whowatch(riscv-64) = 1.8.6-1.fc29 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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 Wrote: /builddir/build/RPMS/whowatch-1.8.6-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.taDwir + umask 022 + cd /builddir/build/BUILD + cd whowatch-1.8.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/whowatch-1.8.6-1.fc29.riscv64 + exit 0 Child return code was: 0