Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/whowatch.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80613-53724/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/whowatch-1.8.6-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/whowatch.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80613-53724/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U7jfwm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf whowatch-1.8.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/whowatch-1.8.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd whowatch-1.8.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/whowatch-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2KDur5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd whowatch-1.8.6 + touch aclocal.m4 Makefile.in src/config.h.in + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-06-04 15:32:42.868221132 +0800 +++ ./configure 2024-06-04 15:32:42.900221334 +0800 @@ -1881,7 +1881,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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 aarch64-opencloudos-linux-gnu-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 -j8 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o whowatch.o whowatch.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o plist.o plist.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o procinfo.o procinfo.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o proctree.o proctree.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o block.o block.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o owner.o owner.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o screen.o screen.c plist.c: In function 'prepare_line': plist.c:152:42: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 152 | offset = snprintf(w->mwin->gbuf, w->mwin->gbsize, "\x6%4d ", p->line + 1); | ~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from whowatch.h:1, from plist.c:1: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ plist.c:155:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 155 | snprintf(w->mwin->gbuf+offset, w->mwin->gbsize-offset ,"\x3%5d %c%c \x3%-8s \x2%s \x3%s", | ~~~~~~~~~~~~~^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ plist.c:160:39: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 160 | snprintf(w->mwin->gbuf+offset, w->mwin->gbsize-offset,"\x3%5d %c%c \x2%s \x3%s", | ~~~~~~~~~~~~~^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ plist.c:164:16: warning: pointer targets in returning 'u8 *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 164 | return w->mwin->gbuf; | ^ plist.c: In function 'ptreeinfo': plist.c:203:21: warning: pointer targets in initialization of 'char *' from 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 203 | char *buf = w->mwin->gbuf; | ^ plist.c: In function 'pmsgh': plist.c:289:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 289 | return (int *)(intptr_t)(getprocbyname(w, (int)d)); | ^ plist.c: In function 'ptree_unhide': plist.c:311:15: warning: operation on 'w->vy' may be undefined [-Wsequence-point] 311 | w->vy = w->vy = w->crsr = 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o ulist.o ulist.c proctree.c: In function 'update_tree': proctree.c:63:46: warning: '%s' directive writing up to 255 bytes into a region of size 26 [-Wformat-overflow=] 63 | sprintf(name+sizeof PROCDIR,"%s/stat",e->d_name); | ^~ In file included from /usr/include/stdio.h:964, from proctree.c:7: In function 'sprintf', inlined from 'get_pinfo' at proctree.c:63:3, inlined from 'update_tree' at proctree.c:182:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 6 and 261 bytes into a destination of size 26 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ proctree.c: In function 'tree_string': proctree.c:264:14: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 264 | s[0] = '.'; | ~~~~~^~~~~ proctree.c:243:13: note: at offset -2 into destination object 'buf' of size 66 243 | static char buf[TREE_STRING_SZ]; | ^~~ proctree.c:267:22: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 267 | s[0] = '-'; | ~~~~~^~~~~ proctree.c:243:13: note: at offset -2 into destination object 'buf' of size 66 243 | static char buf[TREE_STRING_SZ]; | ^~~ ulist.c: In function 'uprint': ulist.c:86:29: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 86 | n = snprintf(w->mwin->gbuf, w->mwin->gbsize, "%-14.14s %-9.9s %-6.6s %-19.19s %s", | ~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from whowatch.h:1, from ulist.c:1: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ulist.c:89:31: warning: pointer targets in passing argument 2 of 'scr_maddstr' differ in signedness [-Wpointer-sign] 89 | scr_maddstr(w, w->mwin->gbuf, u->line, 0, n); | ~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} whowatch.h:129:33: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 129 | void scr_maddstr(struct wdgt *, char *, u32 , u32, u32); | ^~~~~~ ulist.c: In function 'read_utmp': gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o exti.o exti.c ulist.c:113:24: warning: variable 'u' set but not used [-Wunused-but-set-variable] 113 | struct user_t *u; | ^ ulist.c: In function 'umsgh': ulist.c:290:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 290 | return (void *)(intptr_t)user_search(w, (u32)d); | ^ gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o pluglib.o pluglib.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o wdgts.o wdgts.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o proc_plugin.o proc_plugin.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o user_plugin.o user_plugin.c gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o kbd.o kbd.c pluglib.c: In function 'print': pluglib.c:25:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 25 | int n; | ^ pluglib.c: In function 'title': pluglib.c:51:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 51 | int n; | ^ kbd.c: In function 'getkey': kbd.c:321:27: warning: pointer targets in initialization of 'char *' from 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 321 | char *q = buf; | ^~~ kbd.c:323:19: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 323 | e = q; | ^ wdgts.c: In function 'do_search': wdgts.c:28:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 28 | ret = wmsg_send(w, MSND_SEARCH, (void *)type); | ^ wdgts.c: In function 'ido_search': wdgts.c:78:32: warning: pointer targets in passing argument 2 of 'do_search' differ in signedness [-Wpointer-sign] 78 | if(do_search(w, w->mwin->gbuf, type) == 2 && !type) { | ~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} wdgts.c:16:44: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 16 | static int do_search(struct wdgt *w, char *s, int type) | ~~~~~~^ wdgts.c:79:37: warning: pointer targets in passing argument 2 of 'do_search' differ in signedness [-Wpointer-sign] 79 | do_search(w, w->mwin->gbuf, 2); | ~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} wdgts.c:16:44: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 16 | static int do_search(struct wdgt *w, char *s, int type) | ~~~~~~^ proc_plugin.c: In function 'proc_starttime': proc_plugin.c:427:19: warning: pointer targets in passing argument 1 of 'ctime' differ in signedness [-Wpointer-sign] 427 | s = ctime(&sec); | ^~~~ | | | long unsigned int * In file included from whowatch.h:13, from proc_plugin.c:11: /usr/include/time.h:184:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'long unsigned int *' 184 | extern char *ctime (const time_t *__timer) __THROW; | ~~~~~~~~~~~~~~^~~~~~~ proc_plugin.c: In function 'open_fds': proc_plugin.c:291:56: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 11 and 21 [-Wformat-truncation=] 291 | snprintf(buf, sizeof buf, "/proc/%d/fd/%s", pid, dn->d_name); | ^~ In file included from /usr/include/stdio.h:964, from whowatch.h:1: In function 'snprintf', inlined from 'open_fds' at proc_plugin.c:291:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 277 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 proctree.c: In function 'tree_string': proctree.c:264:14: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 264 | s[0] = '.'; | ^ proctree.c:243:13: note: at offset -2 into destination object 'buf' of size 66 243 | static char buf[TREE_STRING_SZ]; | ^ proctree.c:267:22: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 267 | s[0] = '-'; | ^ proctree.c:243:13: note: at offset -2 into destination object 'buf' of size 66 243 | static char buf[TREE_STRING_SZ]; | ^ 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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7S4BOF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64 + cd whowatch-1.8.6 + /usr/bin/install -d -m0755 /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/man/man1/ /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/bin + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr exec_prefix=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr bindir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/bin sbindir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/etc datadir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share includedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/include libdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/libexec localstatedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/var sharedstatedir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/var/lib mandir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/man infodir=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/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.oc9.aarch64/usr/bin' /usr/bin/install -c whowatch '/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/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.oc9.aarch64/usr/share/man/man1' /usr/bin/install -c -m 644 whowatch.1 '/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/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/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.8.6-1.oc9 --unique-debug-suffix -1.8.6-1.oc9.aarch64 --unique-debug-src-base whowatch-1.8.6-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/whowatch-1.8.6 extracting debug info from /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/bin/whowatch 174 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: whowatch-1.8.6-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oJC36d + umask 022 + cd /builddir/build/BUILD + cd whowatch-1.8.6 + DOCDIR=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/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.oc9.aarch64/usr/share/doc/whowatch + cp -pr AUTHORS /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/doc/whowatch + cp -pr ChangeLog /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/doc/whowatch + cp -pr PLUGINS.readme /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/doc/whowatch + cp -pr README /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/doc/whowatch + cp -pr TODO /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/doc/whowatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.omBsLB + umask 022 + cd /builddir/build/BUILD + cd whowatch-1.8.6 + LICENSEDIR=/builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/licenses/whowatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/licenses/whowatch + cp -pr COPYING /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64/usr/share/licenses/whowatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: whowatch = 1.8.6-1.oc9 whowatch(aarch-64) = 1.8.6-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: whowatch-debugsource-1.8.6-1.oc9.aarch64 Provides: whowatch-debugsource = 1.8.6-1.oc9 whowatch-debugsource(aarch-64) = 1.8.6-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: whowatch-debuginfo-1.8.6-1.oc9.aarch64 Provides: debuginfo(build-id) = d2c2abed89abb63c34b4434bb7f94e1dab4e1ab4 whowatch-debuginfo = 1.8.6-1.oc9 whowatch-debuginfo(aarch-64) = 1.8.6-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: whowatch-debugsource(aarch-64) = 1.8.6-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/whowatch-1.8.6-1.oc9.aarch64 Wrote: /builddir/build/RPMS/whowatch-debugsource-1.8.6-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/whowatch-1.8.6-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/whowatch-debuginfo-1.8.6-1.oc9.aarch64.rpm Child return code was: 0