+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mod_qos.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.JKCEi3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_qos-11.41 + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_qos-11.41.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_qos-11.41 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pvQ3yN + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.41 + /usr/bin/apxs '-Wc,-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 ' -c apache2/mod_qos.c -lcrypto -lpcre /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -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 -c -o apache2/mod_qos.lo apache2/mod_qos.c && touch apache2/mod_qos.slo apache2/mod_qos.c:45:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: mod_qos.c,v 5.653 2017/07/17 16:00:57 pbuchbinder Exp $"; ^~~~~~~~ apache2/mod_qos.c: In function 'qos_unique_id': apache2/mod_qos.c:1214:32: warning: '*((void *)&id+30)' may be used uninitialized in this function [-Wmaybe-uninitialized] *p++ = qos_basis_64[(string[i] >> 2) & 0x3F]; ~~~~~~^~~ apache2/mod_qos.c:1221:41: warning: '*((void *)&id+31)' may be used uninitialized in this function [-Wmaybe-uninitialized] ((int) (string[i + 1] & 0xF0) >> 4)]; ~~~~~~^~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o apache2/mod_qos.la -rpath /usr/lib64/httpd/modules -module -avoid-version apache2/mod_qos.lo -lcrypto -lpcre + pushd . ~/build/BUILD/mod_qos-11.41 ~/build/BUILD/mod_qos-11.41 + cd tools/ + aclocal + automake --add-missing configure.ac:11: installing './compile' + 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/mod_qos-11.41/tools/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/mod_qos-11.41/tools/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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-redhat-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 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/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 netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for ftruncate... yes checking for gethostbyname... yes checking for memset... yes checking for regcomp... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes 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 config.h config.status: executing depfiles commands + make -j4 CDPATH="${ZSH_VERSION+.}:" && cd . && autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/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 build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu 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 LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/mod_qos-11.41/tools/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/mod_qos-11.41/tools/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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-redhat-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 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/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 netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for ftruncate... yes checking for gethostbyname... yes checking for memset... yes checking for regcomp... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools' Making all in src make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qsfilter2.o qsfilter2.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qs_util.o qs_util.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qslog.o qslog.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qspng.o qspng.c qs_util.c: In function 'qs_setuid': qs_util.c:314:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(gid); ^~~~~~~~~~~ qs_util.c:315:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ At top level: qs_util.c:25:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qs_util.c,v 1.24 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qspng.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qspng.c,v 1.24 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qslog.c: In function 'getFreeMem': qslog.c:607:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ qsfilter2.c: In function 'main': qsfilter2.c:1815:38: warning: passing argument 1 of 'OPENSSL_sk_new' from incompatible pointer type [-Wincompatible-pointer-types] STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); ^~~~~~~~~~~~ In file included from /usr/include/openssl/safestack.h:13:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:28:16: note: expected 'OPENSSL_sk_compfunc {aka int (*)(const void *, const void *)}' but argument is of type 'int (*)(const char * const*, const char * const*)' OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); ^~~~~~~~~~~~~~ qsfilter2.c:1815:31: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); ^~~~~~ qsfilter2.c:1823:15: warning: passing argument 1 of 'OPENSSL_sk_push' from incompatible pointer type [-Wincompatible-pointer-types] sk_push(st, (char *)r); ^~ In file included from /usr/include/openssl/safestack.h:13:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:38:5: note: expected 'OPENSSL_STACK * {aka struct stack_st *}' but argument is of type 'struct stack_st_qs_rule_t *' int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data); ^~~~~~~~~~~~~~~ qsfilter2.c:1825:13: warning: passing argument 1 of 'OPENSSL_sk_sort' from incompatible pointer type [-Wincompatible-pointer-types] sk_sort(st); ^~ In file included from /usr/include/openssl/safestack.h:13:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:45:6: note: expected 'OPENSSL_STACK * {aka struct stack_st *}' but argument is of type 'struct stack_st_qs_rule_t *' void OPENSSL_sk_sort(OPENSSL_STACK *st); ^~~~~~~~~~~~~~~ qsfilter2.c:1826:16: warning: passing argument 1 of 'OPENSSL_sk_num' from incompatible pointer type [-Wincompatible-pointer-types] i = sk_num(st); ^~ In file included from /usr/include/openssl/safestack.h:13:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:23:5: note: expected 'const OPENSSL_STACK * {aka const struct stack_st *}' but argument is of type 'struct stack_st_qs_rule_t *' int OPENSSL_sk_num(const OPENSSL_STACK *); ^~~~~~~~~~~~~~ qsfilter2.c:1828:33: warning: passing argument 1 of 'OPENSSL_sk_value' from incompatible pointer type [-Wincompatible-pointer-types] r = (qs_rule_t *)sk_value(st, i-1); ^~ In file included from /usr/include/openssl/safestack.h:13:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:24:7: note: expected 'const OPENSSL_STACK * {aka const struct stack_st *}' but argument is of type 'struct stack_st_qs_rule_t *' void *OPENSSL_sk_value(const OPENSSL_STACK *, int); ^~~~~~~~~~~~~~~~ At top level: qslog.c:31:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qslog.c,v 1.106 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qsrotate.o qsrotate.c At top level: qsfilter2.c:29:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qsfilter2.c,v 1.83 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qsrotate.c: In function 'compressThread': qsrotate.c:216:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] if((outfp = gzopen(dest,"wb")) == NULL) { ^ qsrotate.c:222:13: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] gzwrite(outfp, buf, len); ^~~~~ In file included from qsrotate.c:43:0: /usr/include/zlib.h:1446:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^~~~~~~ qsrotate.c:224:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] gzclose(outfp); ^~~~~ In file included from qsrotate.c:43:0: /usr/include/zlib.h:1630:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~~~~~~ qsrotate.c: In function 'rotate': qsrotate.c:247:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ qsrotate.c: In function 'main': qsrotate.c:326:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ At top level: qsrotate.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qsrotate.c,v 1.35 2017/07/17 08:42:35 pbuchbinder Exp $"; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qssign.o qssign.c qsrotate.c: In function 'main': qsrotate.c:446:7: warning: 'nWrite' may be used uninitialized in this function [-Wmaybe-uninitialized] if(nWrite != nRead) { ^ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qs_apo.o qs_apo.c qslog.c: In function 'updateStat': qslog.c:1530:7: warning: 'tmems' may be used uninitialized in this function [-Wmaybe-uninitialized] if((tmems) == 0 && (tme > 0)) { ^ qssign.c:27:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qssign.c,v 1.49 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qs_apo.c:26:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qs_apo.c,v 1.3 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qstail.o qstail.c qstail.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qstail.c,v 1.19 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qsgrep.o qsgrep.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qsexec.o qsexec.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qscheck.o qscheck.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qsgeo.o qsgeo.c qsgrep.c:29:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qsgrep.c,v 1.19 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qsexec.c: In function 'main': qsexec.c:375:8: warning: unused variable 'rc' [-Wunused-variable] int rc = system(replaced); ^~ qsexec.c:391:10: warning: unused variable 'rc' [-Wunused-variable] int rc = system(replaced); ^~ At top level: qsexec.c:27:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qsexec.c,v 1.28 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qscheck.c: In function 'ping': qscheck.c:100:6: warning: unused variable 'ret' [-Wunused-variable] int ret = connect(skt, (struct sockaddr*)&addr, sizeof(struct sockaddr_in)); ^~~ qscheck.c: In function 'checkHost': qscheck.c:162:7: warning: unused variable 'status' [-Wunused-variable] int status = 1; ^~~~~~ qscheck.c: In function 'checkFile': qscheck.c:288:14: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ qscheck.c:316:14: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(&file[i] != '\0') { ^~ qscheck.c:316:5: note: did you mean to dereference the pointer? if(&file[i] != '\0') { ^ qscheck.c:332:14: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(&sr[i] != '\0') { ^~ qscheck.c:332:7: note: did you mean to dereference the pointer? if(&sr[i] != '\0') { ^ At top level: qscheck.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qscheck.c,v 1.11 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qsexec.c: In function 'main': qsexec.c:390:19: warning: 'countertime' may be used uninitialized in this function [-Wmaybe-uninitialized] if(countertime + sec >= time(NULL)) { ~~~~~~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qslogger.o qslogger.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -c -o qshead.o qshead.c qsgeo.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qsgeo.c,v 1.25 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qsfilter2 qsfilter2.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz qshead.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qshead.c,v 1.6 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ qslogger.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] static const char revision[] = "$Id: qslogger.c,v 1.26 2017/06/29 05:24:33 pbuchbinder Exp $"; ^~~~~~~~ gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qslog qslog.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qspng qspng.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qsrotate qsrotate.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qssign qssign.o qs_util.o qs_apo.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qstail qstail.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qsgrep qsgrep.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qsexec qsexec.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qscheck qscheck.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qsgeo qsgeo.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qslogger qslogger.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -pthread -I/usr/include/libpng16 -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/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qshead qshead.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools' make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools' + popd ~/build/BUILD/mod_qos-11.41 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rGnQiT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 + cd mod_qos-11.41 + rm -rf /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 + install -Dpm 755 apache2/.libs/mod_qos.so /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/lib64/httpd/modules/mod_qos.so + install -Dpm 644 /builddir/build/SOURCES/10-mod_qos.conf /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/etc/httpd/conf.modules.d/10-mod_qos.conf + cd tools/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/bin' /usr/bin/install -p qsfilter2 qslog qspng qsrotate qssign qstail qsgrep qsexec qscheck qsgeo qslogger qshead '/builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools/src' make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.41/tools' 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/mod_qos-11.41/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.41/tools' + install -d /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/man/man1/ + install -Dpm 644 man1/mod_qos.1 man1/qsexec.1 man1/qsfilter2.1 man1/qsgeo.1 man1/qsgrep.1 man1/qshead.1 man1/qslog.1 man1/qslogger.1 man1/qspng.1 man1/qsrotate.1 man1/qssign.1 man1/qstail.1 /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/man/man1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/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: mod_qos-11.41-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ckCt2j + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.41 + DOCDIR=/builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/doc/mod_qos + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/doc/mod_qos + cp -pr doc /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/doc/mod_qos + cp -pr README.TXT /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64/usr/share/doc/mod_qos + exit 0 Provides: config(mod_qos) = 11.41-3.fc28 mod_qos = 11.41-3.fc28 mod_qos(riscv-64) = 11.41-3.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) libapr-1.so.0()(64bit) libaprutil-1.so.0()(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) libdb-5.3.so()(64bit) libdl.so.2()(64bit) libexpat.so.1()(64bit) liblber-2.4.so.2()(64bit) libldap_r-2.4.so.2()(64bit) libpcre.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_qos-11.41-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/mod_qos-11.41-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mod_qos-11.41-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PPrqxU + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.41 + rm -rf /builddir/build/BUILDROOT/mod_qos-11.41-3.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