Hi, I have a compile failure with the clamav flavor of this port, since clamav port has been recently been updated to 0.95.1p0. The version of dansguardian with no flavor builds.
I have attached a log of the build. Regards Nigel Taylor
===> Checking files for dansguardian-2.9.8.5p3-clamav `/builds/distfiles/dansguardian-2.9.8.5.tar.gz' is up to date. >> (SHA256) dansguardian-2.9.8.5.tar.gz: OK ===> dansguardian-2.9.8.5p3-clamav depends on: pcre-* - found ===> dansguardian-2.9.8.5p3-clamav depends on: clamav-* - found ===> Verifying specs: pcre.>=1 pcreposix.>=1 clamav.>=1 pcre.>=1 pcreposix.>=1 clamav.>=1 c m stdc++ z bz2 gmp iconv pthread c m stdc++ z bz2 gmp iconv pthread ===> found pcre.2.2 pcreposix.1.4 clamav.11.0 c.50.1 m.5.0 stdc++.47.0 z.4.1 bz2.10.4 gmp.7.1 iconv.5.0 pthread.11.1 ===> Extracting for dansguardian-2.9.8.5p3-clamav ===> Patching for dansguardian-2.9.8.5p3-clamav ===> Configuring for dansguardian-2.9.8.5p3-clamav configure: loading site script /builds/ports/infrastructure/db/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin checking whether build environment is sane... yes checking for gawk... (cached) nawk checking whether make sets $(MAKE)... (cached) yes 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... (cached) o checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking for gcc... cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /usr/local/bin/ggrep checking for egrep... /usr/local/bin/ggrep -E checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... none required checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for locale.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/un.h... (cached) yes checking for sys/poll.h... (cached) yes checking for sys/resource.h... (cached) yes checking for pwd.h... (cached) yes checking for grp.h... (cached) yes checking wait.h usability... no checking wait.h presence... no checking for wait.h... no checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking if zlib should be statically linked... no checking for zlib... checking for zlib.h... (cached) yes checking for gzdopen in -lz... yes yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... yes checking for an ANSI C-conforming const... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for working volatile... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... (cached) yes checking for working vfork... (cached) yes checking for working memcmp... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... (cached) int,fd_set *,struct timeval * checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... (cached) no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for dup2... (cached) yes checking for gettimeofday... (cached) yes checking for memset... (cached) yes checking for select... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for setuid... (cached) yes checking for setgid... (cached) yes checking for umask... (cached) yes checking for seteuid... (cached) yes checking for setreuid... (cached) yes checking for setlocale... (cached) yes checking for strdup... (cached) yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing inet_aton... none required checking for backside with both hands... no checking build os... checking build system type... x86_64-unknown-openbsd4.5 openbsd4.5 checking for OS tweaks needed... yes checking for debug option... no checking for proxy user... yes checking for proxy group... yes checking for piddir... no checking for logdir... no checking for PCRE support... yes checking for pcre-config... yes checking for REG_DOTALL in pcreposix.h... yes checking for backtrace on segfault support... no checking for libclamav support... yes checking for clamav-config... yes checking for sys/mman.h... (cached) yes checking for shm_open... no checking for shm_open in -lrt... no no checking for clamd support... no checking for icap support... no checking for kavd support... no checking for command-line content scanner support... no checking for fancy download manager support... yes checking for trickle download manager support... no checking for NTLM support... no checking for email notification support... no configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating data/languages/Makefile config.status: creating data/scripts/Makefile config.status: creating data/scripts/bsd-init config.status: creating data/scripts/dansguardian config.status: creating data/scripts/logrotation config.status: creating data/scripts/solaris-init config.status: creating data/scripts/systemv-init config.status: creating doc/Makefile config.status: creating configs/dansguardian.conf config.status: creating configs/dansguardianf1.conf config.status: creating configs/Makefile config.status: creating configs/lists/Makefile config.status: creating configs/lists/phraselists/Makefile config.status: creating configs/lists/blacklists/Makefile config.status: creating configs/lists/contentscanners/Makefile config.status: creating configs/lists/weightedphraselist config.status: creating configs/lists/exceptionphraselist config.status: creating configs/lists/bannedphraselist config.status: creating configs/lists/bannedurllist config.status: creating configs/lists/bannedsitelist config.status: creating configs/downloadmanagers/Makefile config.status: creating configs/downloadmanagers/default.conf config.status: creating configs/downloadmanagers/fancy.conf config.status: creating configs/downloadmanagers/trickle.conf config.status: creating configs/contentscanners/Makefile config.status: creating configs/contentscanners/clamav.conf config.status: creating configs/contentscanners/clamdscan.conf config.status: creating configs/contentscanners/icapscan.conf config.status: creating configs/contentscanners/kavav.conf config.status: creating configs/contentscanners/kavdscan.conf config.status: creating configs/contentscanners/commandlinescan.conf config.status: creating configs/authplugins/Makefile config.status: creating configs/authplugins/ip.conf config.status: creating configs/lists/authplugins/Makefile config.status: creating configs/lists/downloadmanagers/Makefile config.status: creating src/Makefile config.status: creating src/platform.h config.status: creating dgconfig.h config.status: executing depfiles commands ===> Building for dansguardian-2.9.8.5p3-clamav make all-recursive Making all in doc Making all in . Making all in data Making all in languages Making all in . Making all in scripts Making all in . Making all in configs Making all in lists Making all in phraselists Making all in . Making all in blacklists Making all in authplugins Making all in . Making all in contentscanners Making all in . Making all in downloadmanagers Making all in . Making all in downloadmanagers Making all in . Making all in authplugins Making all in . Making all in . Making all in contentscanners Making all in . Making all in src if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT String.o -MD -MP -MF ".deps/String.Tpo" -c -o String.o String.cpp; then mv -f ".deps/String.Tpo" ".deps/String.Po"; else rm -f ".deps/String.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT FDTunnel.o -MD -MP -MF ".deps/FDTunnel.Tpo" -c -o FDTunnel.o FDTunnel.cpp; then mv -f ".deps/FDTunnel.Tpo" ".deps/FDTunnel.Po"; else rm -f ".deps/FDTunnel.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ConnectionHandler.o -MD -MP -MF ".deps/ConnectionHandler.Tpo" -c -o ConnectionHandler.o ConnectionHandler.cpp; then mv -f ".deps/ConnectionHandler.Tpo" ".deps/ConnectionHandler.Po"; else rm -f ".deps/ConnectionHandler.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT DataBuffer.o -MD -MP -MF ".deps/DataBuffer.Tpo" -c -o DataBuffer.o DataBuffer.cpp; then mv -f ".deps/DataBuffer.Tpo" ".deps/DataBuffer.Po"; else rm -f ".deps/DataBuffer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT HTTPHeader.o -MD -MP -MF ".deps/HTTPHeader.Tpo" -c -o HTTPHeader.o HTTPHeader.cpp; then mv -f ".deps/HTTPHeader.Tpo" ".deps/HTTPHeader.Po"; else rm -f ".deps/HTTPHeader.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT NaughtyFilter.o -MD -MP -MF ".deps/NaughtyFilter.Tpo" -c -o NaughtyFilter.o NaughtyFilter.cpp; then mv -f ".deps/NaughtyFilter.Tpo" ".deps/NaughtyFilter.Po"; else rm -f ".deps/NaughtyFilter.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT RegExp.o -MD -MP -MF ".deps/RegExp.Tpo" -c -o RegExp.o RegExp.cpp; then mv -f ".deps/RegExp.Tpo" ".deps/RegExp.Po"; else rm -f ".deps/RegExp.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT FDFuncs.o -MD -MP -MF ".deps/FDFuncs.Tpo" -c -o FDFuncs.o FDFuncs.cpp; then mv -f ".deps/FDFuncs.Tpo" ".deps/FDFuncs.Po"; else rm -f ".deps/FDFuncs.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT BaseSocket.o -MD -MP -MF ".deps/BaseSocket.Tpo" -c -o BaseSocket.o BaseSocket.cpp; then mv -f ".deps/BaseSocket.Tpo" ".deps/BaseSocket.Po"; else rm -f ".deps/BaseSocket.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT Socket.o -MD -MP -MF ".deps/Socket.Tpo" -c -o Socket.o Socket.cpp; then mv -f ".deps/Socket.Tpo" ".deps/Socket.Po"; else rm -f ".deps/Socket.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT FatController.o -MD -MP -MF ".deps/FatController.Tpo" -c -o FatController.o FatController.cpp; then mv -f ".deps/FatController.Tpo" ".deps/FatController.Po"; else rm -f ".deps/FatController.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT UDSocket.o -MD -MP -MF ".deps/UDSocket.Tpo" -c -o UDSocket.o UDSocket.cpp; then mv -f ".deps/UDSocket.Tpo" ".deps/UDSocket.Po"; else rm -f ".deps/UDSocket.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT SysV.o -MD -MP -MF ".deps/SysV.Tpo" -c -o SysV.o SysV.cpp; then mv -f ".deps/SysV.Tpo" ".deps/SysV.Po"; else rm -f ".deps/SysV.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ListContainer.o -MD -MP -MF ".deps/ListContainer.Tpo" -c -o ListContainer.o ListContainer.cpp; then mv -f ".deps/ListContainer.Tpo" ".deps/ListContainer.Po"; else rm -f ".deps/ListContainer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT Auth.o -MD -MP -MF ".deps/Auth.Tpo" -c -o Auth.o Auth.cpp; then mv -f ".deps/Auth.Tpo" ".deps/Auth.Po"; else rm -f ".deps/Auth.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT HTMLTemplate.o -MD -MP -MF ".deps/HTMLTemplate.Tpo" -c -o HTMLTemplate.o HTMLTemplate.cpp; then mv -f ".deps/HTMLTemplate.Tpo" ".deps/HTMLTemplate.Po"; else rm -f ".deps/HTMLTemplate.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT LanguageContainer.o -MD -MP -MF ".deps/LanguageContainer.Tpo" -c -o LanguageContainer.o LanguageContainer.cpp; then mv -f ".deps/LanguageContainer.Tpo" ".deps/LanguageContainer.Po"; else rm -f ".deps/LanguageContainer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT DynamicURLList.o -MD -MP -MF ".deps/DynamicURLList.Tpo" -c -o DynamicURLList.o DynamicURLList.cpp; then mv -f ".deps/DynamicURLList.Tpo" ".deps/DynamicURLList.Po"; else rm -f ".deps/DynamicURLList.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT DynamicIPList.o -MD -MP -MF ".deps/DynamicIPList.Tpo" -c -o DynamicIPList.o DynamicIPList.cpp; then mv -f ".deps/DynamicIPList.Tpo" ".deps/DynamicIPList.Po"; else rm -f ".deps/DynamicIPList.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ImageContainer.o -MD -MP -MF ".deps/ImageContainer.Tpo" -c -o ImageContainer.o ImageContainer.cpp; then mv -f ".deps/ImageContainer.Tpo" ".deps/ImageContainer.Po"; else rm -f ".deps/ImageContainer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT OptionContainer.o -MD -MP -MF ".deps/OptionContainer.Tpo" -c -o OptionContainer.o OptionContainer.cpp; then mv -f ".deps/OptionContainer.Tpo" ".deps/OptionContainer.Po"; else rm -f ".deps/OptionContainer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT FOptionContainer.o -MD -MP -MF ".deps/FOptionContainer.Tpo" -c -o FOptionContainer.o FOptionContainer.cpp; then mv -f ".deps/FOptionContainer.Tpo" ".deps/FOptionContainer.Po"; else rm -f ".deps/FOptionContainer.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ListManager.o -MD -MP -MF ".deps/ListManager.Tpo" -c -o ListManager.o ListManager.cpp; then mv -f ".deps/ListManager.Tpo" ".deps/ListManager.Po"; else rm -f ".deps/ListManager.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.cpp; then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT DownloadManager.o -MD -MP -MF ".deps/DownloadManager.Tpo" -c -o DownloadManager.o DownloadManager.cpp; then mv -f ".deps/DownloadManager.Tpo" ".deps/DownloadManager.Po"; else rm -f ".deps/DownloadManager.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ConfigVar.o -MD -MP -MF ".deps/ConfigVar.Tpo" -c -o ConfigVar.o ConfigVar.cpp; then mv -f ".deps/ConfigVar.Tpo" ".deps/ConfigVar.Po"; else rm -f ".deps/ConfigVar.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT ContentScanner.o -MD -MP -MF ".deps/ContentScanner.Tpo" -c -o ContentScanner.o ContentScanner.cpp; then mv -f ".deps/ContentScanner.Tpo" ".deps/ContentScanner.Po"; else rm -f ".deps/ContentScanner.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT SocketArray.o -MD -MP -MF ".deps/SocketArray.Tpo" -c -o SocketArray.o SocketArray.cpp; then mv -f ".deps/SocketArray.Tpo" ".deps/SocketArray.Po"; else rm -f ".deps/SocketArray.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT dansguardian.o -MD -MP -MF ".deps/dansguardian.Tpo" -c -o dansguardian.o dansguardian.cpp; then mv -f ".deps/dansguardian.Tpo" ".deps/dansguardian.Po"; else rm -f ".deps/dansguardian.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include -fexceptions -O2 -pipe -MT clamav.o -MD -MP -MF ".deps/clamav.Tpo" -c -o clamav.o `test -f 'contentscanners/clamav.cpp' || echo './'`contentscanners/clamav.cpp; then mv -f ".deps/clamav.Tpo" ".deps/clamav.Po"; else rm -f ".deps/clamav.Tpo"; exit 1; fi contentscanners/clamav.cpp:75: error: field `limits' has incomplete type contentscanners/clamav.cpp: In member function `virtual int clamavinstance::quit()': contentscanners/clamav.cpp:104: error: `cl_free' undeclared (first use this function) contentscanners/clamav.cpp:104: error: (Each undeclared identifier is reported only once for each function it appears in.) contentscanners/clamav.cpp: In member function `virtual int clamavinstance::scanMemory(HTTPHeader*, HTTPHeader*, const char*, int, const char*, const char*, unsigned int)': contentscanners/clamav.cpp:168: error: `limits' undeclared (first use this function) contentscanners/clamav.cpp: In member function `virtual int clamavinstance::init(void*)': contentscanners/clamav.cpp:257: error: `cl_settempdir' undeclared (first use this function) contentscanners/clamav.cpp:284: error: cannot convert `cl_engine**' to ` cl_engine*' for argument `2' to `int cl_load(const char*, cl_engine*, unsigned int*, unsigned int)' contentscanners/clamav.cpp:301: error: `cl_build' undeclared (first use this function) *** Error code 1 Stop in /builds/pobj/dansguardian-2.9.8.5p3-clamav/dansguardian-2.9.8.5/src (line 464 of Makefile). *** Error code 1 Stop in /builds/pobj/dansguardian-2.9.8.5p3-clamav/dansguardian-2.9.8.5 (line 297 of Makefile). *** Error code 1 Stop in /builds/pobj/dansguardian-2.9.8.5p3-clamav/dansguardian-2.9.8.5 (line 213 of Makefile). *** Error code 1 Stop in /builds/ports/www/dansguardian (line 2172 of /builds/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /builds/ports/www/dansguardian (line 1427 of /builds/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /builds/ports/www/dansguardian (line 1967 of /builds/ports/infrastructure/mk/bsd.port.mk).