Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 11:37:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        bofh@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][mail/spamguard] Failed for spamguard-1.8 in build
Message-ID:  <202008281137.07SBb5di058029@beefy17.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:     bofh@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/mail/spamguard/Makefile 457166 2017-12-24 14:36:13Z tijl $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p546309_s364850/logs/spamguard-1.8.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p546309_s364850
Log:

=>> Building mail/spamguard
build started at Fri Aug 28 11:36:46 UTC 2020
port directory: /usr/ports/mail/spamguard
package name: spamguard-1.8
building for: FreeBSD head-i386-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300113 i386
maintained by: bofh@FreeBSD.org
Makefile ident:      $FreeBSD: head/mail/spamguard/Makefile 457166 2017-12-24 14:36:13Z tijl $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300113
Job Id: 06




!!! Jail is newer than host. (Jail: 1300113, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300113
UNAME_v=FreeBSD 13.0-CURRENT 1300113
UNAME_r=13.0-CURRENT
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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---
===> The following configuration options are available for spamguard-1.8:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/spamguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/spamguard/work  HOME=/wrkdirs/usr/ports/mail/spamguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/spamguard/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=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/spamguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/spamguard/work  HOME=/wrkdirs/usr/ports/mail/spamguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/spamguard/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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--
PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spamguard"  EXAMPLESDIR="share/examples/spamguard"  DATADIR="share/spamguard"  WWWDIR="www/spamguard"  ETCDIR="etc/spamguard"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/spamguard DOCSDIR=/usr/local/share/doc/spamguard EXAMPLESDIR=/usr/local/share/examples/spamguard  WWWDIR=/usr/local/www/spamguard ETCDIR=/usr/local/etc/spamguard
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: i386-unknown-freebsd13.0 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 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300113
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   spamguard-1.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.7.txz
[head-i386-default-job-06] Installing pkg-1.14.7...
[head-i386-default-job-06] Extracting pkg-1.14.7: .......... done
===>   spamguard-1.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of spamguard-1.8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by spamguard-1.8 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by spamguard-1.8 for building
=> SHA256 Checksum OK for spamguard-1.8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by spamguard-1.8 for building
===>  Extracting for spamguard-1.8
=> SHA256 Checksum OK for spamguard-1.8.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for spamguard-1.8
===>  Applying FreeBSD patches for spamguard-1.8 from /usr/ports/mail/spamguard/files
===========================================================================
=======================<phase: build-depends  >============================
===>   spamguard-1.8 depends on package: autoconf>=2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69_3.txz
[head-i386-default-job-06] Installing autoconf-2.69_3...
<snip>
--- all ---
/usr/bin/make  all-am
--- functions.o ---
--- loadconfig.o ---
--- functions.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT functions.o -MD -MP -MF .deps/functions.Tpo -c -o functions.o functions.c
--- loadconfig.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT loadconfig.o -MD -MP -MF .deps/loadconfig.Tpo -c -o loadconfig.o loadconfig.c
--- functions.o ---
functions.c:110:20: warning: unsequenced modification and access to 'bytes' [-Wunsequenced]
        if ((bytes = write(fd, n, strlen(n))) < bytes) {
                   ^                            ~~~~~
functions.c:186:6: warning: comparison of array 'inode' not equal to a null pointer is always true [-Wtautological-pointer-compare]
        if (inode != NULL)
            ^~~~~    ~~~~
functions.c:189:6: warning: comparison of array 'pos' not equal to a null pointer is always true [-Wtautological-pointer-compare]
        if (pos != NULL)
            ^~~    ~~~~
--- loadconfig.o ---
mv -f .deps/loadconfig.Tpo .deps/loadconfig.Po
--- main.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
--- functions.o ---
3 warnings generated.
mv -f .deps/functions.Tpo .deps/functions.Po
--- parser.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
--- main.o ---
mv -f .deps/main.Tpo .deps/main.Po
--- wildmat.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT wildmat.o -MD -MP -MF .deps/wildmat.Tpo -c -o wildmat.o wildmat.c
mv -f .deps/wildmat.Tpo .deps/wildmat.Po
--- qsheff_parser.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT qsheff_parser.o -MD -MP -MF .deps/qsheff_parser.Tpo -c -o qsheff_parser.o qsheff_parser.c
--- parser.o ---
mv -f .deps/parser.Tpo .deps/parser.Po
--- hash.o ---
cc -DHAVE_CONFIG_H -I.      -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
--- qsheff_parser.o ---
qsheff_parser.c:228:39: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [2048]' [-Wsizeof-array-decay]
                                        snprintf(mailbuf, sizeof(mailbuf - 1), " %s - %s has been spamming your box! (sent %d mails)\n No matter this mail address is matched against your spam high list: %s, or not. I'm still adding it to blacklist since s/he sent more mails then your paranoid threshold.\n\n Source mail address has been added to %s file\n Target successfully nuked!\n\n Regards,\n -EnderUNIX spamGuard %s\n http://www.enderunix.org/spamguard\n", bp->mail, bp->recvfrom, bp->count, highfile, badmailfile, VERSION);
                                                                 ~~~~~~~ ^
qsheff_parser.c:229:29: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [2048]' [-Wsizeof-array-decay]
                                        mailbuf[sizeof(mailbuf - 2)] = '\0';  /* -1 is for NULL byte, the other -1 is for 'Sir BALABAN Byte' ... */
                                                       ~~~~~~~ ^
--- hash.o ---
hash.c:144:59: warning: 'strncmp' call operates on objects of type 'const char' while the size is based on a different type 'const char *' [-Wsizeof-pointer-memaccess]
                if (! strncmp(bp->subject, target, sizeof(target)))
                                           ~~~~~~         ^~~~~~
hash.c:144:59: note: did you mean to provide an explicit length?
                if (! strncmp(bp->subject, target, sizeof(target)))
                                                          ^~~~~~
hash.c:159:54: warning: 'strncmp' call operates on objects of type 'const char' while the size is based on a different type 'const char *' [-Wsizeof-pointer-memaccess]
                if (! strncmp(ip->IP, target, sizeof(target)))
                                      ~~~~~~         ^~~~~~
hash.c:159:54: note: did you mean to provide an explicit length?
                if (! strncmp(ip->IP, target, sizeof(target)))
                                                     ^~~~~~
2 warnings generated.
mv -f .deps/hash.Tpo .deps/hash.Po
--- qsheff_parser.o ---
2 warnings generated.
mv -f .deps/qsheff_parser.Tpo .deps/qsheff_parser.Po
--- spamguard ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o spamguard functions.o loadconfig.o  main.o parser.o wildmat.o  qsheff_parser.o hash.o  
ld: error: duplicate symbol: badmailfile
>>> defined at functions.c
>>>            functions.o:(badmailfile)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x300)

ld: error: duplicate symbol: bcnt
>>> defined at functions.c
>>>            functions.o:(bcnt)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x904)

ld: error: duplicate symbol: enable_subj_filt
>>> defined at functions.c
>>>            functions.o:(enable_subj_filt)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0xA0C)

ld: error: duplicate symbol: highfile
>>> defined at functions.c
>>>            functions.o:(highfile)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x90C)

ld: error: duplicate symbol: hostname
>>> defined at functions.c
>>>            functions.o:(hostname)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x400)

ld: error: duplicate symbol: ignorefile
>>> defined at functions.c
>>>            functions.o:(ignorefile)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x200)

ld: error: duplicate symbol: logfile
>>> defined at functions.c
>>>            functions.o:(logfile)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x100)

ld: error: duplicate symbol: logtype
>>> defined at functions.c
>>>            functions.o:(logtype)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x0)

ld: error: duplicate symbol: mail_command
>>> defined at functions.c
>>>            functions.o:(mail_command)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x700)

ld: error: duplicate symbol: makemap_command
>>> defined at functions.c
>>>            functions.o:(makemap_command)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x800)

ld: error: duplicate symbol: pcnt
>>> defined at functions.c
>>>            functions.o:(pcnt)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x908)

ld: error: duplicate symbol: qsheff_rules_file
>>> defined at functions.c
>>>            functions.o:(qsheff_rules_file)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0xA10)

ld: error: duplicate symbol: statfile
>>> defined at functions.c
>>>            functions.o:(statfile)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x600)

ld: error: duplicate symbol: sysadmin
>>> defined at functions.c
>>>            functions.o:(sysadmin)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x500)

ld: error: duplicate symbol: trim_subj_str
>>> defined at functions.c
>>>            functions.o:(trim_subj_str)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0xB10)

ld: error: duplicate symbol: wcnt
>>> defined at functions.c
>>>            functions.o:(wcnt)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x900)

ld: error: duplicate symbol: IP_bucket_arr
>>> defined at functions.c
>>>            functions.o:(IP_bucket_arr)
>>> defined at main.c
>>>            main.o:(.bss+0x5A40)

ld: error: duplicate symbol: badmailfile
>>> defined at functions.c
>>>            functions.o:(badmailfile)
>>> defined at main.c
>>>            main.o:(.bss+0x310)

ld: error: duplicate symbol: bcnt
>>> defined at functions.c
>>>            functions.o:(bcnt)
>>> defined at main.c
>>>            main.o:(.bss+0x414)

ld: error: duplicate symbol: bucket_arr
>>> defined at functions.c
>>>            functions.o:(bucket_arr)
>>> defined at main.c
>>>            main.o:(.bss+0xAE54)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [spamguard] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/mail/spamguard/work/spamguard
1 error

make[2]: stopped in /wrkdirs/usr/ports/mail/spamguard/work/spamguard
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/spamguard



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