=> Bootstrap dependency digest>=20010302: found digest-20121220 => Checksum SHA1 OK for clamav-0.97.8.tar.gz => Checksum RMD160 OK for clamav-0.97.8.tar.gz ===> Installing dependencies for clamav-0.97.8 ========================================================================== The supported build options for clamav are: clamav-experimental milter You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.clamav (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, clamav-0.97.8. Their current value is shown below: * CLAMAV_DBDIR = /usr/var/clamav * CLAMAV_GROUP = clamav * CLAMAV_USER = clamav You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb1 => Full dependency libltdl>=2.4.2: found libltdl-2.4.2 => Full dependency ncurses>=5.4nb1: found ncurses-5.9 => Full dependency gmp>=5.0.1: found gmp-5.1.1 => Full dependency pth>=2.0.0nb2: found pth-2.0.7nb3 ===> Overriding tools for clamav-0.97.8 ===> Extracting for clamav-0.97.8 ===> Patching for clamav-0.97.8 => Applying pkgsrc patches for clamav-0.97.8 ===> Creating toolchain wrappers for clamav-0.97.8 ===> Configuring for clamav-0.97.8 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking build system type... i386-pc-minix checking host system type... i386-pc-minix checking target system type... i386-pc-minix creating target.h - canonical system defines checking for a BSD-compatible install... /usr/bin/install -c -o root -g operator checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... plaintar checking for gawk... (cached) /usr/bin/awk checking for a BSD-compatible install... /usr/bin/install -c -o root -g operator checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for style of include used by make... GNU checking for i386-pc-minix-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... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld checking if the linker (/usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/pkg.sav/bin/nm -B checking the name lister (/usr/pkg.sav/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 65536 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld option to reload object files... -r checking for i386-pc-minix-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... unknown checking for i386-pc-minix-ar... no checking for ar... ar checking for i386-pc-minix-strip... strip checking for i386-pc-minix-ranlib... no checking for ranlib... ranlib checking command to parse /usr/pkg.sav/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... rm: conftest*: no such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: no such file or directory yes checking dynamic linker characteristics... no 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... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... checking for the default library search path... /lib /usr/lib 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... unknown 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... -I/usr/pkg/include checking where to find libltdl library... -L/usr/pkg/lib -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 ANSI C header files... (cached) yes checking for C/C++ restrict keyword... __restrict checking for an ANSI C-conforming const... yes checking for inline... inline checking whether FPU byte ordering is bigendian... no checking whether byte ordering is bigendian... no checking for cos in -lm... yes checking for a supported version of gcc... ok (4.4.7) checking for gcc bug PR27603... ok, bug not present checking for gcc bug PR26763-2... ok, bug not present checking for valid code generation of CLI_ISCONTAINED... ok, bug not present checking for gcc bug PR28045... ok, bug not present checking for gcc bug PR37573... ok, bug not present checking for ld --version-script... 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... yes checking sys/inttypes.h presence... yes checking for sys/inttypes.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 syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for off_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void *... 4 checking whether uname(2) is POSIX... no 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... 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... no checking for mkstemp... yes checking for mallinfo... no checking for madvise... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for working mmap... no checking for sysconf(_SC_PAGESIZE)... yes checking for getpagesize()... yes checking for MAP_ANON(YMOUS)... no configure: ****** mempool support disabled (mmap not available or not usable) checking for ld used by GCC... /usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld checking if the linker (/usr/pkgsrc/work/security/clamav/work/.wrapper/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking check.h usability... no checking check.h presence... no checking for check.h... no configure: unable to compile/link with check checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for zlib installation... using /usr checking for inflateEnd in -lz... yes checking for gzopen in -lz... yes checking how to link with libbz2... /usr/lib/libbz2.so checking for BZ2_bzReadOpen in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for CVE-2008-1372... ok checking for CVE-2010-0405... ok checking for getaddrinfo... yes checking for IPv6 support... no checking for resolv.h... yes checking for dn_expand in std libs... yes checking whether setpgrp takes no argument... yes checking for libiconv_open in -liconv... no checking for iconv... yes checking whether in_port_t is defined... yes checking for in_addr_t definition... yes checking for sched_yield... no checking for pthread_yield... no checking for enable_extended_FILE_stdio... no checking for readdir_r... yes, and it takes 3 arguments checking for ctime_r... 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... 255 checking whether signed right shift is sign extended... yes checking for recvmsg... yes checking for sendmsg... yes checking for msg_control field in struct msghdr... yes checking BSD 4.4 / RFC2292 style fd passing... no checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking linking with ncurses... ok configure: Compiling and linking with ncurses by using /usr/pkg/lib/libncurses.a 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 clamdscan/Makefile config.status: creating clamav-milter/Makefile 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 clamdtop/Makefile config.status: creating clambc/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 clamav-config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: no such file or directory === configuring in libclamav/c++ (/usr/pkgsrc/work/security/clamav/work/clamav-0.97.8/libclamav/c++) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg' '--disable-clamav' '--sysconfdir=/usr/pkg/etc' '--with-dbdir=/usr/var/clamav' '--with-user=clamav' '--with-group=clamav' '--with-ltdl-include=/usr/pkg/include' '--with-ltdl-lib=/usr/pkg/lib' '--with-zlib=/usr' '--disable-zlib-vcheck' '--enable-readdir_r' '--disable-milter' '--libdir=/usr/pkg/lib' '--build=i386-pc-minix' '--host=i386-pc-minix' '--mandir=/usr/pkg/man' 'build_alias=i386-pc-minix' 'host_alias=i386-pc-minix' 'CC=gcc' 'CFLAGS=-Wno-error -march=i586 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'LIBS=-lcompat_minix -lminlib' 'CPPFLAGS=-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses' --cache-file=/dev/null --srcdir=. checking build system type... i386-pc-minix checking host system type... i386-pc-minix checking target system type... i386-pc-minix checking for a BSD-compatible install... /usr/bin/install -c -o root -g operator checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... none checking for C++ compiler default output file name... configure: error: in `/usr/pkgsrc/work/security/clamav/work/clamav-0.97.8/libclamav/c++': configure: error: C++ compiler cannot create executables See `config.log' for more details. 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 clamdscan/Makefile config.status: creating clamav-milter/Makefile 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 clamdtop/Makefile config.status: creating clambc/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 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 rm: libtoolT: no such file or directory configure: Summary of detected features follows OS : minix pthreads : yes () configure: Summary of miscellaneous features check : no (auto) clamuko : yes fdpassing : 0 IPv6 : no configure: Summary of optional tools clamdtop : -L/usr/pkg/lib -lncurses (auto) milter : yes (disabled) configure: Summary of engine performance features) release mode: yes jit : no (auto) mempool : no configure: Summary of engine detection features autoit_ea06 : yes bzip2 : ok zlib : /usr unrar : yes 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 !!! => Modifying libtool scripts to use pkgsrc libtool WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.