Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_qos.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/infra7-infra-common-el7-build-93074-800353/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_qos.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False cat: /usr/include/httpd/.mmn: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_qos-11.64-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_qos.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/infra7-infra-common-el7-build-93074-800353/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_qos.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cjMGHY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_qos-11.64 + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_qos-11.64.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_qos-11.64 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hjyCwb + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.64 + /usr/bin/apxs '-Wc,-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' -c apache2/mod_qos.c -lcrypto -lpcre /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o apache2/mod_qos.lo apache2/mod_qos.c && touch apache2/mod_qos.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o apache2/mod_qos.la -rpath /usr/lib64/httpd/modules -module -avoid-version apache2/mod_qos.lo -lcrypto -lpcre ~/build/BUILD/mod_qos-11.64 ~/build/BUILD/mod_qos-11.64 + pushd . + cd tools/ + aclocal + automake --add-missing + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 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 x86_64-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 -j20 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mod_qos-11.64/tools/missing autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic LDFLAGS=-Wl,-z,relro --no-create --no-recursion 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 x86_64-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 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 . && /bin/sh /builddir/build/BUILD/mod_qos-11.64/tools/missing 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.64/tools' Making all in src make[2]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsfilter2.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qs_util.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qslog.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qspng.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsrotate.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qssign.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qs_apo.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qstail.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsgrep.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsexec.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qscheck.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsgeo.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qslogger.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qshead.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsdt.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsrespeed.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -c qsre.c qsrotate.c: In function 'compressThread': qsrotate.c:228:13: warning: assignment from incompatible pointer type [enabled by default] if((outfp = gzopen(dest,"wb")) == NULL) { ^ qsrotate.c:235:5: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [enabled by default] gzwrite(outfp, buf, len); ^ In file included from qsrotate.c:43:0: /usr/include/zlib.h:1324:21: note: expected 'gzFile' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ qsrotate.c:237:3: warning: passing argument 1 of 'gzclose' from incompatible pointer type [enabled by default] gzclose(outfp); ^ In file included from qsrotate.c:43:0: /usr/include/zlib.h:1494:24: note: expected 'gzFile' but argument is of type 'struct gzFile_s **' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ qsrotate.c: In function 'rotate': qsrotate.c:267:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ qsrotate.c: In function 'main': qsrotate.c:346:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ qsrotate.c: In function 'writeTimestamp': qsrotate.c:254:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(m_nLogFD, time_string, TME_STR_LEN); ^ 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); ^ 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)); ^ qs_util.c: In function 'qs_setuid': qs_util.c:317:11: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(gid); ^ qs_util.c:318:11: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^ 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; ^ qsfilter2.c: In function 'main': qsfilter2.c:1815:31: warning: initialization from incompatible pointer type [enabled by default] STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); ^ qsfilter2.c:1823:7: warning: passing argument 1 of 'sk_push' from incompatible pointer type [enabled by default] sk_push(st, (char *)r); ^ In file included from /usr/include/openssl/safestack.h:58:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:92:5: note: expected 'struct _STACK *' but argument is of type 'struct stack_st_qs_rule_t *' int sk_push(_STACK *st, void *data); ^ qsfilter2.c:1825:5: warning: passing argument 1 of 'sk_sort' from incompatible pointer type [enabled by default] sk_sort(st); ^ In file included from /usr/include/openssl/safestack.h:58:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:100:6: note: expected 'struct _STACK *' but argument is of type 'struct stack_st_qs_rule_t *' void sk_sort(_STACK *st); ^ qsfilter2.c:1826:5: warning: passing argument 1 of 'sk_num' from incompatible pointer type [enabled by default] i = sk_num(st); ^ In file included from /usr/include/openssl/safestack.h:58:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:77:5: note: expected 'const struct _STACK *' but argument is of type 'struct stack_st_qs_rule_t *' int sk_num(const _STACK *); ^ qsfilter2.c:1828:7: warning: passing argument 1 of 'sk_value' from incompatible pointer type [enabled by default] r = (qs_rule_t *)sk_value(st, i-1); ^ In file included from /usr/include/openssl/safestack.h:58:0, from qsfilter2.c:61: /usr/include/openssl/stack.h:78:7: note: expected 'const struct _STACK *' but argument is of type 'struct stack_st_qs_rule_t *' void *sk_value(const _STACK *, int); ^ qslog.c: In function 'getFreeMem': qslog.c:646:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^ qsexec.c:390:19: warning: 'countertime' may be used uninitialized in this function [-Wmaybe-uninitialized] if(countertime + sec >= time(NULL)) { ^ gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz qsrotate.c: In function 'main': qsrotate.c:499:9: warning: 'nWrite' may be used uninitialized in this function [-Wmaybe-uninitialized] if(nWrite != nRead) { ^ gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -o qsre qsre.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -o qsrespeed qsrespeed.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -o qsdt qsdt.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -ldl -lldap_r -llber -ldb-5.3 -lexpat -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz gcc -pthread -I/usr/include/libpng15 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -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 -ldb-5.3 -lpcre -lpng15 -lz make[2]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' make[2]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/tools' make[2]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools' make[1]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools' ~/build/BUILD/mod_qos-11.64 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0ycaPS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 + cd mod_qos-11.64 + install -Dpm 755 apache2/.libs/mod_qos.so /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/lib64/httpd/modules/mod_qos.so + install -Dpm 644 /builddir/build/SOURCES/10-mod_qos.conf /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/etc/httpd/conf.modules.d/10-mod_qos.conf + cd tools/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 Making install in src make[1]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' make[2]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin' /usr/bin/install -c qsfilter2 qslog qspng qsrotate qssign qstail qsgrep qsexec qscheck qsgeo qslogger qshead qsdt qsrespeed qsre '/builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' make[1]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools/src' make[1]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/tools' make[2]: Entering directory `/builddir/build/BUILD/mod_qos-11.64/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.64/tools' make[1]: Leaving directory `/builddir/build/BUILD/mod_qos-11.64/tools' + install -d /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/man/man1/ + install -Dpm 644 man1/mod_qos.1 man1/qsdt.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/qsre.1 man1/qsrespeed.1 man1/qsrotate.1 man1/qssign.1 man1/qstail.1 /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/mod_qos-11.64 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/lib64/httpd/modules/mod_qos.so extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsgrep extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsrotate extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsfilter2 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsgeo extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qspng extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsdt extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qssign extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qstail extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsre extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qslogger extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qshead extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsrespeed extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qscheck extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qslog extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/bin/qsexec /usr/lib/rpm/sepdebugcrcfix: Updated 16 CRC32s, 0 CRC32s did match. 1707 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: mod_qos-11.64-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PoVA1F + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.64 + DOCDIR=/builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/doc/mod_qos-11.64 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/doc/mod_qos-11.64 + cp -pr doc /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/doc/mod_qos-11.64 + cp -pr README.TXT /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64/usr/share/doc/mod_qos-11.64 + exit 0 Provides: config(mod_qos) = 11.64-1.el7 mod_qos = 11.64-1.el7 mod_qos(x86-64) = 11.64-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libapr-1.so.0()(64bit) libaprutil-1.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(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) libpng15.so.15()(64bit) libpng15.so.15(PNG15_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: mod_qos-debuginfo-11.64-1.el7.x86_64 Provides: mod_qos-debuginfo = 11.64-1.el7 mod_qos-debuginfo(x86-64) = 11.64-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 Wrote: /builddir/build/RPMS/mod_qos-11.64-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/mod_qos-debuginfo-11.64-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Xhumg7 + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_qos-11.64-1.el7.x86_64 + exit 0 Child return code was: 0