Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mod_qos.spec'], chrootPath='/var/lib/mock/f36-build-32655093-4404630/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mod_qos.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 cat: /usr/include/httpd/.mmn: No such file or directory Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642896000 Wrote: /builddir/build/SRPMS/mod_qos-11.70-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/mod_qos.spec'], chrootPath='/var/lib/mock/f36-build-32655093-4404630/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/mod_qos.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 setting SOURCE_DATE_EPOCH=1642896000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jo7bbT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_qos-11.70 + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_qos-11.70.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_qos-11.70 + /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.foNbgZ + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh mod_qos 11.70-1.fc36 aarch64 + cd mod_qos-11.70 + /usr/lib64/httpd/build/vendor-apxs '-Wc,-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' -c apache2/mod_qos.c -lcrypto -lpcre /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o apache2/mod_qos.lo apache2/mod_qos.c && touch apache2/mod_qos.slo apache2/mod_qos.c: In function 'qos_encrypt': apache2/mod_qos.c:2247:3: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2247 | hmac_p = HMAC_CTX_new(); | ^~~~~~ In file included from apache2/mod_qos.c:95: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ apache2/mod_qos.c:2250:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2250 | HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ apache2/mod_qos.c:2254:3: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2254 | HMAC_Update(hmac_p, b, l); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ apache2/mod_qos.c:2255:3: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2255 | HMAC_Final(hmac_p, hash, &hashLen); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ apache2/mod_qos.c:2259:3: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2259 | HMAC_CTX_free(hmac_p); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ apache2/mod_qos.c: In function 'qos_decrypt': apache2/mod_qos.c:2396:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2396 | hmac_p = HMAC_CTX_new(); | ^~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ apache2/mod_qos.c:2399:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2399 | HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ apache2/mod_qos.c:2403:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2403 | HMAC_Update(hmac_p, &buf[QOS_HASH_LEN], buf_len); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ apache2/mod_qos.c:2404:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2404 | HMAC_Final(hmac_p, hash, &hashLen); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ apache2/mod_qos.c:2408:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2408 | HMAC_CTX_free(hmac_p); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ apache2/mod_qos.c: In function 'qos_pre_process_connection': apache2/mod_qos.c:8574:75: warning: the comparison will always evaluate as 'false' for the address of 'country' will never be NULL [-Waddress] 8574 | if(sconf->geo_excludeUnknown == 1 && (pB == NULL || pB->country == NULL)) { | ^~ apache2/mod_qos.c:339:8: note: 'country' declared here 339 | char country[3]; | ^~~~~~~ apache2/mod_qos.c: At top level: apache2/mod_qos.c:45:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 45 | static const char revision[] = "$Id: mod_qos.c 2635 2021-11-21 20:51:10Z pbuchbinder $"; | ^~~~~~~~ /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.70 ~/build/BUILD/mod_qos-11.70 + cd tools/ + aclocal + automake --add-missing configure.ac:11: installing './compile' configure.ac:24: installing './config.guess' configure.ac:24: installing './config.sub' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 2021-11-22 19:45:21.000000000 +0000 +++ ./configure 2022-01-23 23:32:15.758394226 +0000 @@ -1844,7 +1844,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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 aarch64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking 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 -j224 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mod_qos-11.70/tools/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools' Making all in src make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qspng.o qspng.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsrotate.o qsrotate.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qssign.o qssign.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qs_apo.o qs_apo.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qstail.o qstail.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsgeo.o qsgeo.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qshead.o qshead.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsdt.o qsdt.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsrespeed.o qsrespeed.c gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsre.o qsre.c qstail.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qstail.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qshead.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qshead.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qs_util.c: In function 'qs_deleteOldFiles': qs_util.c:274:10: warning: the comparison will always evaluate as 'true' for the address of 'd_name' will never be NULL [-Waddress] 274 | if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)) == 0)) { | ^~ In file included from /usr/include/dirent.h:61, from qs_util.c:34: /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ qs_util.c:284:12: warning: the comparison will always evaluate as 'true' for the address of 'd_name' will never be NULL [-Waddress] 284 | if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)) == 0)) { | ^~ /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ qscheck.c: In function 'ping': qscheck.c:100:13: warning: unused variable 'ret' [-Wunused-variable] 100 | 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] 162 | int status = 1; | ^~~~~~ qscheck.c: In function 'checkFile': qscheck.c:288:14: warning: unused variable 'j' [-Wunused-variable] 288 | int i, j; | ^ qscheck.c:316:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'file + (sizetype)i' must not be NULL [-Waddress] 316 | if(&file[i] != '\0') { | ^~ qscheck.c:316:21: warning: comparison between pointer and zero character constant [-Wpointer-compare] qscheck.c:316:12: note: did you mean to dereference the pointer? 316 | if(&file[i] != '\0') { | ^ qs_util.c: In function 'qs_setuid': qs_util.c:317:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 317 | setgid(gid); | ^~~~~~~~~~~ qs_util.c:318:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | setuid(uid); | ^~~~~~~~~~~ qs_util.c: At top level: qs_util.c:25:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 25 | static const char revision[] = "$Id: qs_util.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qscheck.c:332:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'sr + (sizetype)i' must not be NULL [-Waddress] 332 | if(&sr[i] != '\0') { | ^~ qscheck.c:332:21: warning: comparison between pointer and zero character constant [-Wpointer-compare] qscheck.c:332:14: note: did you mean to dereference the pointer? 332 | if(&sr[i] != '\0') { | ^ qscheck.c: At top level: qscheck.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 28 | static const char revision[] = "$Id: qscheck.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qsrotate.c: In function 'compressThread': qsrotate.c:228:13: warning: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] 228 | if((outfp = gzopen(dest,"wb")) == NULL) { | ^ qsrotate.c:235:13: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] 235 | gzwrite(outfp, buf, len); | ^~~~~ | | | struct gzFile_s ** In file included from /usr/include/zlib.h:34, from qsrotate.c:43: /usr/include/zlib.h:1447:29: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1447 | ZEXTERN int ZEXPORT gzwrite OF((gzFile file, | ^~ qsrotate.c:237:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] 237 | gzclose(outfp); | ^~~~~ | | | struct gzFile_s ** /usr/include/zlib.h:1631:32: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1631 | 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] 267 | int rc; | ^~ qsrotate.c: In function 'main': qsrotate.c:346:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 346 | int rc; | ^~ qsrotate.c: In function 'writeTimestamp': qsrotate.c:254:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | write(m_nLogFD, time_string, TME_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qspng.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 28 | static const char revision[] = "$Id: qspng.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qslogger.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qslogger.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qsrotate.c: At top level: qsrotate.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 28 | static const char revision[] = "$Id: qsrotate.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qs_apo.c:26:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 26 | static const char revision[] = "$Id: qs_apo.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qsexec.c: In function 'main': qsexec.c:375:15: warning: unused variable 'rc' [-Wunused-variable] 375 | int rc = system(replaced); | ^~ qsre.c:26:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 26 | static const char revision[] = "$Id: qsre.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qsexec.c:391:17: warning: unused variable 'rc' [-Wunused-variable] 391 | int rc = system(replaced); | ^~ qsgrep.c:29:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 29 | static const char revision[] = "$Id: qsgrep.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qsexec.c: At top level: qsexec.c:27:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 27 | static const char revision[] = "$Id: qsexec.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qsgeo.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qsgeo.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qsfilter2.c: In function 'main': qsfilter2.c:1815:38: warning: passing argument 1 of 'OPENSSL_sk_new' from incompatible pointer type [-Wincompatible-pointer-types] 1815 | STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); | ^~~~~~~~~~~~ | | | int (*)(const char * const*, const char * const*) In file included from /usr/include/openssl/safestack.h:24, from qsfilter2.c:61: /usr/include/openssl/stack.h:34:51: note: expected 'OPENSSL_sk_compfunc' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(const char * const*, const char * const*)' 34 | OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); | ~~~~~~~~~~~~~~~~~~~~^~~ qsfilter2.c:1815:31: warning: initialization of 'struct stack_st_qs_rule_t *' from incompatible pointer type 'OPENSSL_STACK *' {aka 'struct stack_st *'} [-Wincompatible-pointer-types] 1815 | 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] 1823 | sk_push(st, (char *)r); | ^~ | | | struct stack_st_qs_rule_t * /usr/include/openssl/stack.h:49:36: note: expected 'OPENSSL_STACK *' {aka 'struct stack_st *'} but argument is of type 'struct stack_st_qs_rule_t *' 49 | 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] 1825 | sk_sort(st); | ^~ | | | struct stack_st_qs_rule_t * /usr/include/openssl/stack.h:57:37: note: expected 'OPENSSL_STACK *' {aka 'struct stack_st *'} but argument is of type 'struct stack_st_qs_rule_t *' 57 | 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] 1826 | i = sk_num(st); | ^~ | | | struct stack_st_qs_rule_t * /usr/include/openssl/stack.h:29:20: note: expected 'const OPENSSL_STACK *' {aka 'const struct stack_st *'} but argument is of type 'struct stack_st_qs_rule_t *' 29 | 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] 1828 | r = (qs_rule_t *)sk_value(st, i-1); | ^~ | | | struct stack_st_qs_rule_t * /usr/include/openssl/stack.h:30:24: note: expected 'const OPENSSL_STACK *' {aka 'const struct stack_st *'} but argument is of type 'struct stack_st_qs_rule_t *' 30 | void *OPENSSL_sk_value(const OPENSSL_STACK *, int); | ^~~~~~~~~~~~~~~~~~~~~ qslog.c: In function 'getFreeMem': qslog.c:646:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | system(command); | ^~~~~~~~~~~~~~~ qssign.c: In function 'qs_write': qssign.c:130:3: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | hmac_p = HMAC_CTX_new(); | ^~~~~~ In file included from qssign.c:38: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ qssign.c:132:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | HMAC_Init_ex(hmac_p, sec, sec_len, m_evp, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ qssign.c:133:3: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | HMAC_Update(hmac_p, (const unsigned char *)line, strlen(line)); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ qssign.c:134:3: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | HMAC_Final(hmac_p, data, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ qssign.c:138:3: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | HMAC_CTX_free(hmac_p); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ qssign.c: In function 'qs_verify': qssign.c:504:7: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 504 | hmac_p = HMAC_CTX_new(); | ^~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ qssign.c:506:7: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 506 | HMAC_Init_ex(hmac_p, sec, sec_len, m_evp, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ qssign.c:507:7: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 507 | HMAC_Update(hmac_p, (const unsigned char *)line, strlen(line)); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ qssign.c:508:7: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 508 | HMAC_Final(hmac_p, data, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ qssign.c:512:7: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | HMAC_CTX_free(hmac_p); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ qsfilter2.c: At top level: qsfilter2.c:29:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 29 | static const char revision[] = "$Id: qsfilter2.c 2616 2021-03-13 20:56:03Z pbuchbinder $"; | ^~~~~~~~ qslog.c: At top level: qslog.c:31:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 31 | static const char revision[] = "$Id: qslog.c 2615 2021-02-18 20:55:16Z pbuchbinder $"; | ^~~~~~~~ qssign.c: At top level: qssign.c:27:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 27 | static const char revision[] = "$Id: qssign.c 2622 2021-08-08 20:54:09Z pbuchbinder $"; | ^~~~~~~~ qsrotate.c: In function 'rotate.constprop.0': qsrotate.c:218:35: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 1044 [-Wformat-truncation=] 218 | snprintf(dest, sizeof(dest), "%s.gz", arch); | ^~~ In file included from /usr/include/stdio.h:894, from qsrotate.c:30: In function 'snprintf', inlined from 'compressThread' at qsrotate.c:218:3, inlined from 'rotate.constprop.0' at qsrotate.c:305:4: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 4 and 1047 bytes into a destination of size 1044 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qstail qstail.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qshead qshead.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsrespeed qsrespeed.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsre qsre.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz qsrotate.c: In function 'main': qsrotate.c:499:9: warning: 'nWrite' may be used uninitialized [-Wmaybe-uninitialized] 499 | if(nWrite != nRead) { | ^ qsrotate.c:348:14: note: 'nWrite' was declared here 348 | int nRead, nWrite; | ^~~~~~ gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsgrep qsgrep.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsdt qsdt.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz qsexec.c: In function 'main': qsexec.c:390:26: warning: 'countertime' may be used uninitialized [-Wmaybe-uninitialized] 390 | if(countertime + sec >= time(NULL)) { | ~~~~~~~~~~~~^~~~~ qsexec.c:273:10: note: 'countertime' was declared here 273 | time_t countertime; | ^~~~~~~~~~~ gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qscheck qscheck.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qslogger qslogger.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsrotate qsrotate.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsexec qsexec.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qspng qspng.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsgeo qsgeo.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qssign qssign.o qs_util.o qs_apo.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz qslog.c: In function 'getFreeMem.constprop.0': qslog.c:645:52: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] 645 | snprintf(command, sizeof(command), "%s 1 2 1>%s", vmstat, outfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:894, from qslog.c:33: In function 'snprintf', inlined from 'getFreeMem.constprop.0' at qslog.c:645:7: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'loggerThread': qslog.c:2033:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 32767 [-Wformat-truncation=] 2033 | snprintf(arch, sizeof(arch), "%s.%s", m_file_name, buf); | ^~ ~~~ In function 'snprintf', inlined from 'loggerThread' at qslog.c:2033:9: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 2 and 33792 bytes into a destination of size 32768 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'loggerThread': qslog.c:2034:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 32767 [-Wformat-truncation=] 2034 | snprintf(arch2, sizeof(arch), "%s.%s", m_file_name2, buf); | ^~ ~~~ In function 'snprintf', inlined from 'loggerThread' at qslog.c:2034:9: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 2 and 33792 bytes into a destination of size 32768 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from qsfilter2.c:34: In function 'strcpy', inlined from 'qos_measurement' at qsfilter2.c:1575:7, inlined from 'main' at qsfilter2.c:1764:5: /usr/include/bits/string_fortified.h:79:10: warning: '__strcpy_chk' accessing between 1 and 9223372036854775805 bytes at offsets 0 and 1 may overlap up to 9223372036854775804 bytes at offset [1, 9223372036854775804] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qslog.c: In function 'readStdinOffline': qslog.c:2003:33: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 32 [-Wformat-truncation=] 2003 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~ ~~~~~~~~~~ qslog.c:2003:32: note: directive argument in the range [-71582788, 153722867280912930] 2003 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~~~~~~~~~~~~~~~~~~ qslog.c:2003:32: note: directive argument in the range [-59, 59] In function 'snprintf', inlined from 'readStdinOffline' at qslog.c:2003:5: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 10 and 32794 bytes into a destination of size 32 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'readStdinOffline': qslog.c:1993:37: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 32 [-Wformat-truncation=] 1993 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~ ~~~~~~~~~~ qslog.c:1993:36: note: directive argument in the range [-71582788, 5124095647613219] 1993 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~~~~~~~~~~~~~~~~~~ qslog.c:1993:36: note: directive argument in the range [-59, 59] In function 'snprintf', inlined from 'readStdinOffline' at qslog.c:1993:9: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 10 and 32792 bytes into a destination of size 32 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qsfilter2 qsfilter2.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz gcc -I/usr/include/libpng16 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld -o qslog qslog.o qs_util.o -lssl -lcrypto -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap_r -llber -ldb-5.3 -lexpat -lpcre -lpng16 -lz make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools' make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools' + popd ~/build/BUILD/mod_qos-11.70 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qw4PYc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 ++ dirname /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mod_qos-11.70/.package_note-mod_qos-11.70-1.fc36.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mod_qos-11.70 + install -Dpm 755 apache2/.libs/mod_qos.so /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/lib64/httpd/modules/mod_qos.so + install -Dpm 644 /builddir/build/SOURCES/10-mod_qos.conf /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/etc/httpd/conf.modules.d/10-mod_qos.conf + cd tools/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin' /usr/bin/install -p qsfilter2 qslog qspng qsrotate qssign qstail qsgrep qsexec qscheck qsgeo qslogger qshead qsdt qsrespeed qsre '/builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools/src' make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/tools' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.70/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.70/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.70/tools' + install -d /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/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.70-1.fc36.aarch64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j224 --strict-build-id -m -i --build-id-seed 11.70-1.fc36 --unique-debug-suffix -11.70-1.fc36.aarch64 --unique-debug-src-base mod_qos-11.70-1.fc36.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mod_qos-11.70 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qscheck extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsdt extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsexec extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsfilter2 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsgeo extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsgrep extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qshead extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qslog extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qslogger extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qspng extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsre extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsrespeed extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qsrotate extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qssign extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/lib64/httpd/modules/mod_qos.so extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/bin/qstail original debug info size: 1672kB, size after compression: 1516kB /usr/bin/sepdebugcrcfix: Updated 16 CRC32s, 0 CRC32s did match. 1717 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mod_qos-11.70-1.fc36.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HTYGUz + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.70 + DOCDIR=/builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/share/doc/mod_qos + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/share/doc/mod_qos + cp -pr doc /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/share/doc/mod_qos + cp -pr README.TXT /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64/usr/share/doc/mod_qos + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_qos) = 11.70-1.fc36 mod_qos = 11.70-1.fc36 mod_qos(aarch-64) = 11.70-1.fc36 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) libapr-1.so.0()(64bit) libaprutil-1.so.0()(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) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libpcre.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: mod_qos-debugsource-11.70-1.fc36.aarch64 Provides: mod_qos-debugsource = 11.70-1.fc36 mod_qos-debugsource(aarch-64) = 11.70-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_qos-debuginfo-11.70-1.fc36.aarch64 Provides: debuginfo(build-id) = 0ca7fd0670a4c3e005c266ac100ea3881fc4d5c9 debuginfo(build-id) = 10a50e6cb4113c29696daed51a365027df52968c debuginfo(build-id) = 1abc102917d50ecc85bbe4c5cf174dbcb232ef8d debuginfo(build-id) = 3bec236cdf0c69ee5d10b8473182ef21ec987257 debuginfo(build-id) = 54ad2d35db6bef349320b16d9561740deda65e4e debuginfo(build-id) = 5d4e9ffe87d556334d6f002e7713edafa692e1e5 debuginfo(build-id) = 5d7edac32096b7bad8583a8ff92197357e045663 debuginfo(build-id) = 6761d5224ad113dbc45c3a485b3005cbaf62b57c debuginfo(build-id) = 70c5c097628af1eb68504228a6bb321e54e03c92 debuginfo(build-id) = 7aa6d3249ebd2c6e793ba8e1722c539680efab2a debuginfo(build-id) = 8723c113b4aa1e3f72e626ba65e38accf30f918b debuginfo(build-id) = 909621ffbabe089e15124f53b6eb12238065e208 debuginfo(build-id) = 962a1ef2ca56462e73a2a304d9153b58c0b705a3 debuginfo(build-id) = d1d64dabfe25e35b3ac40b19b2ca288f8aefe296 debuginfo(build-id) = dbc9cc4903f1468653dce9952c7924942820e2b3 debuginfo(build-id) = dcac86e855594b4d7b7a583efc75fe32d63dfd24 mod_qos-debuginfo = 11.70-1.fc36 mod_qos-debuginfo(aarch-64) = 11.70-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_qos-debugsource(aarch-64) = 11.70-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 Wrote: /builddir/build/RPMS/mod_qos-debugsource-11.70-1.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/mod_qos-debuginfo-11.70-1.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/mod_qos-11.70-1.fc36.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.D5L7iM + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.70 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_qos-11.70-1.fc36.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0