Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 02:32:54 GMT
From:      pkg-fallout@FreeBSD.org
To:        bsd@dino.sk
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 112i386-default][security/clamcour] Failed for clamcour-0.3.8_9 in build
Message-ID:  <201901150232.x0F2WsSM022444@beefy10.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     bsd@dino.sk
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/security/clamcour/Makefile 412349 2016-04-01 14:25:16Z mat $
Log URL:        http://beefy10.nyi.freebsd.org/data/112i386-default/490335/logs/clamcour-0.3.8_9.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=112i386-default&build=490335
Log:

=>> Building security/clamcour
build started at Tue Jan 15 02:32:34 UTC 2019
port directory: /usr/ports/security/clamcour
package name: clamcour-0.3.8_9
building for: FreeBSD 112i386-default-job-05 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 i386
maintained by: bsd@dino.sk
Makefile ident:      $FreeBSD: head/security/clamcour/Makefile 412349 2016-04-01 14:25:16Z mat $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1102000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p8
UNAME_r=11.2-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8
MASTERMNT=/usr/local/poudriere/data/.m/112i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
bsd@dino.sk
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-clamav-config=/usr/local/bin  --with-courier-config=/usr/local/bin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/clamcour/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/clamcour/work  HOME=/wrkdirs/usr/ports/security/clamcour/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/clamcour/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/clamcour/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/clamcour/work  HOME=/wrkdirs/usr/ports/security/clamcour/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/clamcour/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -lpthread -L/usr/local/lib -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/clamcour"  EXAMPLESDIR="share/examples/clamcour"  DATADIR="share/clamcour"  WWWDIR="www/clamcour"  ETCDIR="etc/clamcour"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/clamcour DOCSDIR=/usr/local/share/doc/clamcour EXAMPLESDIR=/usr/local/share/examples/clamcour  WWWDIR=/usr/local/www/clamcour ETCDIR=/usr/local/etc/clamcour
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p8
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   clamcour-0.3.8_9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[112i386-default-job-05] Installing pkg-1.10.5_5...
[112i386-default-job-05] Extracting pkg-1.10.5_5: .......... done
===>   clamcour-0.3.8_9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of clamcour-0.3.8_9
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by clamcour-0.3.8_9 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by clamcour-0.3.8_9 for building
=> SHA256 Checksum OK for clamcour-0.3.8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by clamcour-0.3.8_9 for building
===>  Extracting for clamcour-0.3.8_9
=> SHA256 Checksum OK for clamcour-0.3.8.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for clamcour-0.3.8_9
===>  Applying FreeBSD patches for clamcour-0.3.8_9
===========================================================================
=======================<phase: build-depends  >============================
===>   clamcour-0.3.8_9 depends on executable: courier-config - not found
===>   Installing existing package /packages/All/courier-0.65.3_5.txz
[112i386-default-job-05] Installing courier-0.65.3_5...
[112i386-default-job-05] `-- Installing ca_root_nss-3.41...
[112i386-default-job-05] `-- Extracting ca_root_nss-3.41: ........ done
[112i386-default-job-05] `-- Installing courier-authlib-base-0.69.0...
[112i386-default-job-05] |   `-- Installing courier-unicode-2.1_1...
[112i386-default-job-05] |   `-- Extracting courier-unicode-2.1_1: .......... done
[112i386-default-job-05] |   `-- Installing libltdl-2.4.6...
[112i386-default-job-05] |   `-- Extracting libltdl-2.4.6: .......... done
[112i386-default-job-05] |   `-- Installing perl5-5.28.1...
[112i386-default-job-05] |   `-- Extracting perl5-5.28.1: .......... done
[112i386-default-job-05] |   `-- Installing sysconftool-0.17...
<snip>
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... freebsd11.2 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether mkdir accepts -p... yes


POSIX Threads
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc
checking for pthread.h... (cached) yes
checking for pthread_create... yes


I/O functions
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking for stdio.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for close... yes
checking for unlink... (cached) yes
checking for fopen... yes
checking for fscanf... yes
checking for fprintf... (cached) yes
checking for fclose... yes
checking for fgets... yes
checking for fread... yes
checking for fwrite... yes
checking for ferror... yes
checking for rename... (cached) yes
checking for sprintf... (cached) yes
checking for putenv... (cached) yes
checking for chmod... yes
checking for open... yes
checking for read... yes
checking for write... yes
checking for popen... yes
checking for pclose... yes
checking for mkfifo... yes
checking for umask... yes
checking for stat... (cached) yes
checking for access... yes
checking for select... (cached) yes
checking for fsync... (cached) yes
checking for fdatasync... yes


Signal functions
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking for signal.h... (cached) yes
checking for sigemptyset... yes
checking for sigaddset... yes
checking for sigwait... yes


String functions
checking for string.h... (cached) yes
checking for ctype.h... (cached) yes
checking for strcpy... yes
checking for strlen... (cached) yes
checking for strcat... yes
checking for memset... (cached) yes
checking for strcmp... yes
checking for strncmp... (cached) yes
checking for toupper... yes


Socket functions
checking for sys/socket.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for libraries containing socket functions... -lc
checking for socket... yes
checking for bind... yes
checking for listen... yes
checking for accept... (cached) yes
checking for shutdown... yes
checking for socklen_t... (cached) yes
checking for struct sockaddr_un.sun_len... yes


System log functions
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for openlog... yes
checking for syslog... yes
checking for closelog... yes


Time functions
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for localtime_r... yes
checking for strftime... (cached) yes
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking for sysconf... (cached) yes


BZip2 support
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzWriteOpen in -lbz2... yes


GZip support
checking for zlib.h... (cached) yes
checking for gzopen in -lz... yes


LibClamAV support
checking for //usr/local/bin/clamav-config... yes
checking clamav.h usability... yes
checking clamav.h presence... yes
checking for clamav.h... yes
checking for cl_retdbdir in -lclamav... yes


Courier configuration
checking for /usr/local/bin/courier-config... yes
checking for sendmail... yes
./configure: CXXFLAGS?=-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing   -pipe -Wall -O3 -D_THREAD_SAFE  -I/usr/local/include: not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for clamcour-0.3.8_9
/usr/bin/make  all-recursive
Making all in src
Making all in .
if c++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing   -pipe -Wall -O3 -D_THREAD_SAFE  -I/usr/local/include -MT clam.o -MD -MP -MF ".deps/clam.Tpo" -c -o clam.o clam.cpp;  then mv -f ".deps/clam.Tpo" ".deps/clam.Po"; else rm -f ".deps/clam.Tpo"; exit 1; fi
clam.cpp:72:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    if ((err = putenv(CLAM_TMP_VAR)))
                      ^
./../config.h:14:22: note: expanded from macro 'CLAM_TMP_VAR'
#define CLAM_TMP_VAR "TMPDIR=/var/spool/courier/tmp"
                     ^
clam.cpp:148:45: error: use of undeclared identifier 'CL_SCAN_ARCHIVE'
                                            CL_SCAN_ARCHIVE|CL_SCAN_MAIL|CL_SCAN_OLE2|CL_SCAN_PE|
                                            ^
clam.cpp:148:61: error: use of undeclared identifier 'CL_SCAN_MAIL'
                                            CL_SCAN_ARCHIVE|CL_SCAN_MAIL|CL_SCAN_OLE2|CL_SCAN_PE|
                                                            ^
clam.cpp:148:74: error: use of undeclared identifier 'CL_SCAN_OLE2'
                                            CL_SCAN_ARCHIVE|CL_SCAN_MAIL|CL_SCAN_OLE2|CL_SCAN_PE|
                                                                         ^
clam.cpp:148:87: error: use of undeclared identifier 'CL_SCAN_PE'
                                            CL_SCAN_ARCHIVE|CL_SCAN_MAIL|CL_SCAN_OLE2|CL_SCAN_PE|
                                                                                      ^
clam.cpp:149:45: error: use of undeclared identifier 'CL_SCAN_HTML'
                                            CL_SCAN_HTML|CL_SCAN_BLOCKBROKEN) : CL_CLEAN);
                                            ^
clam.cpp:149:58: error: use of undeclared identifier 'CL_SCAN_BLOCKBROKEN'
                                            CL_SCAN_HTML|CL_SCAN_BLOCKBROKEN) : CL_CLEAN);
                                                         ^
clam.cpp:191:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    if ((err = putenv(CLAM_TMP_VAR)))
                      ^
./../config.h:14:22: note: expanded from macro 'CLAM_TMP_VAR'
#define CLAM_TMP_VAR "TMPDIR=/var/spool/courier/tmp"
                     ^
2 warnings and 6 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/security/clamcour/work/clamcour-0.3.8/src
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/security/clamcour/work/clamcour-0.3.8/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/clamcour/work/clamcour-0.3.8
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/clamcour/work/clamcour-0.3.8
*** Error code 1

Stop.
make: stopped in /usr/ports/security/clamcour



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