Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/f41-build-50559869-6053839/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0ad20760813540b594a7a1c7db794965', '-D', '/var/lib/mock/f41-build-50559869-6053839/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/klamav-0.46-42.fc41.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/f41-build-50559869-6053839/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3d0bf0262c6846e2aea2f8c1e0afb0b3', '-D', '/var/lib/mock/f41-build-50559869-6053839/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qtOL4V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf klamav-0.46 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/klamav-0.46.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd klamav-0.46 + rm -rf /builddir/build/BUILD/klamav-0.46-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/klamav-0.46-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (klamav-0.46-suse-clamav-path.patch): + echo 'Patch #0 (klamav-0.46-suse-clamav-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .suse-clamav-path --fuzz=0 patching file src/klammail/clamdmail.c Patch #1 (klamav-0.41.1-pwd-echo.patch): + echo 'Patch #1 (klamav-0.41.1-pwd-echo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pwd-echo --fuzz=0 patching file src/freshklam.cpp Hunk #1 succeeded at 228 (offset 3 lines). Patch #2 (klamav-0.44-no-kde3-mediamanager.patch): + echo 'Patch #2 (klamav-0.44-no-kde3-mediamanager.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-kde3-mediamanager --fuzz=0 patching file src/directorylist.cpp Patch #3 (klamav-0.46-fix-docpath.patch): + echo 'Patch #3 (klamav-0.46-fix-docpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-docpath --fuzz=0 patching file src/klamav.desktop Patch #4 (klamav-0.46-gzip-api.patch): + echo 'Patch #4 (klamav-0.46-gzip-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gzip-api --fuzz=0 patching file src/dbviewer.cpp Patch #5 (klamav-0.46-clamav-0.101.patch): + echo 'Patch #5 (klamav-0.46-clamav-0.101.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamav-0.101 --fuzz=0 patching file src/klammail/clamdmail.c Patch #6 (klamav-clamav-1.0.patch): + echo 'Patch #6 (klamav-clamav-1.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamav-1.0 --fuzz=0 patching file src/dbviewer.cpp Patch #7 (klamav-configure-c99.patch): + echo 'Patch #7 (klamav-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file acinclude.m4 patching file configure Patch #8 (klamav-c99.patch): + echo 'Patch #8 (klamav-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/klammail/clamdmail.c patching file src/klammail/client.c patching file src/klammail/options.c patching file src/klammail/options.h + touch -r aclocal.m4 acinclude.m4 configure configure.c99 configure.files configure.in configure.in.in + /usr/bin/rm -f po/cs.gmo po/de.gmo po/es.gmo po/it.gmo po/pl.gmo po/pt_BR.gmo po/ru.gmo + find doc -name 'Makefile.*' -o -name index.docbook -type f + xargs /usr/bin/sed -i -e s,klamav02,klamav,g + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LGwf5G + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd klamav-0.46 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + mv ./configure.backup ./configure + /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 --- ./configure.backup 2009-02-28 10:27:28.000000000 +0000 +++ ./configure 2024-04-27 13:40:49.785428050 +0000 @@ -9204,7 +9204,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 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 ./admin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./admin/config.guess ++ basename ./admin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./admin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './admin/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./admin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./admin/config.sub ++ basename ./admin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./admin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './admin/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./admin/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 --disable-rpath --without-included-sqlite --with-disableupdates checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as requested) checking for style of include used by make... GNU checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-reorder-blocks... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking whether system headers can cope with -O2 -fno-inline... irrelevant checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes using lib directory suffix 64 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for aarch64-redhat-linux-gnu-g77... no checking for aarch64-redhat-linux-gnu-xlf... no checking for aarch64-redhat-linux-gnu-f77... no checking for aarch64-redhat-linux-gnu-frt... no checking for aarch64-redhat-linux-gnu-pgf77... no checking for aarch64-redhat-linux-gnu-cf77... no checking for aarch64-redhat-linux-gnu-fort77... no checking for aarch64-redhat-linux-gnu-fl32... no checking for aarch64-redhat-linux-gnu-af77... no checking for aarch64-redhat-linux-gnu-xlf90... no checking for aarch64-redhat-linux-gnu-f90... no checking for aarch64-redhat-linux-gnu-pgf90... no checking for aarch64-redhat-linux-gnu-pghpf... no checking for aarch64-redhat-linux-gnu-epcf90... no checking for aarch64-redhat-linux-gnu-gfortran... no checking for aarch64-redhat-linux-gnu-g95... no checking for aarch64-redhat-linux-gnu-xlf95... no checking for aarch64-redhat-linux-gnu-f95... no checking for aarch64-redhat-linux-gnu-fort... no checking for aarch64-redhat-linux-gnu-ifort... no checking for aarch64-redhat-linux-gnu-ifc... no checking for aarch64-redhat-linux-gnu-efc... no checking for aarch64-redhat-linux-gnu-pgf95... no checking for aarch64-redhat-linux-gnu-lf95... no checking for aarch64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-file... no checking for file... /usr/bin/file checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... yes checking if strlcat needs custom prototype... no checking for strlcpy... yes checking if strlcpy needs custom prototype... no checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 8 checking for char *... yes checking size of char *... 8 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 8 checking for unsigned long... yes checking size of unsigned long... 8 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fPIE support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib64, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... no configure: WARNING: libjpeg not found. disable JPEG support. checking for perl... /usr/bin/perl checking for Qt... libraries /usr/lib64/qt-3.3/lib, headers /usr/lib64/qt-3.3/include using -mt checking for moc... /usr/lib64/qt-3.3/bin/moc checking for uic... /usr/lib64/qt-3.3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes yes checking for rpath... no checking for KDE... libraries /usr/lib64, headers /usr/include/kde checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/bin/dcopidl checking for dcopidl2cpp... /usr/bin/dcopidl2cpp checking for mcopidl... /usr/bin/mcopidl checking for artsc-config... /usr/bin/artsc-config checking for meinproc... /usr/bin/meinproc checking for kconfig_compiler... /usr/bin/kconfig_compiler checking for dcopidlng... /usr/bin/dcopidlng checking for makekdewidgets... /usr/bin/makekdewidgets checking for xmllint... /usr/bin/xmllint checking whether byte ordering is bigendian... no checking for MAXPATHLEN... checking for pkg-config... yes checking for pkg-config... /usr/bin/pkg-config checking for sqlite3 >= 3.0... yes checking SQLITE_CFLAGS... checking SQLITE_LIBS... -lsqlite3 checking for int... (cached) yes checking size of int... (cached) 4 checking for short... (cached) yes checking size of short... (cached) 2 checking for long... (cached) yes checking size of long... (cached) 8 checking for char *... (cached) yes checking size of char *... (cached) 8 checking for KDE version... KDE 3.5.x (x >=2) or SVN trunk checking for cl_scanfile in -lclamav... yes checking for cl_free in -lclamav... no checking whether to use disable-updates (build KlamAV with GUI updates disabled )... yes checking if doc should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1266. config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating po/Makefile config.status: creating src/Makefile config.status: creating src/about/Makefile config.status: creating src/action/Makefile config.status: creating src/arkollon/Makefile config.status: creating src/icons/Makefile config.status: creating src/klammail/Makefile config.status: creating src/sqlite/Makefile config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now + sed -i -e 's|"/lib /usr/lib|"/lib64 /usr/lib64|' libtool + /usr/bin/make -O -j12 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc Making all in . make[3]: Nothing to be done for 'all-am'. Making all in en make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc/en' /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc/en' Making all in po make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f de.gmo; /usr/bin/msgfmt -o de.gmo ./de.po test ! -f de.gmo || touch de.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f hu.gmo; /usr/bin/msgfmt -o hu.gmo ./hu.po test ! -f hu.gmo || touch hu.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f tr.gmo; /usr/bin/msgfmt -o tr.gmo ./tr.po test ! -f tr.gmo || touch tr.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f es.gmo; /usr/bin/msgfmt -o es.gmo ./es.po test ! -f es.gmo || touch es.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f it.gmo; /usr/bin/msgfmt -o it.gmo ./it.po test ! -f it.gmo || touch it.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f cs.gmo; /usr/bin/msgfmt -o cs.gmo ./cs.po test ! -f cs.gmo || touch cs.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f fr.gmo; /usr/bin/msgfmt -o fr.gmo ./fr.po test ! -f fr.gmo || touch fr.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f zh_CN.gmo; /usr/bin/msgfmt -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f pt_BR.gmo; /usr/bin/msgfmt -o pt_BR.gmo ./pt_BR.po test ! -f pt_BR.gmo || touch pt_BR.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f uk.gmo; /usr/bin/msgfmt -o uk.gmo ./uk.po test ! -f uk.gmo || touch uk.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f pl.gmo; /usr/bin/msgfmt -o pl.gmo ./pl.po test ! -f pl.gmo || touch pl.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f ru.gmo; /usr/bin/msgfmt -o ru.gmo ./ru.po test ! -f ru.gmo || touch ru.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' Making all in src Making all in icons make[3]: Nothing to be done for 'all'. Making all in about make[3]: Nothing to be done for 'all'. Making all in action make[3]: Nothing to be done for 'all'. Making all in arkollon make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc ./uninstallwizard.h -o uninstallwizard.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc ./wizard.h -o wizard.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -rf logdialog.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./logdialog.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> logdialog.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc logdialog.h -o logdialog.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -rf wizardbase.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./wizardbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> wizardbase.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc wizardbase.h -o wizardbase.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -f logdialog.cpp echo '#include ' > logdialog.cpp echo '#include ' >> logdialog.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i logdialog.h ./logdialog.ui > logdialog.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" logdialog.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_logdialog,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> logdialog.cpp ;\ rm -f logdialog.cpp.temp ;\ if test "$ret" = 0; then echo '#include "logdialog.moc"' >> logdialog.cpp; else rm -f logdialog.cpp ; exit $ret ; fi make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -f wizardbase.cpp echo '#include ' > wizardbase.cpp echo '#include ' >> wizardbase.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i wizardbase.h ./wizardbase.ui > wizardbase.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" wizardbase.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_wizardbase,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> wizardbase.cpp ;\ rm -f wizardbase.cpp.temp ;\ if test "$ret" = 0; then echo '#include "wizardbase.moc"' >> wizardbase.cpp; else rm -f wizardbase.cpp ; exit $ret ; fi make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamarkollon.o klamarkollon.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from klamarkollon.cpp:25: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from klamarkollon.cpp:30: /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o headerlistitem.o headerlistitem.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qframe.h:45, from /usr/lib64/qt-3.3/include/qscrollview.h:44, from /usr/lib64/qt-3.3/include/qlistview.h:45, from headerlistitem.h:23, from headerlistitem.cpp:20: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ headerlistitem.cpp: In member function ‘virtual int HeaderListItem::compare(QListViewItem*, int, bool) const’: headerlistitem.cpp:34:51: warning: unused parameter ‘col’ [-Wunused-parameter] 34 | int HeaderListItem::compare(QListViewItem* i, int col, bool ascending) const | ~~~~^~~ headerlistitem.cpp:34:61: warning: unused parameter ‘ascending’ [-Wunused-parameter] 34 | int HeaderListItem::compare(QListViewItem* i, int col, bool ascending) const | ~~~~~^~~~~~~~~ headerlistitem.cpp: In member function ‘virtual void HeaderListItem::paintCell(QPainter*, const QColorGroup&, int, int, int)’: headerlistitem.cpp:85:22: warning: unused variable ‘x’ [-Wunused-variable] 85 | register int x, y; | ^ headerlistitem.cpp:85:25: warning: unused variable ‘y’ [-Wunused-variable] 85 | register int x, y; | ^ headerlistitem.cpp:67:72: warning: unused parameter ‘column’ [-Wunused-parameter] 67 | void HeaderListItem::paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align) | ~~~~^~~~~~ headerlistitem.cpp:67:95: warning: unused parameter ‘align’ [-Wunused-parameter] 67 | void HeaderListItem::paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align) | ~~~~^~~~~ headerlistitem.cpp: In member function ‘virtual void HeaderListItem::paintFocus(QPainter*, const QColorGroup&, const QRect&)’: headerlistitem.cpp:109:43: warning: unused parameter ‘p’ [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~^ headerlistitem.cpp:109:65: warning: unused parameter ‘cg’ [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~~~~~~~~~~^~ headerlistitem.cpp:109:82: warning: unused parameter ‘r’ [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~~~~^ headerlistitem.cpp: In member function ‘virtual int HeaderListItem::width(const QFontMetrics&, const QListView*, int) const’: headerlistitem.cpp:113:47: warning: unused parameter ‘fm’ [-Wunused-parameter] 113 | int HeaderListItem::width(const QFontMetrics& fm, const QListView* lv, int c) const | ~~~~~~~~~~~~~~~~~~~~^~ headerlistitem.cpp:113:76: warning: unused parameter ‘c’ [-Wunused-parameter] 113 | int HeaderListItem::width(const QFontMetrics& fm, const QListView* lv, int c) const | ~~~~^ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o logdialog.o logdialog.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from logdialog.cpp:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o rcparser.o rcparser.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qiodevice.h:46, from /usr/lib64/qt-3.3/include/qtextstream.h:45, from /usr/lib64/qt-3.3/include/qtl.h:46, from /usr/lib64/qt-3.3/include/qvaluelist.h:45, from /usr/lib64/qt-3.3/include/qstringlist.h:45, from rcparser.h:23, from rcparser.cpp:20: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qtextstream.h:46: /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o uninstallwizard.o uninstallwizard.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qvariant.h:45, from wizardbase.h:12, from uninstallwizard.h:24, from uninstallwizard.cpp:22: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdialog.h:45, from wizardbase.h:13: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from uninstallwizard.cpp:31: /usr/lib64/qt-3.3/include/qlistbox.h: In member function ‘int QListBox::cellWidth() const’: /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function ‘int QListBox::cellWidth(int) const’: /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from uninstallwizard.cpp:24: data.h: At global scope: data.h:3073:26: warning: ‘const QByteArray& qembed_findData(const char*)’ defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizardbase.o wizardbase.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from wizardbase.cpp:1: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from wizardbase.cpp:24: /usr/lib64/qt-3.3/include/qlistbox.h: In member function ‘int QListBox::cellWidth() const’: /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function ‘int QListBox::cellWidth(int) const’: /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from wizardbase.cpp:28: ./wizardbase.ui.h: In member function ‘virtual void WizardBase::componentSelected(QListViewItem*)’: ./wizardbase.ui.h:55:53: warning: unused parameter ‘item’ [-Wunused-parameter] 55 | void WizardBase::componentSelected( QListViewItem * item ) | ~~~~~~~~~~~~~~~~^~~~ In file included from ./wizardbase.ui.h:1: ./data.h: At global scope: ./data.h:3073:26: warning: ‘const QByteArray& qembed_findData(const char*)’ defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizard.o wizard.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qvariant.h:45, from ./wizardbase.h:12, from wizard.h:23, from wizard.cpp:20: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from ‘int’ to ‘ushort’ {aka ‘short unsigned int’} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned int:30’ may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdialog.h:45, from ./wizardbase.h:13: /usr/lib64/qt-3.3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)’: /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function ‘void QDropEvent::setAction(Action)’: /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from ‘uint’ {aka ‘unsigned int’} to ‘uchar’ {aka ‘unsigned char’} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ wizard.cpp: In member function ‘void Wizard::nextStep()’: wizard.cpp:737:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘QValueList::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 737 | if (currentComponent >= selectedComponents.count()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wizard.cpp:40: data.h: At global scope: data.h:3109:22: warning: ‘const QImage& qembed_findImage(const QString&)’ defined but not used [-Wunused-function] 3109 | static const QImage& qembed_findImage( const QString& name ) | ^~~~~~~~~~~~~~~~ data.h:3073:26: warning: ‘const QByteArray& qembed_findData(const char*)’ defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o klamarkollon -L/usr/lib64/qt-3.3/lib -L/usr/lib64 klamarkollon.o wizard.o rcparser.o uninstallwizard.o headerlistitem.o logdialog.o wizardbase.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkio make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' Making all in klammail make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c memory.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c clamdmail.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c output.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' clamdmail.c: In function ‘clamdscan’: clamdmail.c:184:28: error: passing argument 3 of ‘client’ from incompatible pointer type [-Wincompatible-pointer-types] 184 | ret = client(tmpnm, opt, &virname); | ^~~~~~~~ | | | const char ** In file included from clamdmail.c:38: options.h:46:63: note: expected ‘char **’ but argument is of type ‘const char **’ 46 | int client(const char *dirname, struct optstruct *opt, char **virname); | ~~~~~~~^~~~~~~ clamdmail.c:202:56: warning: pointer targets in passing argument 3 of ‘cl_load’ differ in signedness [-Wpointer-sign] 202 | if((ret = cl_load(getargc(opt, 'd'), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * In file included from clamdmail.c:36: /usr/include/clamav.h:1060:85: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 1060 | extern cl_error_t cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:212:52: warning: pointer targets in passing argument 3 of ‘cl_load’ differ in signedness [-Wpointer-sign] 212 | if((ret = cl_load(cl_retdbdir(), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * /usr/include/clamav.h:1060:85: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 1060 | extern cl_error_t cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:262:35: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘const char *’ [-Wformat=] 262 | printf("scandesc returned: %i\n", cl_strerror(ret));; | ~^ ~~~~~~~~~~~~~~~~ | | | | int const char * | %s clamdmail.c:273:30: error: passing argument 4 of ‘spoolstdin’ from incompatible pointer type [-Wincompatible-pointer-types] 273 | spoolstdin(tmpnm, fd, ret, &virname, &bndrystore, opt); | ^~~~~~~~ | | | const char ** clamdmail.c:73:60: note: expected ‘char **’ but argument is of type ‘const char **’ 73 | static int spoolstdin(char *tmpnm, int fd, int ret, char **virname, const char **bndrystore, struct optstruct *opt); | ~~~~~~~^~~~~~~ clamdmail.c:110:15: warning: unused variable ‘sb’ [-Wunused-variable] 110 | struct stat sb; | ^~ clamdmail.c:100:15: warning: unused variable ‘mb’ [-Wunused-variable] 100 | long double mb; | ^~ clamdmail.c:98:11: warning: unused variable ‘fdtmp’ [-Wunused-variable] 98 | int fd, fdtmp, ret, no = 0; | ^~~~~ clamdmail.c:97:7: warning: unused variable ‘threads’ [-Wunused-variable] 97 | int threads = 0; | ^~~~~~~ clamdmail.c:96:19: warning: unused variable ‘trie’ [-Wunused-variable] 96 | struct cl_node *trie = NULL; | ^~~~ clamdmail.c:93:9: warning: unused variable ‘fs’ [-Wunused-variable] 93 | FILE *fs; | ^~ clamdmail.c:92:9: warning: unused variable ‘tmp’ [-Wunused-variable] 92 | FILE *tmp; | ^~~ clamdmail.c:91:18: warning: unused variable ‘user’ [-Wunused-variable] 91 | struct passwd *user = NULL; | ^~~~ clamdmail.c:90:9: warning: unused variable ‘dir’ [-Wunused-variable] 90 | char *dir; | ^~~ clamdmail.c:89:9: warning: unused variable ‘tmper’ [-Wunused-variable] 89 | char *tmper; | ^~~~~ clamdmail.c:88:9: warning: unused variable ‘pfx’ [-Wunused-variable] 88 | char *pfx; | ^~~ clamdmail.c:87:9: warning: unused variable ‘tmpfil’ [-Wunused-variable] 87 | char *tmpfil; | ^~~~~~ clamdmail.c:86:15: warning: unused variable ‘tmpdir’ [-Wunused-variable] 86 | const char *tmpdir; | ^~~~~~ clamdmail.c:83:22: warning: unused variable ‘t2’ [-Wunused-variable] 83 | struct timeval t1, t2; | ^~ clamdmail.c:81:11: warning: unused variable ‘dms’ [-Wunused-variable] 81 | int ds, dms; | ^~~ clamdmail.c:81:7: warning: unused variable ‘ds’ [-Wunused-variable] 81 | int ds, dms; | ^~ clamdmail.c: In function ‘spoolstdin’: clamdmail.c:434:15: warning: unused variable ‘bcnt’ [-Wunused-variable] 434 | int bcnt = 0; | ^~~~ clamdmail.c:478:11: warning: unused variable ‘bcnt’ [-Wunused-variable] 478 | int bcnt = 0; | ^~~~ clamdmail.c:308:10: warning: unused variable ‘starttime’ [-Wunused-variable] 308 | time_t starttime; | ^~~~~~~~~ clamdmail.c:305:9: warning: unused variable ‘storage’ [-Wunused-variable] 305 | char *storage; | ^~~~~~~ clamdmail.c:304:9: warning: unused variable ‘s’ [-Wunused-variable] 304 | char *s; | ^ clamdmail.c:300:8: warning: unused variable ‘boundary’ [-Wunused-variable] 300 | char boundary[1000]; | ^~~~~~~~ clamdmail.c:291:12: warning: unused variable ‘size’ [-Wunused-variable] 291 | long int size = 0; | ^~~~ clamdmail.c:290:10: warning: unused variable ‘j’ [-Wunused-variable] 290 | int i, j; | ^ clamdmail.c:290:7: warning: unused variable ‘i’ [-Wunused-variable] 290 | int i, j; | ^ clamdmail.c: In function ‘startclamd’: clamdmail.c:563:11: warning: unused variable ‘scancmd’ [-Wunused-variable] 563 | char *scancmd; | ^~~~~~~ clamdmail.c:558:10: warning: unused variable ‘conffile’ [-Wunused-variable] 558 | char conffile[31]; | ^~~~~~~~ clamdmail.c: In function ‘clamdscan’: clamdmail.c:153:3: warning: ignoring return value of ‘mkstemp’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 153 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ clamdmail.c: In function ‘startclamd’: clamdmail.c:566:5: warning: ignoring return value of ‘mkstemp’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 566 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:442: clamdmail.o] Error 1 make[3]: *** Waiting for unfinished jobs.... output.c: In function ‘logg’: output.c:98:29: warning: unused variable ‘vbuff’ [-Wunused-variable] 98 | char *pt, *timestr, vbuff[1025]; | ^~~~~ output.c: In function ‘mdprintf’: output.c:70:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | write(desc, buff, bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘logg’: output.c:140:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 140 | strncpy(timestr, pt, strlen(pt) - 1); | ^ output.c:140:34: note: length computed here 140 | strncpy(timestr, pt, strlen(pt) - 1); | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c cfgparser.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' cfgparser.c: In function ‘parsecfg’: cfgparser.c:179:37: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 179 | strncpy(cpy, arg, strlen(arg) - 1); | ^ cfgparser.c:179:55: note: length computed here 179 | strncpy(cpy, arg, strlen(arg) - 1); | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c client.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' client.c: In function ‘client’: client.c:62:15: warning: unused variable ‘fname’ [-Wunused-variable] 62 | char *fname; | ^~~~~ client.c:61:21: warning: unused variable ‘statbuf’ [-Wunused-variable] 61 | struct stat statbuf; | ^~~~~~~ client.c:60:24: warning: unused variable ‘dent’ [-Wunused-variable] 60 | struct dirent *dent; | ^~~~ client.c:59:14: warning: unused variable ‘dd’ [-Wunused-variable] 59 | DIR *dd; | ^~ client.c:58:15: warning: unused variable ‘fd’ [-Wunused-variable] 58 | FILE *fd; | ^~ client.c:57:21: warning: unused variable ‘clamav_conf’ [-Wunused-variable] 57 | const char *clamav_conf; | ^~~~~~~~~~~ client.c:55:20: warning: unused variable ‘bread’ [-Wunused-variable] 55 | int sockd, bread; | ^~~~~ client.c:54:34: warning: unused variable ‘cpt’ [-Wunused-variable] 54 | struct cfgstruct *copt, *cpt; | ^~~ client.c:54:27: warning: unused variable ‘copt’ [-Wunused-variable] 54 | struct cfgstruct *copt, *cpt; | ^~~~ client.c:53:28: warning: unused variable ‘server2’ [-Wunused-variable] 53 | struct sockaddr_in server2; | ^~~~~~~ client.c:51:44: warning: unused variable ‘scancmd’ [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~~~~ client.c:51:37: warning: unused variable ‘file’ [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c:51:26: warning: unused variable ‘cwd’ [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~ client.c:51:14: warning: unused variable ‘buff’ [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c: In function ‘passfile’: client.c:135:25: warning: unused variable ‘cwd’ [-Wunused-variable] 135 | char *fullpath, cwd[200]; | ^~~ client.c:135:15: warning: unused variable ‘fullpath’ [-Wunused-variable] 135 | char *fullpath, cwd[200]; | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c options.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' options.c: In function ‘main’: options.c:143:13: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ options.c:143:13: note: length computed here 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:704: all-recursive] Error 1 make[1]: *** [Makefile:437: all-recursive] Error 1 make: *** [Makefile:348: all] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.LGwf5G (%build) %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.LGwf5G (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3d0bf0262c6846e2aea2f8c1e0afb0b3 -D /var/lib/mock/f41-build-50559869-6053839/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3d0bf0262c6846e2aea2f8c1e0afb0b3 -D /var/lib/mock/f41-build-50559869-6053839/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vp4vkrwn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/klamav.spec'