Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 18:24:48 +0200
From:      Laurent LEVIER <llevier@argosnet.com>
To:        pkg-fallout@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   Re: [REL - head-i386-default][security/squidclamav] Failed for squidclamav-5.7_2 in build
Message-ID:  <20130926162502.68F0246B@hub.freebsd.org>
In-Reply-To: <201309261540.r8QFeYIT056836@beefy1.isc.freebsd.org>
References:  <201309261540.r8QFeYIT056836@beefy1.isc.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Guys,

This port is obsolete and product no longer maintained in this way of working.
squiclamav from www/ tree is now the reference.

Brgrds

At 17:40 26/09/2013, pkg-fallout@FreeBSD.org wrote:
>You are receiving this mail as a port that you maintain
>is failing to build on the FreeBSD package build server.
>Please investigate the failure and submit a PR to fix
>build.
>
>Maintainer:     llevier@argosnet.com
>Last committer: bapt@FreeBSD.org
>Ident:          $FreeBSD: head/security/squidclamav/Makefile 327769 
>2013-09-20 22:55:24Z bapt $
>Log 
>URL: 
>http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-26_06h12m52s/logs/squidclamav-5.7_2.log
>Build 
>URL: 
>http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-26_06h12m52s
>Log:
>
>====>> Building security/squidclamav
>build started at Thu Sep 26 15:40:25 UTC 2013
>port directory: /usr/ports/security/squidclamav
>building for: FreeBSD head-i386-default-job-11 10.0-CURRENT FreeBSD 
>10.0-CURRENT i386
>maintained by: llevier@argosnet.com
>Makefile ident:      $FreeBSD: head/security/squidclamav/Makefile 
>327769 2013-09-20 22:55:24Z bapt $
>Poudriere version: 3.1-pre
>
>---Begin Environment---
>UNAME_m=i386
>UNAME_p=i386
>OSVERSION=1000055
>UNAME_v=FreeBSD 10.0-CURRENT
>UNAME_r=10.0-CURRENT
>BLOCKSIZE=K
>MAIL=/var/mail/root
>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
>STATUS=1
>MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
>PKG_EXT=txz
>tpid=35210
>POUDRIERE_BUILD_TYPE=bulk
>NBPARALLEL=24
>PKGNG=1
>PKGNAME=squidclamav-5.7_2
>PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
>PKG_ADD=/usr/local/sbin/pkg-static add
>PWD=/root
>MASTERNAME=head-i386-default
>USER=root
>HOME=/root
>POUDRIERE_VERSION=3.1-pre
>LOCALBASE=/usr/local
>PACKAGE_BUILDING=yes
>PKG_VERSION=/poudriere/pkg-static version
>---End Environment---
>
>---Begin OPTIONS List---
>---End OPTIONS List---
>
>--CONFIGURE_ARGS--
>--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
>--End CONFIGURE_ARGS--
>
>--CONFIGURE_ENV--
>TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh 
>CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
>--End CONFIGURE_ENV--
>
>--MAKE_ENV--
>TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES 
>PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" 
>CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" 
>CPPFLAGS="-I/usr/local/include"  LDFLAGS=" 
>-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe 
>-fno-strict-aliasing"  MANPREFIX="/usr/local" 
>BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 
>555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 
>444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 
>555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 
>444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
>--End MAKE_ENV--
>
>--SUB_LIST--
>PREFIX=/usr/local
>LOCALBASE=/usr/local
>DATADIR=/usr/local/share/squidclamav
>DOCSDIR=/usr/local/share/doc/squidclamav
>EXAMPLESDIR=/usr/local/share/examples/squidclamav
>WWWDIR=/usr/local/www/squidclamav
>ETCDIR=/usr/local/etc/squidclamav
>--End SUB_LIST--
>
>---Begin make.conf---
>ARCH=i386
>MACHINE=i386
>MACHINE_ARCH=i386
>USE_PACKAGE_DEPENDS=yes
>BATCH=yes
>WRKDIRPREFIX=/wrkdirs
>PACKAGES=/packages
>DISTDIR=/distfiles
>#### /usr/local/etc/poudriere.d/make.conf ####
>WITH_PKGNG=yes
>NO_RESTRICTED=yes
>DISABLE_MAKE_JOBS=yes
>---End make.conf---
>===>  Cleaning for squidclamav-5.7_2
>=======================<phase: check-config   >============================
>===========================================================================
>=======================<phase: pkg-depends    >============================
>===>   squidclamav-5.7_2 depends on file: /usr/local/sbin/pkg - not found
>===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
>===>   Installing existing package /packages/All/pkg-1.1.4_5.txz
>Installing pkg-1.1.4_5... done
>If you are upgrading from the old package format, first run:
>
>   # pkg2ng
>===>   Returning to build of squidclamav-5.7_2
>===========================================================================
>=======================<phase: fetch-depends  >============================
>===========================================================================
>=======================<phase: fetch          >============================
>===> Fetching all distfiles required by squidclamav-5.7_2 for building
>===========================================================================
>=======================<phase: checksum       >============================
>===> Fetching all distfiles required by squidclamav-5.7_2 for building
>=> SHA256 Checksum OK for squidclamav-5.7.tar.gz.
>===========================================================================
>=======================<phase: extract-depends>============================
>===========================================================================
>=======================<phase: extract        >============================
>===> Fetching all distfiles required by squidclamav-5.7_2 for building
>===>  Extracting for squidclamav-5.7_2
>=> SHA256 Checksum OK for squidclamav-5.7.tar.gz.
>===========================================================================
>=======================<phase: patch-depends  >============================
>===========================================================================
>=======================<phase: patch          >============================
>===>  Patching for squidclamav-5.7_2
>===>  Applying FreeBSD patches for squidclamav-5.7_2
>===========================================================================
>=======================<phase: build-depends  >============================
>===>   squidclamav-5.7_2 depends on executable: gmake - not found
>===>    Verifying install for gmake in /usr/ports/devel/gmake
>===>   Installing existing package /packages/All/gmake-3.82_1.txz
>Installing gmake-3.82_1...Installing gettext-0.18.3... done
>  done
>===>   Returning to build of squidclamav-5.7_2
>===========================================================================
>=======================<phase: lib-depends    >============================
>===>   squidclamav-5.7_2 depends on shared library: curl - not found
>===>    Verifying install for curl in /usr/ports/ftp/curl
>===>   Installing existing package /packages/All/curl-7.31.0_1.txz
>Installing curl-7.31.0_1...Installing ca_root_nss-3.15.1_1... done
>  done
>===>   Returning to build of squidclamav-5.7_2
>===========================================================================
>=======================<phase: configure      >============================
>===>  Configuring for squidclamav-5.7_2
>===>   FreeBSD 10 autotools fix applied to 
>/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/acinclude.m4
>===>   FreeBSD 10 autotools fix applied to 
>/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/aclocal.m4
>===>   FreeBSD 10 autotools fix applied to 
>/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/configure
>===>   FreeBSD 10 autotools fix applied to 
>/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/libtool
>configure: loading site script /usr/ports/Templates/config.site
>checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
>checking for gawk... (cached) /usr/bin/awk
>checking whether gmake sets $(MAKE)... yes
>checking for gcc... cc
>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 cc accepts -g... yes
>checking for cc option to accept ISO C89... none needed
>checking for style of include used by gmake... GNU
>checking dependency style of cc... gcc3
>checking for gcc... (cached) 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... (cached) none needed
>checking dependency style of cc... (cached) gcc3
>checking whether cc understands -c and -o together... yes
>checking whether we are using the GNU C++ compiler... yes
>checking whether c++ accepts -g... yes
>checking dependency style of c++... gcc3
>checking build system type... i386-portbld-freebsd10.0
>checking host system type... i386-portbld-freebsd10.0
>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 ld used by cc... /usr/bin/ld
>checking if the linker (/usr/bin/ld) is GNU ld... yes
>checking for /usr/bin/ld option to reload object files... -r
>checking for BSD-compatible nm... /usr/bin/nm -B
>checking whether ln -s works... yes
>checking how to recognize dependent libraries... pass_all
>checking how to run the C preprocessor... cpp
>checking for ANSI C header files... (cached) yes
>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 dlfcn.h... (cached) yes
>checking how to run the C++ preprocessor... c++ -E
>checking for g77... no
>checking for xlf... no
>checking for f77... no
>checking for frt... no
>checking for pgf77... no
>checking for cf77... no
>checking for fort77... no
>checking for fl32... no
>checking for af77... no
>checking for xlf90... no
>checking for f90... no
>checking for pgf90... no
>checking for pghpf... no
>checking for epcf90... no
>checking for gfortran... no
>checking for g95... no
>checking for xlf95... no
>checking for f95... no
>checking for fort... no
>checking for ifort... no
>checking for ifc... no
>checking for efc... no
>checking for pgfortran... no
>checking for pgf95... no
>checking for lf95... no
>checking for ftn... no
>checking whether we are using the GNU Fortran 77 compiler... no
>checking whether  accepts -g... no
>checking the maximum length of command line arguments... (cached) 262144
>checking command to parse /usr/bin/nm -B output from cc object... ok
>checking for objdir... .libs
>checking for ar... ar
>checking for ranlib... ranlib
>checking for strip... strip
>checking if cc supports -fno-rtti -fno-exceptions... yes
>checking for cc option to produce PIC... -fPIC
>checking if cc PIC flag -fPIC works... yes
>checking if cc static flag -static works... yes
>checking if cc supports -c -o file.o... yes
>checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
>checking dynamic linker characteristics... freebsd10.0 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... no
>checking whether to build static libraries... yes
>configure: creating libtool
>appending configuration tag "CXX" to libtool
>checking for ld used by c++... /usr/bin/ld
>checking if the linker (/usr/bin/ld) is GNU ld... yes
>checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
>checking for c++ option to produce PIC... -fPIC
>checking if c++ PIC flag -fPIC works... yes
>checking if c++ static flag -static works... yes
>checking if c++ supports -c -o file.o... yes
>checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
>checking dynamic linker characteristics... freebsd10.0 ld.so
>(cached) (cached) checking how to hardcode library paths into 
>programs... immediate
>appending configuration tag "F77" to libtool
>checking for shl_load... no
>checking for shl_load in -ldld... no
>checking for dlopen in -ldl... no
>checking for dlerror... yes
>checking for ranlib... (cached) ranlib
>checking for curl_easy_init in -lcurl... yes
>checking for arpa/inet.h... (cached) yes
>checking for fcntl.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 unistd.h... (cached) yes
>checking regex.h usability... yes
>checking regex.h presence... yes
>checking for regex.h... yes
>checking for signal.h... (cached) yes
>checking for pid_t... (cached) yes
>checking for size_t... (cached) yes
>checking for vfork.h... (cached) no
>checking for fork... (cached) yes
>checking for vfork... (cached) yes
>checking for working fork... yes
>checking for working vfork... (cached) yes
>checking whether lstat correctly handles trailing slash... (cached) yes
>checking for stdlib.h... (cached) yes
>checking for GNU libc compatible malloc... (cached) yes
>checking for stdlib.h... (cached) yes
>checking for GNU libc compatible realloc... yes
>checking for dup2... (cached) yes
>checking for gettimeofday... (cached) yes
>checking for memchr... (cached) yes
>checking for memset... (cached) yes
>checking for regcomp... yes
>checking for regexec... yes
>checking for regfree... yes
>checking for socket... yes
>checking for strdup... (cached) yes
>checking for strerror... (cached) yes
>checking for strspn... yes
>checking for strstr... yes
>configure: creating ./config.status
>config.status: creating Makefile
>config.status: creating src/Makefile
>config.status: creating etc/Makefile
>config.status: creating config.h
>config.status: config.h is unchanged
>config.status: executing depfiles commands
>===========================================================================
>=======================<phase: build          >============================
>===>  Building for squidclamav-5.7_2
>gmake[1]: Entering directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7'
>gmake  all-recursive
>gmake[2]: Entering directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7'
>Making all in src
>gmake[3]: Entering directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/src'
>cc -DHAVE_CONFIG_H 
>-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squidclamav.conf\" -I. 
>-I..   -I/usr/local/include -I/usr/local/include -O2 -pipe 
>-fno-strict-aliasing -MT scconfig.o -MD -MP -MF .deps/scconfig.Tpo 
>-c -o scconfig.o scconfig.c
>scconfig.c:198:2: warning: implicit declaration of function 'trim' 
>is invalid in C99 [-Wimplicit-function-declaration]
>         trim(first);
>         ^
>scconfig.c:430:7: warning: implicit declaration of function 
>'growPatternArray' is invalid in C99 [-Wimplicit-function-declaration]
>                 if (growPatternArray(currItem) < 0) {
>                     ^
>2 warnings generated.
>mv -f .deps/scconfig.Tpo .deps/scconfig.Po
>cc -DHAVE_CONFIG_H 
>-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squidclamav.conf\" -I. 
>-I..   -I/usr/local/include -I/usr/local/include -O2 -pipe 
>-fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
>mv -f .deps/util.Tpo .deps/util.Po
>cc -DHAVE_CONFIG_H 
>-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squidclamav.conf\" -I. 
>-I..   -I/usr/local/include -I/usr/local/include -O2 -pipe 
>-fno-strict-aliasing -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
>mv -f .deps/log.Tpo .deps/log.Po
>cc -DHAVE_CONFIG_H 
>-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squidclamav.conf\" -I. 
>-I..   -I/usr/local/include -I/usr/local/include -O2 -pipe 
>-fno-strict-aliasing -MT pattern.o -MD -MP -MF .deps/pattern.Tpo -c 
>-o pattern.o pattern.c
>mv -f .deps/pattern.Tpo .deps/pattern.Po
>cc -DHAVE_CONFIG_H 
>-DDEFAULT_CONFIG_FILE=\"/usr/local/etc/squidclamav.conf\" -I. 
>-I..   -I/usr/local/include -I/usr/local/include -O2 -pipe 
>-fno-strict-aliasing -MT squidclamav.o -MD -MP -MF 
>.deps/squidclamav.Tpo -c -o squidclamav.o squidclamav.c
>squidclamav.c:117:16: warning: incompatible pointer types passing 
>'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
>   while (wait3((union wait *) 0, WNOHANG, NULL) > 0);
>                ^~~~~~~~~~~~~~~~
>/usr/include/sys/wait.h:154:18: note: passing argument to parameter here
>pid_t   wait3(int *, int, struct rusage *);
>                    ^
>squidclamav.c:383:31: warning: implicit declaration of function 
>'basename' is invalid in C99 [-Wimplicit-function-declaration]
>                                 execlp(squidguard,(char 
> *)basename(squidguard),(char  *)0);
>                                                           ^
>squidclamav.c:413:35: warning: 'memset' call operates on objects of 
>type 'char' while the size is based on a different type 'char *' 
>[-Wsizeof-pointer-memaccess]
>   memset(clamd_curr_ip, 0, sizeof(clamd_curr_ip));
>          ~~~~~~~~~~~~~            ^~~~~~~~~~~~~
>squidclamav.c:413:35: note: did you mean to provide an explicit length?
>   memset(clamd_curr_ip, 0, sizeof(clamd_curr_ip));
>                                   ^~~~~~~~~~~~~
>squidclamav.c:972:3: error: non-void function 'escape_quote' should 
>return a value [-Wreturn-type]
>                 return;
>                 ^
>squidclamav.c:991:3: error: non-void function 'escape_quote' should 
>return a value [-Wreturn-type]
>                 return;
>                 ^
>3 warnings and 2 errors generated.
>gmake[3]: *** [squidclamav.o] Error 1
>gmake[3]: Leaving directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7/src'
>gmake[2]: *** [all-recursive] Error 1
>gmake[2]: Leaving directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7'
>gmake[1]: *** [all] Error 2
>gmake[1]: Leaving directory 
>`/wrkdirs/usr/ports/security/squidclamav/work/squidclamav-5.7'
>*** Error code 1
>
>Stop.
>make: stopped in /usr/ports/security/squidclamav
>===>  Cleaning for squidclamav-5.7_2




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130926162502.68F0246B>