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/apachetop.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-151023-9979/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/apachetop.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/apachetop-0.23.2-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/apachetop.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-151023-9979/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/apachetop.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.T6pbZV + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/OpenCloudOS/gpgverify --keyring=/builddir/build/SOURCES/8A5570C1BD85D34EADBC386C172380A011EF4944 --signature=/builddir/build/SOURCES/apachetop-0.23.2.tar.gz.asc --data=/builddir/build/SOURCES/apachetop-0.23.2.tar.gz gpgv: Signature made Thu Feb 16 06:13:58 2023 CST gpgv: using RSA key D7DD5CB22AA99BC7F92E7F56BE0985349D44DD00 gpgv: Good signature from "Helmut K. C. Tessarek " gpgv: aka "Helmut K. C. Tessarek " gpgv: aka "Helmut K. C. Tessarek " gpgv: aka "K. C. Tessarek " gpgv: aka "K. C. Tessarek " + cd /builddir/build/BUILD + rm -rf apachetop-0.23.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/apachetop-0.23.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd apachetop-0.23.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8pB83p + 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 apachetop-0.23.2 + '[' '-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 2023-02-16 06:10:01.000000000 +0800 +++ ./configure 2024-05-08 15:46:30.032902037 +0800 @@ -1779,7 +1779,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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/config.guess' + '[' 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 --with-logfile=/var/log/httpd/access_log checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for aarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking for limits.h... yes checking for sys/param.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for off_t... yes checking for size_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for GNU libc compatible malloc... yes checking for vprintf... yes checking for inet_aton... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for kqueue... no checking for strerror... yes checking for strstr... yes checking for pcre2.h... yes checking for library containing pcre2_compile_8... -lpcre2-8 checking for fam.h... no configure: WARNING: *** fam.h not found -- consider using --with-fam checking for adns.h... no configure: WARNING: *** adns.h not found -- consider using --with-adns checking for library containing socket... none required checking for library containing inet_addr... none required checking for NCURSES... yes checking for library containing readline... -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 inlines.o inlines.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from inlines.cc:1: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 queue.o queue.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from queue.cc:1: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 map.o map.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from map.cc:1: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 resolver.o resolver.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 hits_circle.o hits_circle.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from hits_circle.cc:9: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 ohtbl.o ohtbl.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from ohtbl.cc:1: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 log.o log.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' log.cc: In member function 'virtual int CommonLogParser::parse(char*, logbits*)': log.cc:31:28: warning: unused variable 'addr' [-Wunused-variable] 31 | struct sockaddr_in addr; | ^~~~ In file included from log.cc:1: apachetop.h: At global scope: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 timed_circle.o timed_circle.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' timed_circle.cc: In member function 'void Timed_Circle::resetbucketstats(unsigned int)': timed_circle.cc:89:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 89 | for(x = 0 ; x < bucket->hitsize ; x++) | ~~^~~~~~~~~~~~~~~~~ In file included from timed_circle.cc:1: apachetop.h: At global scope: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 filters.o filters.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' In file included from filters.cc:1: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 apachetop.o apachetop.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' apachetop.cc: In function 'int main(int, char**)': apachetop.cc:513:9: warning: deleting object of polymorphic class type 'CommonLogParser' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 513 | delete cmmp; | ^~~~~~~~~~~ apachetop.cc: In function 'int dprintf(const char*, ...)': apachetop.cc:1124:24: warning: ignoring return value of 'char* mkdtemp(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1124 | mkdtemp( fileName ); | ~~~~~~~^~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -DHAVE_CONFIG_H -I. -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 display.o display.cc make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' display.cc: In function 'bool display(time_t)': display.cc:28:23: warning: unused variable 'w_gstats' [-Wunused-variable] 28 | struct gstat *w_gstats; | ^~~~~~~~ display.cc:29:17: warning: unused variable 'w_c' [-Wunused-variable] 29 | Circle *w_c; | ^~~ display.cc: In function 'void display_histogram()': display.cc:1214:68: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] 1214 | mvprintw(HISTOGRAM_START + hist_height+1, hist_width+3, "-%ds", | ~^ | | | int | %ld 1215 | now - c->oldest()); | ~~~~~~~~~~~~~~~~~ | | | time_t {aka long int} display.cc:1134:24: warning: unused variable 'oldest' [-Wunused-variable] 1134 | int i, j, age, oldest; | ^~~~~~ In file included from display.cc:1: apachetop.h: At global scope: apachetop.h:285:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function] 285 | static void catchsig(int s); | ^~~~~~~~ apachetop.h:286:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function] 286 | static void catchwinch(int s); | ^~~~~~~~~~ display.cc: In function 'shellsort_wrapper(itemlist*, unsigned int, config)': display.cc:955:18: warning: 'sort_method' may be used uninitialized [-Wmaybe-uninitialized] 955 | shellsort(items, size, sort_method); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ display.cc:937:15: note: 'sort_method' was declared here 937 | short sort_method; | ^~~~~~~~~~~ In function 'shellsort_wrapper(itemlist*, unsigned int, config)', inlined from 'display_sub_list(short, unsigned short, unsigned short)' at display.cc:764:34: display.cc:955:18: warning: 'sort_method' may be used uninitialized [-Wmaybe-uninitialized] 955 | shellsort(items, size, sort_method); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ display.cc: In function 'display_sub_list(short, unsigned short, unsigned short)': display.cc:937:15: note: 'sort_method' was declared here 937 | short sort_method; | ^~~~~~~~~~~ In function 'shellsort_wrapper(itemlist*, unsigned int, config)', inlined from 'display_list()' at display.cc:541:34: display.cc:955:18: warning: 'sort_method' may be used uninitialized [-Wmaybe-uninitialized] 955 | shellsort(items, size, sort_method); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ display.cc: In function 'display_list()': display.cc:937:15: note: 'sort_method' was declared here 937 | short sort_method; | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' g++ -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 -o apachetop apachetop.o log.o inlines.o ohtbl.o map.o queue.o display.o hits_circle.o timed_circle.o filters.o resolver.o -lreadline -lpcre2-8 -lncurses -ltinfo make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EUSrbS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 + cd apachetop-0.23.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/man' make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 apachetop.1 '/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/man' make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/bin' /usr/bin/install -p apachetop '/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2/src' make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2' make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.23.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2' make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.23.2' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.23.2-1.ocs23 --unique-debug-suffix -0.23.2-1.ocs23.aarch64 --unique-debug-src-base apachetop-0.23.2-1.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/apachetop-0.23.2 extracting debug info from /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/bin/apachetop 203 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: apachetop-0.23.2-1.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hDpDxK + umask 022 + cd /builddir/build/BUILD + cd apachetop-0.23.2 + DOCDIR=/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/doc/apachetop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/doc/apachetop + cp -pr AUTHORS /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/doc/apachetop + cp -pr ChangeLog /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/doc/apachetop + cp -pr README /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/doc/apachetop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PPVdIT + umask 022 + cd /builddir/build/BUILD + cd apachetop-0.23.2 + LICENSEDIR=/builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/licenses/apachetop + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/licenses/apachetop + cp -pr LICENSE /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64/usr/share/licenses/apachetop + RPM_EC=0 ++ jobs -p + exit 0 Provides: apachetop = 0.23.2-1.ocs23 apachetop(aarch-64) = 0.23.2-1.ocs23 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) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libncurses.so.6()(64bit) libpcre2-8.so.0()(64bit) libreadline.so.8()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: apachetop-debugsource-0.23.2-1.ocs23.aarch64 Provides: apachetop-debugsource = 0.23.2-1.ocs23 apachetop-debugsource(aarch-64) = 0.23.2-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: apachetop-debuginfo-0.23.2-1.ocs23.aarch64 Provides: apachetop-debuginfo = 0.23.2-1.ocs23 apachetop-debuginfo(aarch-64) = 0.23.2-1.ocs23 debuginfo(build-id) = 633b76e89000fbce31c04b673e5dce636e531e0e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: apachetop-debugsource(aarch-64) = 0.23.2-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/apachetop-0.23.2-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/apachetop-debugsource-0.23.2-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/apachetop-0.23.2-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/apachetop-debuginfo-0.23.2-1.ocs23.aarch64.rpm Child return code was: 0