Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mod_qos.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-150651-79727/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_qos-11.74-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/mod_qos.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-150651-79727/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FWsQOv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_qos-11.74 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mod_qos-11.74.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_qos-11.74 + /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.njQ9g0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mod_qos-11.74 + /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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' -c apache2/mod_qos.c -lcrypto /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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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:2172:3: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2172 | hmac_p = HMAC_CTX_new(); | ^~~~~~ In file included from apache2/mod_qos.c:103: /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:2175:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2175 | 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:2179:3: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2179 | 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:2180:3: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2180 | 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:2184:3: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2184 | 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:2321:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2321 | 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:2324:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2324 | 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:2328:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2328 | 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:2329:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2329 | 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:2333:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2333 | 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: 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 2706 2023-05-16 19:52:59Z pbuchbinder $"; | ^~~~~~~~ In function 'qos_encode64_binary', inlined from 'qos_unique_id' at apache2/mod_qos.c:1922:11, inlined from 'qos_unique_id' at apache2/mod_qos.c:1901:20: apache2/mod_qos.c:1227:32: warning: 'id' may be used uninitialized [-Wmaybe-uninitialized] 1227 | *p++ = qos_basis_64[(string[i] >> 2) & 0x3F]; | ~~~~~~^~~ apache2/mod_qos.c: In function 'qos_unique_id': apache2/mod_qos.c:1909:21: note: 'id' declared here 1909 | qos_unique_id_t id; | ^~ In function 'qos_encode64_binary', inlined from 'qos_unique_id' at apache2/mod_qos.c:1922:11, inlined from 'qos_unique_id' at apache2/mod_qos.c:1901:20: apache2/mod_qos.c:1234:41: warning: 'id' may be used uninitialized [-Wmaybe-uninitialized] 1234 | ((int) (string[i + 1] & 0xF0) >> 4)]; | ~~~~~~^~~~~~~ apache2/mod_qos.c: In function 'qos_unique_id': apache2/mod_qos.c:1909:21: note: 'id' declared here 1909 | qos_unique_id_t id; | ^~ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o apache2/mod_qos.la -rpath /usr/lib64/httpd/modules -module -avoid-version apache2/mod_qos.lo -lcrypto + pushd . ~/build/BUILD/mod_qos-11.74 ~/build/BUILD/mod_qos-11.74 + cd tools/ + aclocal + automake --add-missing configure.ac:11: installing './compile' configure.ac:24: installing './config.guess' configure.ac:24: installing './config.sub' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-18 20:34:25.000000000 +0800 +++ ./configure 2025-06-13 13:23:36.259494591 +0800 @@ -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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking 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 -j32 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mod_qos-11.74/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.74/tools' Making all in src make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsre.o qsre.c qshead.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qshead.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qs_util.c: In function 'qs_deleteOldFiles': qs_util.c:279:10: warning: the comparison will always evaluate as 'true' for the address of 'd_name' will never be NULL [-Waddress] 279 | 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:289:12: warning: the comparison will always evaluate as 'true' for the address of 'd_name' will never be NULL [-Waddress] 289 | 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! */ | ^~~~~~ 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) { | ^ qs_util.c: In function 'qs_setuid': 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 ** qs_util.c:322:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | setgid(gid); | ^~~~~~~~~~~ qs_util.c:323:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | setuid(uid); | ^~~~~~~~~~~ In file included from /usr/include/zlib.h:34, from qsrotate.c:43: /usr/include/zlib.h:1448:29: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'struct gzFile_s **' 1448 | ZEXTERN int ZEXPORT gzwrite OF((gzFile file, voidpc buf, unsigned len)); | ^~ 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)); | ^~ 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 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qsrotate.c: In function 'rotate': qsrotate.c:267:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 267 | int rc; | ^~ qspng.c:28:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 28 | static const char revision[] = "$Id: qspng.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ 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': qslogger.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qslogger.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qstail.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qstail.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qs_apo.c:26:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 26 | static const char revision[] = "$Id: qs_apo.c 2654 2022-05-13 09:12:42Z 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 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ 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') { | ^ 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 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qsgeo.c:30:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 30 | static const char revision[] = "$Id: qsgeo.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qslog.c: In function 'getFreeMem': qslog.c:647:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 647 | system(command); | ^~~~~~~~~~~~~~~ qsre.c: In function 'main': qsre.c:139:7: warning: unused variable 'erroffset' [-Wunused-variable] 139 | int erroffset; | ^~~~~~~~~ qsre.c:138:15: warning: unused variable 'errptr' [-Wunused-variable] 138 | const char *errptr = NULL; | ^~~~~~ qsre.c: At top level: qsre.c:26:19: warning: 'revision' defined but not used [-Wunused-const-variable=] 26 | static const char revision[] = "$Id: qsre.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qsexec.c: In function 'main': qsexec.c:343:15: warning: unused variable 'rc' [-Wunused-variable] 343 | int rc = system(replaced); | ^~ qsexec.c:363:17: warning: unused variable 'rc' [-Wunused-variable] 363 | 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 2654 2022-05-13 09:12:42Z 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 2654 2022-05-13 09:12:42Z 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 2654 2022-05-13 09:12:42Z pbuchbinder $"; | ^~~~~~~~ qsfilter2.c: In function 'qos_query_optimization': qsfilter2.c:807:23: warning: unused variable 'errptr' [-Wunused-variable] 807 | const char *errptr = NULL; | ^~~~~~ qsfilter2.c: In function 'qos_load_rules': qsfilter2.c:975:27: warning: unused variable 'errptr' [-Wunused-variable] 975 | const char *errptr = NULL; | ^~~~~~ qsfilter2.c: In function 'qos_rule_optimization': qsfilter2.c:1270:27: warning: unused variable 'errptr' [-Wunused-variable] 1270 | const char *errptr = NULL; | ^~~~~~ qsfilter2.c: In function 'qos_process_log': qsfilter2.c:1477:25: warning: unused variable 'errptr' [-Wunused-variable] 1477 | const char *errptr = NULL; | ^~~~~~ qsfilter2.c: In function 'main': qsfilter2.c:1803:38: warning: passing argument 1 of 'OPENSSL_sk_new' from incompatible pointer type [-Wincompatible-pointer-types] 1803 | 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:59: /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:1803:31: warning: initialization of 'struct stack_st_qs_rule_t *' from incompatible pointer type 'OPENSSL_STACK *' {aka 'struct stack_st *'} [-Wincompatible-pointer-types] 1803 | STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); | ^~~~~~ qsfilter2.c:1811:15: warning: passing argument 1 of 'OPENSSL_sk_push' from incompatible pointer type [-Wincompatible-pointer-types] 1811 | 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:1813:13: warning: passing argument 1 of 'OPENSSL_sk_sort' from incompatible pointer type [-Wincompatible-pointer-types] 1813 | 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:1814:16: warning: passing argument 1 of 'OPENSSL_sk_num' from incompatible pointer type [-Wincompatible-pointer-types] 1814 | 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:1816:33: warning: passing argument 1 of 'OPENSSL_sk_value' from incompatible pointer type [-Wincompatible-pointer-types] 1816 | 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); | ^~~~~~~~~~~~~~~~~~~~~ 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 2654 2022-05-13 09:12:42Z 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 2654 2022-05-13 09:12:42Z 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:964, 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:54:10: note: '__snprintf_chk' output between 4 and 1047 bytes into a destination of size 1044 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qsgeo.c: In function 'qos_loadgeo.constprop.0': qsgeo.c:393:11: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 393 | strncpy(g->c, &line[ma[4].rm_so], 500); | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qstail qstail.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qshead qshead.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qslogger qslogger.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsre qsre.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsdt qsdt.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -lpng16 -lz qsexec.c: In function 'main': qsexec.c:362:26: warning: 'countertime' may be used uninitialized [-Wmaybe-uninitialized] 362 | if(countertime + sec >= time(NULL)) { | ~~~~~~~~~~~~^~~~~ qsexec.c:237:10: note: 'countertime' was declared here 237 | 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsrespeed qsrespeed.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsgrep qsgrep.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsrotate qsrotate.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsexec qsexec.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qscheck qscheck.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsgeo qsgeo.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qspng qspng.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qssign qssign.o qs_util.o qs_apo.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -lpng16 -lz qslog.c: In function 'getFreeMem.constprop.0': qslog.c:646:52: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] 646 | snprintf(command, sizeof(command), "%s 1 2 1>%s", vmstat, outfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:964, from qslog.c:33: In function 'snprintf', inlined from 'getFreeMem.constprop.0' at qslog.c:646:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'loggerThread': qslog.c:2031:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 32767 [-Wformat-truncation=] 2031 | snprintf(arch, sizeof(arch), "%s.%s", m_file_name, buf); | ^~ ~~~ In function 'snprintf', inlined from 'loggerThread' at qslog.c:2031:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 33792 bytes into a destination of size 32768 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'loggerThread': qslog.c:2032:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 32767 [-Wformat-truncation=] 2032 | snprintf(arch2, sizeof(arch), "%s.%s", m_file_name2, buf); | ^~ ~~~ In function 'snprintf', inlined from 'loggerThread' at qslog.c:2032:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 33792 bytes into a destination of size 32768 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'readStdinOffline': qslog.c:2001:33: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 32 [-Wformat-truncation=] 2001 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~ ~~~~~~~~~~ qslog.c:2001:32: note: directive argument in the range [-71582788, 153722867280912930] 2001 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~~~~~~~~~~~~~~~~~~ qslog.c:2001:32: note: directive argument in the range [-59, 59] In function 'snprintf', inlined from 'readStdinOffline' at qslog.c:2001:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 10 and 32794 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ qslog.c: In function 'readStdinOffline': qslog.c:1991:37: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size 32 [-Wformat-truncation=] 1991 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~ ~~~~~~~~~~ qslog.c:1991:36: note: directive argument in the range [-71582788, 5124095647613219] 1991 | snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); | ^~~~~~~~~~~~~~~~~~~ qslog.c:1991:36: note: directive argument in the range [-59, 59] In function 'snprintf', inlined from 'readStdinOffline' at qslog.c:1991:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 10 and 32792 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from qsfilter2.c:34: In function 'strcpy', inlined from 'qos_measurement' at qsfilter2.c:1563:7, inlined from 'main' at qsfilter2.c:1752: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qsfilter2 qsfilter2.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o qslog qslog.o qs_util.o -lssl -lcrypto -L/usr/lib64 -lapr-1 -L/usr/lib64 -laprutil-1 -lpthread -lldap -llber -lexpat -lpcre2-8 -lpng16 -lz make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/tools' make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools' + popd ~/build/BUILD/mod_qos-11.74 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gGiKDP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 + cd mod_qos-11.74 + install -Dpm 755 apache2/.libs/mod_qos.so /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.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.74-2.oc9.x86_64/etc/httpd/conf.modules.d/10-mod_qos.conf + cd tools/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/tools/src' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/tools/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin' /usr/bin/install -p qsfilter2 qslog qspng qsrotate qssign qstail qshead qsgrep qsexec qscheck qsgeo qslogger qsdt qsrespeed qsre '/builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools/src' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools/src' make[1]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/tools' make[2]: Entering directory '/builddir/build/BUILD/mod_qos-11.74/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.74/tools' make[1]: Leaving directory '/builddir/build/BUILD/mod_qos-11.74/tools' + install -d /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.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.74-2.oc9.x86_64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 11.74-2.oc9 --unique-debug-suffix -11.74-2.oc9.x86_64 --unique-debug-src-base mod_qos-11.74-2.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/mod_qos-11.74 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsdt extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsexec extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsgeo extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qscheck extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsfilter2 extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsgrep extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qshead extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qslog extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsre extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qspng extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qslogger extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsrespeed extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qsrotate extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qstail extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/lib64/httpd/modules/mod_qos.so extracting debug info from /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/bin/qssign 1707 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: mod_qos-11.74-2.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pm7RZm + umask 022 + cd /builddir/build/BUILD + cd mod_qos-11.74 + DOCDIR=/builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/share/doc/mod_qos + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/share/doc/mod_qos + cp -pr doc /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/share/doc/mod_qos + cp -pr README.TXT /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64/usr/share/doc/mod_qos + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_qos) = 11.74-2.oc9 mod_qos = 11.74-2.oc9 mod_qos(x86-64) = 11.74-2.oc9 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libpcre2-8.so.0()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: mod_qos-debugsource-11.74-2.oc9.x86_64 Provides: mod_qos-debugsource = 11.74-2.oc9 mod_qos-debugsource(x86-64) = 11.74-2.oc9 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.74-2.oc9.x86_64 Provides: debuginfo(build-id) = 032e1f8724870a92e8d45efa5aa1740eaa6db0f3 debuginfo(build-id) = 05819d2c59bbb2ca4f09f89f7f32a0b9a67a61ad debuginfo(build-id) = 13619e8b9d0f1ca4997594f88157a0e1161e1963 debuginfo(build-id) = 1b2692eeb562be6a961f5c87e7f6fa7863ef86a2 debuginfo(build-id) = 2e77cedde31dd64f7588571fbcf224792440cd71 debuginfo(build-id) = 383b97e338767cdc4166815eacb10e43d5b996fb debuginfo(build-id) = 44e0126f9735efee7a074e0c1ec60b4232682156 debuginfo(build-id) = 635561e229f38c2f57f4bebe2629c2e20fb0cd59 debuginfo(build-id) = 90b0f0b93aa565bc311c639c7e2da8e5474bf8de debuginfo(build-id) = 98601f230a1e07117299c27d1346aeac67892438 debuginfo(build-id) = 9c35f478ea13ce6a69409d3c5b54d0878fdd1762 debuginfo(build-id) = b59a70672211a5deb31ad5f48fb177083f02d90c debuginfo(build-id) = b836047de955bcaa0b1c0fa928c0cfff5d7f97ab debuginfo(build-id) = c9b4bb49d8be3ab598258d9b500fc0ef0690e4d7 debuginfo(build-id) = d5b3f54f8970482b73b2d3efaf793a24beb02655 debuginfo(build-id) = f1dc315518aaec7fe48b54a972efb9275d7ac12e mod_qos-debuginfo = 11.74-2.oc9 mod_qos-debuginfo(x86-64) = 11.74-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_qos-debugsource(x86-64) = 11.74-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_qos-11.74-2.oc9.x86_64 Wrote: /builddir/build/RPMS/mod_qos-debugsource-11.74-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mod_qos-debuginfo-11.74-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mod_qos-11.74-2.oc9.x86_64.rpm Child return code was: 0