D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead warning: Macro expanded in comment on line 78: %{_sysconfdir} Installing /home/iurt/rpmbuild/SRPMS/c-icap-modules-extra-0.5.3-2.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uN2wpl + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf c_icap_modules-0.5.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/c_icap_modules-0.5.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd c_icap_modules-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type d -perm 0700 -exec chmod 755 '{}' ';' + find . -type f -perm 0555 -exec chmod 755 '{}' ';' + find . -type f -perm 0444 -exec chmod 644 '{}' ';' ++ find . -type d -name CVS ++ find . -type f -name '.cvs*' ++ find . -type f -name '.#*' + chmod 644 AUTHORS COPYING + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5ICfTm + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd c_icap_modules-0.5.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:14: installing './compile' configure.ac:10: installing './missing' services/content_filtering/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + export 'LIBS=-lpthread -ldl' + LIBS='-lpthread -ldl' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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-static --enable-shared --with-clamav=/usr --with-c-icap=/usr --with-bdb checking whether to enable maintainer-specific portions of Makefiles... no 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 build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking how to run the C preprocessor... aarch64-mageia-linux-gnu-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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for aarch64-mageia-linux-gnu-gcc... (cached) aarch64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of aarch64-mageia-linux-gnu-gcc... (cached) none checking whether byte ordering is bigendian... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-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 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 whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ci_brinflate_to_simple_file in -licapapi... yes checking for ci_decompress_to_simple_file in -licapapi... yes checking for ci_decompress_error in -licapapi... yes checking for a working clamav library... yes checking for clamav 0.90.x or newer... no checking for maxratio field in cl_limits struct... no checking for clamav 0.95 or newer... yes checking for HAVE_CL_SCAN_OPTIONS in clamav.h... yes checking for BerleleyDB v ...yes checking if fds can send through unix sockets... yes checking for ANSI C header files... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for strcasestr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating services/Makefile config.status: creating services/virus_scan/Makefile config.status: creating services/url_check/Makefile config.status: creating services/content_filtering/Makefile config.status: creating modules/Makefile config.status: creating autoconf.h config.status: executing depfiles commands config.status: executing libtool commands + perl -pi -e 's|(srv_clamav_la_LIBADD = -L)/usr/lib|$1/usr/lib64|;' services/clamav/Makefile Can't open services/clamav/Makefile: No such file or directory. + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in . Making all in modules make[2]: Nothing to be done for 'all'. Making all in services Making all in url_check make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' sed -e 's%[@]SYSCONFDIR[@]%/etc/%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_modules 0.5.3%g' < c-icap-mods-sguardDB.8.in > c-icap-mods-sguardDB.8 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o srv_url_check_la-url_check_body.lo `test -f 'url_check_body.c' || echo './'`url_check_body.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c url_check_body.c -fPIC -DPIC -o .libs/srv_url_check_la-url_check_body.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o srv_url_check_la-request_filter.lo `test -f 'request_filter.c' || echo './'`request_filter.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c request_filter.c -fPIC -DPIC -o .libs/srv_url_check_la-request_filter.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o srv_url_check_la-sguardDB.lo `test -f 'sguardDB.c' || echo './'`sguardDB.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c sguardDB.c -fPIC -DPIC -o .libs/srv_url_check_la-sguardDB.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -DBUILD_SGUARD_TOOL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o c_icap_mods_sguardDB-sguardDB.o `test -f 'sguardDB.c' || echo './'`sguardDB.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBUILD_SGUARD_TOOL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o c-icap-mods-sguardDB c_icap_mods_sguardDB-sguardDB.o -L/usr/lib64/ -licapapi -ldb -lpthread -ldl libtool: link: aarch64-mageia-linux-gnu-gcc -DBUILD_SGUARD_TOOL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o c-icap-mods-sguardDB c_icap_mods_sguardDB-sguardDB.o -L/usr/lib64/ -licapapi -ldb -lpthread -ldl make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o srv_url_check_la-srv_url_check.lo `test -f 'srv_url_check.c' || echo './'`srv_url_check.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c srv_url_check.c -fPIC -DPIC -o .libs/srv_url_check_la-srv_url_check.o srv_url_check.c: In function 'str_trim': srv_url_check.c:1068:27: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1068 | while (*s == ' ' && s != '\0'){ | ^~ srv_url_check.c:1068:25: note: did you mean to dereference the pointer? 1068 | while (*s == ' ' && s != '\0'){ | ^ srv_url_check.c: In function 'build_icap_reply_headers': srv_url_check.c:622:57: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] 622 | snprintf(buf, sizeof(buf), "X-Attribute: %s", uc->match_info.matched_dbs); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c_icap/body.h:25, from srv_url_check.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' /bin/sh ../../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -module -avoid-version -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o srv_url_check.la -rpath /usr/lib64/c_icap/ srv_url_check_la-srv_url_check.lo srv_url_check_la-url_check_body.lo srv_url_check_la-request_filter.lo srv_url_check_la-sguardDB.lo -ldb -lpthread -ldl libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/srv_url_check_la-srv_url_check.o .libs/srv_url_check_la-url_check_body.o .libs/srv_url_check_la-request_filter.o .libs/srv_url_check_la-sguardDB.o -O2 -g -fstack-protector -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldb -lpthread -ldl -Wl,-soname -Wl,srv_url_check.so -o .libs/srv_url_check.so libtool: link: ( cd ".libs" && rm -f "srv_url_check.la" && ln -s "../srv_url_check.la" "srv_url_check.la" ) make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/url_check' Making all in virus_scan make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o virus_scan_la-av_body.lo `test -f 'av_body.c' || echo './'`av_body.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c av_body.c -fPIC -DPIC -o .libs/virus_scan_la-av_body.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o clamav_mod_la-clamav_mod.lo `test -f 'clamav_mod.c' || echo './'`clamav_mod.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c clamav_mod.c -fPIC -DPIC -o .libs/clamav_mod_la-clamav_mod.o In file included from /usr/include/clamav.h:69, from clamav_mod.c:27: clamav_mod.c:108:13: error: expected identifier or '(' before string constant 108 | static char CLAMAV_VERSION[CLAMAV_VERSION_SIZE]; | ^~~~~~~~~~~~~~ clamav_mod.c: In function 'clamav_set_versions': clamav_mod.c:645:6: warning: assignment of read-only location '"0.102.2"[63]' 645 | CLAMAV_VERSION[CLAMAV_VERSION_SIZE - 1] = '\0'; | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:512: clamav_mod_la-clamav_mod.lo] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o virus_scan_la-virus_scan_vir.lo `test -f 'virus_scan_vir.c' || echo './'`virus_scan_vir.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c virus_scan_vir.c -fPIC -DPIC -o .libs/virus_scan_la-virus_scan_vir.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o clamd_mod_la-clamd_mod.lo `test -f 'clamd_mod.c' || echo './'`clamd_mod.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c clamd_mod.c -fPIC -DPIC -o .libs/clamd_mod_la-clamd_mod.o clamd_mod.c: In function 'clamd_post_init': clamd_mod.c:437:64: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 20 [-Wformat-truncation=] 437 | snprintf(CLAMD_SIGNATURE, CLAMD_SIGNATURE_SIZE - 1, "-%.3d-%s-%u%u", | ^~ 438 | cfg_version, str_version, level, version); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c_icap/body.h:25, from virus_scan.h:4, from clamd_mod.c:1: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 90 bytes into a destination of size 25 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clamd_mod.c:442:57: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 63 [-Wformat-truncation=] 442 | snprintf(CLAMD_VERSION, CLAMD_VERSION_SIZE - 1, "%s/%d", str_version, version); | ^ clamd_mod.c:442:54: note: using the range [-2147483648, 2147483647] for directive argument 442 | snprintf(CLAMD_VERSION, CLAMD_VERSION_SIZE - 1, "%s/%d", str_version, version); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c_icap/body.h:25, from virus_scan.h:4, from clamd_mod.c:1: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 76 bytes into a destination of size 63 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' /bin/sh ../../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c -o virus_scan_la-virus_scan.lo `test -f 'virus_scan.c' || echo './'`virus_scan.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -c virus_scan.c -fPIC -DPIC -o .libs/virus_scan_la-virus_scan.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/c_icap_modules-0.5.3/services/virus_scan' make[2]: *** [Makefile:363: all-recursive] Error 1 make[1]: *** [Makefile:411: all-recursive] Error 1 make: *** [Makefile:343: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.5ICfTm (%build) RPM build errors: %make is deprecated, use %make_build instead Macro expanded in comment on line 78: %{_sysconfdir} Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.5ICfTm (%build) I: [iurt_root_command] ERROR: chroot