Applying ./patches/001-compile.patch using plaintext: patching file clamdscan/proto.c configure: loading site script /builder/shared-workdir/build/sdk/include/site/arc 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... yes checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++-uc accepts -g... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arc-openwrt-linux-gnu checking target system type... arc-openwrt-linux-gnu creating target.h - canonical system defines checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-openwrt-linux-strip... arc-openwrt-linux-uclibc-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '101' is supported by ustar format... yes checking whether GID '102' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of g++-uc... gcc3 checking whether make supports nested variables... (cached) yes checking for arc-openwrt-linux-gcc... arc-openwrt-linux-uclibc-gcc checking whether we are using the GNU C compiler... yes checking whether arc-openwrt-linux-uclibc-gcc accepts -g... yes checking for arc-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed checking whether arc-openwrt-linux-uclibc-gcc understands -c and -o together... yes checking dependency style of arc-openwrt-linux-uclibc-gcc... gcc3 checking how to run the C preprocessor... arc-openwrt-linux-uclibc-gcc -E checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/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 how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by arc-openwrt-linux-uclibc-gcc... arc-openwrt-linux-uclibc-ld checking if the linker (arc-openwrt-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arc-openwrt-linux-uclibc-gcc-nm checking the name lister (arc-openwrt-linux-uclibc-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arc-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for arc-openwrt-linux-uclibc-ld option to reload object files... -r checking for arc-openwrt-linux-objdump... arc-openwrt-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for arc-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-openwrt-linux-ar... arc-openwrt-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for arc-openwrt-linux-strip... (cached) arc-openwrt-linux-uclibc-strip checking for arc-openwrt-linux-ranlib... arc-openwrt-linux-uclibc-gcc-ranlib checking command to parse arc-openwrt-linux-uclibc-gcc-nm output from arc-openwrt-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arc-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if arc-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for arc-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if arc-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if arc-openwrt-linux-uclibc-gcc static flag -static works... yes checking if arc-openwrt-linux-uclibc-gcc supports -c -o file.o... yes checking if arc-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the arc-openwrt-linux-uclibc-gcc linker (arc-openwrt-linux-uclibc-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... cross 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 how to run the C++ preprocessor... g++-uc -E checking for ld used by g++-uc... arc-openwrt-linux-uclibc-ld checking if the linker (arc-openwrt-linux-uclibc-ld) is GNU ld... yes checking whether the g++-uc linker (arc-openwrt-linux-uclibc-ld) supports shared libraries... yes checking for g++-uc option to produce PIC... -fPIC -DPIC checking if g++-uc PIC flag -fPIC -DPIC works... yes checking if g++-uc static flag -static works... no checking if g++-uc supports -c -o file.o... yes checking if g++-uc supports -c -o file.o... (cached) yes checking whether the g++-uc linker (arc-openwrt-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... no checking for error_t... no checking for argz_add... no checking for argz_append... no checking for argz_count... no checking for argz_create_sep... no checking for argz_insert... no checking for argz_next... no checking for argz_stringify... no checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for arc-openwrt-linux-gcc... (cached) arc-openwrt-linux-uclibc-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether arc-openwrt-linux-uclibc-gcc accepts -g... (cached) yes checking for arc-openwrt-linux-uclibc-gcc option to accept ISO C89... (cached) none needed checking whether arc-openwrt-linux-uclibc-gcc understands -c and -o together... (cached) yes checking dependency style of arc-openwrt-linux-uclibc-gcc... (cached) gcc3 checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for cos in -lm... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking for dlfcn.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for memory.h... (cached) yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for multiarch libdir... ${exec_prefix}/lib checking for C/C++ restrict keyword... __restrict checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... (cached) no checking for a supported version of gcc... ok (7.1.1) checking for gcc bug PR27603... cross-compiling, assumed ok checking for gcc bug PR26763-2... cross-compiling, assumed ok checking for valid code generation of CLI_ISCONTAINED... cross-compiling, assumed ok checking for gcc bug PR28045... cross-compiling, assumed ok checking for gcc bug PR37573... cross-compiling, assumed ok checking for off_t... yes checking size of short... (cached) 2 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of void *... (cached) 4 checking for ld --version-script... yes checking whether uname(2) is POSIX... (cached) yes checking for bind in -lsocket... no checking for library containing gethostent... none required checking for poll... yes checking for setsid... yes checking for memcpy... yes checking for snprintf... yes checking for vsnprintf... (cached) yes checking for strerror_r... yes checking for strlcpy... (cached) yes checking for strlcat... (cached) yes checking for strcasestr... yes checking for inet_ntop... yes checking for setgroups... yes checking for initgroups... yes checking for ctime_r... yes checking for mkstemp... yes checking for mallinfo... yes checking for madvise... yes checking for getnameinfo... yes checking for strndup... yes checking for strnlen... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for working mmap... (cached) yes checking for sysconf(_SC_PAGESIZE)... yes checking for getpagesize()... yes checking for MAP_ANON(YMOUS)... MAP_ANONYMOUS checking for enable_extended_FILE_stdio... no checking for timegm... yes checking for sysctlbyname... no not found checking for OpenSSL installation... checking for EVP_EncryptInit in -lcrypto... yes checking for X509_VERIFY_PARAM_new in -lssl... yes checking for libjson installation... /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/ checking for library containing json_object_object_get_ex... -ljson-c checking for pcre2-config... /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr//bin/pcre2-config checking pcre-config version... 10.30 checking for CVE-2015-3210... ok configure: CFLAGS from pcre-config: configure: LIBS from pcre-config: -lpcre2-8 configure: Compiling and linking with pcre2 from /usr checking whether to enable maintainer-specific portions of Makefiles... no checking for zlib installation... using /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/ checking for inflateEnd in -lz... yes checking for gzopen in -lz... yes checking for getaddrinfo... (cached) yes checking for SYSTEMD... no checking for SYSTEMD... no systemd is not supported Package systemd was not found in the pkg-config search path. Perhaps you should add the directory containing `systemd.pc' to the PKG_CONFIG_PATH environment variable No package 'systemd' found checking for systemd system unit installation directory... no checking for IPv6 support... (cached) yes checking for resolv.h... yes checking for dn_expand in std libs... yes checking whether setpgrp takes no argument... (cached) yes checking for pthread.h... (cached) yes checking whether in_port_t is defined... yes checking for in_addr_t definition... yes checking sys/fanotify.h usability... yes checking sys/fanotify.h presence... yes checking for sys/fanotify.h... yes checking for sched_yield... yes checking for pthread_yield... yes checking for readdir_r... support disabled checking for ctime_r... yes, and it takes 2 arguments checking for socklen_t... yes checking for structure packing via __attribute__((packed))... yes checking for type aligning via __attribute__((aligned))... yes checking that structure packing works... yes checking for fd_set... yes, found in sys/select.h checking default FD_SETSIZE value... 256 checking stat64... no checking whether signed right shift is sign extended... no checking for recvmsg... yes checking for sendmsg... yes checking for msg_control field in struct msghdr... (cached) yes checking BSD 4.4 / RFC2292 style fd passing... no checking for llvm-config... no checking LFS safe fts implementation... yes checking for libcurl installation... /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/ checking for curl_easy_init in -lcurl... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libltdl/Makefile config.status: creating clamscan/Makefile config.status: creating database/Makefile config.status: creating docs/Makefile config.status: creating clamd/Makefile config.status: creating clamd/clamav-daemon.service config.status: creating clamd/clamav-daemon.socket config.status: creating clamdscan/Makefile config.status: creating clamsubmit/Makefile config.status: creating clamav-milter/Makefile config.status: creating freshclam/clamav-freshclam.service config.status: creating freshclam/Makefile config.status: creating sigtool/Makefile config.status: creating clamconf/Makefile config.status: creating etc/Makefile config.status: creating test/Makefile config.status: creating unit_tests/Makefile config.status: creating fuzz/Makefile config.status: creating clamdtop/Makefile config.status: creating clambc/Makefile config.status: creating libfreshclam/Makefile config.status: creating Makefile config.status: creating clamav-config config.status: creating libclamav.pc config.status: creating platform.h config.status: creating docs/man/clamav-milter.8 config.status: creating docs/man/clamav-milter.conf.5 config.status: creating docs/man/clambc.1 config.status: creating docs/man/clamconf.1 config.status: creating docs/man/clamd.8 config.status: creating docs/man/clamd.conf.5 config.status: creating docs/man/clamdscan.1 config.status: creating docs/man/clamscan.1 config.status: creating docs/man/freshclam.1 config.status: creating docs/man/freshclam.conf.5 config.status: creating docs/man/sigtool.1 config.status: creating docs/man/clamdtop.1 config.status: creating docs/man/clamsubmit.1 config.status: creating clamav-config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in libclamav/libmspack-0.5alpha (/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav/libmspack-0.5alpha) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--target=arc-openwrt-linux' '--host=arc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--sysconfdir=/etc/clamav/' '--disable-bzip2' '--disable-check' '--disable-clamdtop' '--disable-rpath' '--disable-xml' '--disable-zlib-vcheck' '--with-user=nobody' '--with-group=nogroup' '--with-libcurl=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/' '--with-libjson=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/' '--with-openssl=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/' '--with-pcre=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/' '--with-zlib=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/' '--without-xml' '--without-iconv' '--without-libncurses-prefix' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arc-openwrt-linux' 'target_alias=arc-openwrt-linux' 'CXX=g++-uc' 'CXXFLAGS=-Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3:clamav-0.100.3 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -fno-rtti -flto ' 'LDFLAGS=-L/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/lib -znow -zrelro -Wl,--gc-sections,--as-needed ' 'CPPFLAGS=-I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/include ' 'CC=arc-openwrt-linux-uclibc-gcc' 'CFLAGS=-Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3:clamav-0.100.3 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro ' 'PKG_CONFIG=/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. configure: loading site script /builder/shared-workdir/build/sdk/include/site/arc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arc-openwrt-linux-strip... arc-openwrt-linux-uclibc-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for arc-openwrt-linux-gcc... arc-openwrt-linux-uclibc-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arc-openwrt-linux-uclibc-gcc accepts -g... yes checking for arc-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed checking whether arc-openwrt-linux-uclibc-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of arc-openwrt-linux-uclibc-gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... arc-openwrt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by arc-openwrt-linux-uclibc-gcc... arc-openwrt-linux-uclibc-ld checking if the linker (arc-openwrt-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arc-openwrt-linux-uclibc-gcc-nm checking the name lister (arc-openwrt-linux-uclibc-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arc-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for arc-openwrt-linux-uclibc-ld option to reload object files... -r checking for arc-openwrt-linux-objdump... arc-openwrt-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for arc-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-openwrt-linux-ar... arc-openwrt-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for arc-openwrt-linux-strip... (cached) arc-openwrt-linux-uclibc-strip checking for arc-openwrt-linux-ranlib... arc-openwrt-linux-uclibc-gcc-ranlib checking command to parse arc-openwrt-linux-uclibc-gcc-nm output from arc-openwrt-linux-uclibc-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arc-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... arc-openwrt-linux-uclibc-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if arc-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for arc-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if arc-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if arc-openwrt-linux-uclibc-gcc static flag -static works... yes checking if arc-openwrt-linux-uclibc-gcc supports -c -o file.o... yes checking if arc-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the arc-openwrt-linux-uclibc-gcc linker (arc-openwrt-linux-uclibc-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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... 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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking size of off_t... (cached) 8 checking for tolower... yes checking for towlower... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking for _LARGEFILE_SOURCE value needed for large files... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libclammspack.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libltdl/Makefile config.status: creating clamscan/Makefile config.status: creating database/Makefile config.status: creating docs/Makefile config.status: creating clamd/Makefile config.status: creating clamd/clamav-daemon.service config.status: creating clamd/clamav-daemon.socket config.status: creating clamdscan/Makefile config.status: creating clamsubmit/Makefile config.status: creating clamav-milter/Makefile config.status: creating freshclam/clamav-freshclam.service config.status: creating freshclam/Makefile config.status: creating sigtool/Makefile config.status: creating clamconf/Makefile config.status: creating etc/Makefile config.status: creating test/Makefile config.status: creating unit_tests/Makefile config.status: creating fuzz/Makefile config.status: creating clamdtop/Makefile config.status: creating clambc/Makefile config.status: creating libfreshclam/Makefile config.status: creating Makefile config.status: creating clamav-config config.status: creating libclamav.pc config.status: creating platform.h config.status: creating docs/man/clamav-milter.8 config.status: creating docs/man/clamav-milter.conf.5 config.status: creating docs/man/clambc.1 config.status: creating docs/man/clamconf.1 config.status: creating docs/man/clamd.8 config.status: creating docs/man/clamd.conf.5 config.status: creating docs/man/clamdscan.1 config.status: creating docs/man/clamscan.1 config.status: creating docs/man/freshclam.1 config.status: creating docs/man/freshclam.conf.5 config.status: creating docs/man/sigtool.1 config.status: creating docs/man/clamdtop.1 config.status: creating docs/man/clamsubmit.1 config.status: creating libclamav/Makefile config.status: creating clamav-config.h config.status: clamav-config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: Summary of detected features follows OS : linux-gnu pthreads : yes (-lpthread) configure: Summary of miscellaneous features check : no (disabled) fanotify : yes fdpassing : 0 IPv6 : yes configure: Summary of optional tools clamdtop : (disabled) milter : yes (disabled) clamsubmit : yes (libjson-c-dev found at /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/), libcurl-devel found at /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/) configure: Summary of engine performance features release mode: yes llvm : no (disabled) mempool : yes configure: Summary of engine detection features bzip2 : ok (disabled) zlib : /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/ unrar : yes preclass : yes (libjson-c-dev found at /builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_uClibc/usr/) pcre : /usr libmspack : yes (Internal) libxml2 : no yara : yes fts : yes (libc) configure: WARNING: ****** WARNING: ****** You are cross compiling to a different host or you are ****** linking to bugged system libraries or you have manually ****** disabled important configure checks. ****** Please be aware that this build may be badly broken. ****** DO NOT REPORT BUGS BASED ON THIS BUILD !!! make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3' Making all in libltdl make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libltdl' GEN libltdl/lt__argz.h make all-am make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libltdl' CC dlopen.lo CC libltdlc_la-preopen.lo CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.lo CC lt__argz.lo CCLD dlopen.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libltdlc.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libltdl' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libltdl' Making all in libclamav make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' make all-recursive make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' Making all in libmspack-0.5alpha make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav/libmspack-0.5alpha' make all-am make[9]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav/libmspack-0.5alpha' CC system.lo CC cabc.lo CC cabd.lo mspack/cabd.c: In function 'cabd_checksum': mspack/cabd.c:1497:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: ul |= *data++ << 16; ^~ mspack/cabd.c:1498:3: note: here case 2: ul |= *data++ << 8; ^~~~ mspack/cabd.c:1498:14: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: ul |= *data++ << 8; ^~ mspack/cabd.c:1499:3: note: here case 1: ul |= *data; ^~~~ CC chmc.lo CC chmd.lo CC hlpc.lo CC hlpd.lo CC litc.lo CC litd.lo CC kwajc.lo CC kwajd.lo CC szddc.lo CC szddd.lo CC oabc.lo CC oabd.lo CC lzxc.lo CC lzxd.lo mspack/lzxd.c: In function 'lzxd_decompress': mspack/lzxd.c:618:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (match_offset > lzx->offset && ^ mspack/lzxd.c:742:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (match_offset > lzx->offset && ^ mspack/lzxd.c:104:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (make_decode_table(MAXSYMBOLS(tbl), TABLEBITS(tbl), \ ^ mspack/lzxd.c:497:4: note: in expansion of macro 'BUILD_TABLE' BUILD_TABLE(ALIGNED); ^~~~~~~~~~~ mspack/lzxd.c:499:2: note: here case LZX_BLOCKTYPE_VERBATIM: ^~~~ CC mszipc.lo CC mszipd.lo CC qtmd.lo CC lzssd.lo CC crc32.lo CCLD libmscabd.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libmschmd.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libclammspack.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') make[9]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav/libmspack-0.5alpha' make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav/libmspack-0.5alpha' make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' CC unrar15.lo CC unrar.lo CC unrar20.lo CC unrarppm.lo CC unrarvm.lo CC unrarcmd.lo CC unrarfilter.lo CC unrarhlp.lo CC unrar_iface.lo CC libclamav_la-matcher-ac.lo CC libclamav_la-matcher-bm.lo CC libclamav_la-matcher-hash.lo CC libclamav_la-matcher.lo CC libclamav_la-others.lo CC libclamav_la-readdb.lo CC libclamav_la-cvd.lo CC libclamav_la-dsig.lo CC libclamav_la-scanners.lo CC libclamav_la-textdet.lo CC libclamav_la-filetypes.lo CC libclamav_la-rtf.lo CC libclamav_la-blob.lo CC libclamav_la-mbox.lo mbox.c: In function 'rfc1341': mbox.c:3321:7: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] "%s"PATHSEP"%s", pdir, dent->d_name); ^~~~ mbox.c:3320:6: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 snprintf(fullname, sizeof(fullname) - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s"PATHSEP"%s", pdir, dent->d_name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libclamav_la-message.lo CC libclamav_la-table.lo CC libclamav_la-text.lo CC libclamav_la-ole2_extract.lo CC libclamav_la-vba_extract.lo CC libclamav_la-msexpand.lo CC libclamav_la-pe.lo CC libclamav_la-pe_icons.lo CC libclamav_la-disasm.lo CC libclamav_la-upx.lo CC libclamav_la-htmlnorm.lo CC libclamav_la-libmspack.lo CC libclamav_la-rebuildpe.lo CC libclamav_la-petite.lo CC libclamav_la-wwunpack.lo CC libclamav_la-unsp.lo CC libclamav_la-aspack.lo CC libclamav_la-packlibs.lo CC libclamav_la-fsg.lo CC libclamav_la-mew.lo mew.c: In function 'unmew11': mew.c:827:96: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] cli_dbgmsg("MEW: Buffer pointer (%08zx) + offset (%08zx) exceeds max size of pointer (%08lx)\n", ~~~~^ %08x CC libclamav_la-upack.lo CC libclamav_la-line.lo CC libclamav_la-untar.lo CC libclamav_la-unzip.lo CC libclamav_la-ooxml.lo CC libclamav_la-inflate64.lo CC libclamav_la-special.lo CC libclamav_la-binhex.lo CC libclamav_la-is_tar.lo CC libclamav_la-tnef.lo CC libclamav_la-autoit.lo CC libclamav_la-unarj.lo CC libclamav_la-bzlib.lo CC libclamav_la-nulsft.lo CC libclamav_la-infblock.lo CC libclamav_la-pdf.lo CC libclamav_la-pdfng.lo CC libclamav_la-pdfdecode.lo CC libclamav_la-spin.lo CC libclamav_la-yc.lo CC libclamav_la-elf.lo CC libclamav_la-sis.lo CC libclamav_la-uuencode.lo CC libclamav_la-phishcheck.lo CC libclamav_la-phish_domaincheck_db.lo CC libclamav_la-phish_whitelist.lo CC libclamav_la-regex_list.lo CC libclamav_la-regex_suffix.lo CC libclamav_la-entconv.lo CC libclamav_la-hashtab.lo CC libclamav_la-dconf.lo CC libclamav_la-lzma_iface.lo CC libclamav_la-7z_iface.lo CC libclamav_la-7zAlloc.lo CC libclamav_la-7zBuf.lo CC libclamav_la-7zBuf2.lo CC libclamav_la-7zCrc.lo CC libclamav_la-7zDec.lo CC libclamav_la-7zFile.lo CC libclamav_la-7zIn.lo CC libclamav_la-7zStream.lo CC libclamav_la-Bcj2.lo CC libclamav_la-Bra.lo CC libclamav_la-Bra86.lo CC libclamav_la-Lzma2Dec.lo CC libclamav_la-LzmaDec.lo CC libclamav_la-Ppmd7.lo CC libclamav_la-Ppmd7Dec.lo CC libclamav_la-Xz.lo CC libclamav_la-XzCrc64.lo CC libclamav_la-XzDec.lo CC libclamav_la-XzIn.lo CC libclamav_la-Delta.lo CC libclamav_la-BraIA64.lo CC libclamav_la-CpuArch.lo CC libclamav_la-7zCrcOpt.lo CC libclamav_la-explode.lo CC libclamav_la-textnorm.lo CC libclamav_la-dlp.lo CC libclamav_la-js-norm.lo CC libclamav_la-uniq.lo GEN version.h.tmp CC libclamav_la-mpool.lo CC libclamav_la-filtering.lo CC libclamav_la-fmap.lo CC libclamav_la-perflogging.lo CC libclamav_la-bytecode.lo CC libclamav_la-bytecode_vm.lo CC libclamav_la-cpio.lo CC libclamav_la-macho.lo CC libclamav_la-ishield.lo CC libclamav_la-bytecode_api.lo CC libclamav_la-bytecode_api_decl.lo CC libclamav_la-cache.lo CC libclamav_la-bytecode_detect.lo CC libclamav_la-events.lo CC libclamav_la-adc.lo CC libclamav_la-dmg.lo CC libclamav_la-xar.lo CC libclamav_la-xdp.lo CC libclamav_la-mbr.lo CC libclamav_la-gpt.lo CC libclamav_la-apm.lo CC libclamav_la-prtn_intxn.lo CC libclamav_la-json_api.lo CC libclamav_la-xz_iface.lo CC libclamav_la-sf_base64decode.lo CC libclamav_la-hfsplus.lo CC libclamav_la-swf.lo CC libclamav_la-jpeg.lo CC libclamav_la-png.lo CC libclamav_la-iso9660.lo CC libclamav_la-arc4.lo CC libclamav_la-rijndael.lo CC libclamav_la-crtmgr.lo CC libclamav_la-asn1.lo CC libclamav_la-fpu.lo CC libclamav_la-stats.lo CC libclamav_la-www.lo CC libclamav_la-stats_json.lo CC libclamav_la-hostid.lo CC libclamav_la-openioc.lo CC libclamav_la-msdoc.lo CC libclamav_la-matcher-pcre.lo CC libclamav_la-regex_pcre.lo CC libclamav_la-msxml.lo CC libclamav_la-msxml_parser.lo CC libclamav_la-tiff.lo CC libclamav_la-hwp.lo CC libclamav_la-lzwdec.lo CC libclamav_la-yara_arena.lo CC libclamav_la-yara_compiler.lo CC libclamav_la-yara_exec.lo CC libclamav_la-yara_hash.lo CC libclamav_la-yara_grammar.lo CC libclamav_la-yara_lexer.lo yara_lexer.c: In function 'yara_yylex': yara_lexer.l:263:16: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "can't open include file: %s", yyextra->lex_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yara_lexer.l:262:7: note: 'snprintf' output between 26 and 1049 bytes into a destination of size 1024 snprintf(buffer, sizeof(buffer), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "can't open include file: %s", yyextra->lex_buf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libclamav_la-yara_parser.lo CC libclamav_la-fp_add.lo CC libclamav_la-fp_add_d.lo CC libclamav_la-fp_addmod.lo CC libclamav_la-fp_cmp.lo CC libclamav_la-fp_cmp_d.lo CC libclamav_la-fp_cmp_mag.lo CC libclamav_la-fp_sub.lo CC libclamav_la-fp_sub_d.lo CC libclamav_la-fp_submod.lo CC libclamav_la-s_fp_add.lo CC libclamav_la-s_fp_sub.lo CC libclamav_la-fp_radix_size.lo CC libclamav_la-fp_read_radix.lo CC libclamav_la-fp_read_signed_bin.lo CC libclamav_la-fp_read_unsigned_bin.lo CC libclamav_la-fp_reverse.lo CC libclamav_la-fp_s_rmap.lo CC libclamav_la-fp_signed_bin_size.lo CC libclamav_la-fp_to_signed_bin.lo CC libclamav_la-fp_to_unsigned_bin.lo CC libclamav_la-fp_toradix.lo CC libclamav_la-fp_toradix_n.lo CC libclamav_la-fp_unsigned_bin_size.lo CC libclamav_la-fp_cnt_lsb.lo CC libclamav_la-fp_count_bits.lo CC libclamav_la-fp_div_2.lo CC libclamav_la-fp_div_2d.lo CC libclamav_la-fp_lshd.lo CC libclamav_la-fp_mod_2d.lo CC libclamav_la-fp_rshd.lo CC libclamav_la-fp_div.lo CC libclamav_la-fp_div_d.lo CC libclamav_la-fp_mod.lo CC libclamav_la-fp_mod_d.lo CC libclamav_la-fp_2expt.lo CC libclamav_la-fp_exptmod.lo CC libclamav_la-fp_ident.lo CC libclamav_la-fp_set.lo CC libclamav_la-fp_montgomery_calc_normalization.lo CC libclamav_la-fp_montgomery_reduce.lo CC libclamav_la-fp_montgomery_setup.lo CC libclamav_la-fp_mul.lo CC libclamav_la-fp_mul_comba.lo CC libclamav_la-fp_mul_2.lo CC libclamav_la-fp_mul_2d.lo CC libclamav_la-fp_mul_comba_12.lo CC libclamav_la-fp_mul_comba_17.lo CC libclamav_la-fp_mul_comba_20.lo CC libclamav_la-fp_mul_comba_24.lo CC libclamav_la-fp_mul_comba_28.lo CC libclamav_la-fp_mul_comba_3.lo CC libclamav_la-fp_mul_comba_32.lo CC libclamav_la-fp_mul_comba_4.lo CC libclamav_la-fp_mul_comba_48.lo CC libclamav_la-fp_mul_comba_6.lo CC libclamav_la-fp_mul_comba_64.lo CC libclamav_la-fp_mul_comba_7.lo CC libclamav_la-fp_mul_comba_8.lo CC libclamav_la-fp_mul_comba_9.lo CC libclamav_la-fp_mul_comba_small_set.lo CC libclamav_la-fp_mul_d.lo CC libclamav_la-fp_mulmod.lo CC libclamav_la-fp_invmod.lo CC libclamav_la-fp_sqr.lo CC libclamav_la-fp_sqr_comba_12.lo CC libclamav_la-fp_sqr_comba_17.lo CC libclamav_la-fp_sqr_comba_20.lo CC libclamav_la-fp_sqr_comba_24.lo CC libclamav_la-fp_sqr_comba_28.lo CC libclamav_la-fp_sqr_comba_3.lo CC libclamav_la-fp_sqr_comba_32.lo CC libclamav_la-fp_sqr_comba_4.lo CC libclamav_la-fp_sqr_comba_48.lo CC libclamav_la-fp_sqr_comba_6.lo CC libclamav_la-fp_sqr_comba_64.lo CC libclamav_la-fp_sqr_comba_7.lo CC libclamav_la-fp_sqr_comba_8.lo CC libclamav_la-fp_sqr_comba_9.lo CC libclamav_la-fp_sqr_comba_generic.lo CC libclamav_la-fp_sqr_comba_small_set.lo CC libclamav_la-fp_sqrmod.lo CC libclamav_nocxx_la-bytecode_nojit.lo CC libclamav_internal_utils_la-str.lo CC libclamav_internal_utils_la-conv.lo CC libclamav_internal_utils_la-crypto.lo CC libclamav_internal_utils_la-iowrap.lo CC libclamav_internal_utils_la-others_common.lo CC libclamav_internal_utils_la-qsort.lo CC libclamav_internal_utils_la-strlcpy.lo CC libclamav_internal_utils_la-regcomp.lo CC libclamav_internal_utils_la-regerror.lo CC libclamav_internal_utils_la-regexec.lo CC libclamav_internal_utils_la-regfree.lo CC libclamav_internal_utils_la-strlcat.lo CC libclamav_internal_utils_nothreads_la-str.lo CC libclamav_internal_utils_nothreads_la-conv.lo CC libclamav_internal_utils_nothreads_la-crypto.lo CC libclamav_internal_utils_nothreads_la-iowrap.lo CC libclamav_internal_utils_nothreads_la-others_common.lo CC libclamav_internal_utils_nothreads_la-qsort.lo CC libclamav_internal_utils_nothreads_la-strlcpy.lo CC libclamav_internal_utils_nothreads_la-regcomp.lo CC libclamav_internal_utils_nothreads_la-regerror.lo CC libclamav_internal_utils_nothreads_la-regexec.lo CC libclamav_internal_utils_nothreads_la-regfree.lo CC libclamav_internal_utils_nothreads_la-strlcat.lo CCLD libclamunrar.la GEN version.h CCLD libclamav_nocxx.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libclamav_internal_utils.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libclamav_internal_utils_nothreads.la /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/7.1.1/../../../../arc-openwrt-linux-uclibc/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD libclamunrar_iface.la CC libclamav_la-version.lo CCLD libclamav.la make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/libclamav' Making all in clamscan make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/clamscan' CC output.o CC getopt.o CC optparser.o CC actions.o CC misc.o CC clamscan.o CC manager.o CCLD clamscan make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/clamscan' Making all in clamd make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/clamd' CC output.o CC idmef_logging.o CC optparser.o CC getopt.o CC misc.o CC clamd.o CC tcpserver.o CC localserver.o CC session.o CC thrmgr.o CC server-th.o CC scanner.o CC others.o CC onaccess_others.o In file included from onaccess_others.c:46:0: scanner.h:62:100: warning: 'struct cli_ftw_cbdata' declared inside parameter list will not be visible outside of this definition or declaration int scan_callback(STATBUF *sb, char *filename, const char *msg, enum cli_ftw_reason reason, struct cli_ftw_cbdata *data); ^~~~~~~~~~~~~~ scanner.h:62:70: warning: 'enum cli_ftw_reason' declared inside parameter list will not be visible outside of this definition or declaration int scan_callback(STATBUF *sb, char *filename, const char *msg, enum cli_ftw_reason reason, struct cli_ftw_cbdata *data); ^~~~~~~~~~~~~~ scanner.h:63:43: warning: 'struct cli_ftw_cbdata' declared inside parameter list will not be visible outside of this definition or declaration int scan_pathchk(const char *path, struct cli_ftw_cbdata *data); ^~~~~~~~~~~~~~ onaccess_others.c: In function 'onas_fan_checkowner': onaccess_others.c:58:22: warning: implicit declaration of function 'getpid'; did you mean 'getpt'? [-Wimplicit-function-declaration] if (pid == (int) getpid()) { ^~~~~~ getpt CC onaccess_fan.o CC onaccess_ddd.o CC onaccess_hash.o In file included from priv_fts.h:4:0, from onaccess_hash.c:53: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2017.09-release_uClibc/include/fts.h:41:3: error: #error " cannot be used with -D_FILE_OFFSET_BITS==64" # error " cannot be used with -D_FILE_OFFSET_BITS==64" ^~~~~ Makefile:707: recipe for target 'onaccess_hash.o' failed make[6]: *** [onaccess_hash.o] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/clamd' Makefile:766: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3' Makefile:594: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3' Makefile:128: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/.built' failed make[3]: *** [/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/clamav-0.100.3/.built] Error 2 time: package/feeds/packages/clamav/compile#231.94#22.98#397.01