[package - 124amd64-quarterly][mail/qsheff] Failed for qsheff-II-2.1.r3_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 21 Dec 2023 01:10:51 UTC
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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy2/data/124amd64-quarterly/9d5f5f8e2a1f/logs/qsheff-II-2.1.r3_10.log
Build URL:      https://pkg-status.freebsd.org/beefy2/build.html?mastername=124amd64-quarterly&build=9d5f5f8e2a1f
Log:

=>> Building mail/qsheff
build started at Thu Dec 21 01:10:42 UTC 2023
port directory: /usr/ports/mail/qsheff
package name: qsheff-II-2.1.r3_10
building for: FreeBSD 124amd64-quarterly-job-05 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2727 Oct  3 01:01 /usr/ports/mail/qsheff/Makefile
Ports top last git commit: 9d5f5f8e2
Ports top unclean checkout: no
Port dir last git commit: 2195304f9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1204000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p9
UNAME_r=12.4-RELEASE-p9
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/124amd64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/124amd64-quarterly/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/124amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for qsheff-II-2.1.r3_10:
     BACKUP=off: Logging of incoming/outgoing mail
     CLAMAV=on: Integrate with ClamAV
     CUSTOMERROR=off: Custom error patch
     DEBUG=off: Build with debugging support
     DISABLELOCAL=off: Disable filters for local users
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     SPAMTAG=off: Spam tagging
     SYSLOG=off: Syslog logging support
     VIRUSTAG=off: Virus tagging
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-qmaildir=/var/qmail --with-clamav --with-clamd-socket=/var/run/clamav/clamd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qsheff/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qsheff/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qsheff/work/.cache  HOME=/wrkdirs/usr/ports/mail/qsheff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qsheff/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qsheff/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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/qsheff/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qsheff/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qsheff/work/.cache  HOME=/wrkdirs/usr/ports/mail/qsheff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qsheff/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qsheff/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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="" PORTEXAMPLES="" OSREL=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/qsheff-II"  EXAMPLESDIR="share/examples/qsheff-II"  DATADIR="share/qsheff-II"  WWWDIR="www/qsheff-II"  ETCDIR="etc/qsheff-II"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/qsheff-II DOCSDIR=/usr/local/share/doc/qsheff-II EXAMPLESDIR=/usr/local/share/examples/qsheff-II  WWWDIR=/usr/local/www/qsheff-II ETCDIR=/usr/local/etc/qsheff-II
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  33554432
stack size              (kbytes, -s)  524288
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The qsheff-II port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   qsheff-II-2.1.r3_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[124amd64-quarterly-job-05] Installing pkg-1.20.9...
[124amd64-quarterly-job-05] Extracting pkg-1.20.9: .......... done
===>   qsheff-II-2.1.r3_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of qsheff-II-2.1.r3_10
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The qsheff-II port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by qsheff-II-2.1.r3_10 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The qsheff-II port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by qsheff-II-2.1.r3_10 for building
=> SHA256 Checksum OK for qsheff-II-2.1-r3.tar.gz.
===========================================================================
<snip>
===>  Building for qsheff-II-2.1.r3_10
--- all-recursive ---
Making all in doc
Making all in etc
Making all in samples
Making all in contrib
Making all in src
--- all ---
/usr/bin/make  all-am
--- djb.o ---
--- main.o ---
--- loadconfig.o ---
--- djb.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT djb.o -MD -MP -MF ".deps/djb.Tpo" -c -o djb.o djb.c;  then mv -f ".deps/djb.Tpo" ".deps/djb.Po"; else rm -f ".deps/djb.Tpo"; exit 1; fi
--- main.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c;  then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
--- loadconfig.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT loadconfig.o -MD -MP -MF ".deps/loadconfig.Tpo" -c -o loadconfig.o loadconfig.c;  then mv -f ".deps/loadconfig.Tpo" ".deps/loadconfig.Po"; else rm -f ".deps/loadconfig.Tpo"; exit 1; fi
--- main.o ---
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- djb.o ---
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- loadconfig.o ---
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- djb.o ---
djb.c:75:17: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  len = str_len(s);
                ^
1 warning generated.
--- toolkit.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT toolkit.o -MD -MP -MF ".deps/toolkit.Tpo" -c -o toolkit.o toolkit.c;  then mv -f ".deps/toolkit.Tpo" ".deps/toolkit.Po"; else rm -f ".deps/toolkit.Tpo"; exit 1; fi
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- log.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c;  then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- smtp.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT smtp.o -MD -MP -MF ".deps/smtp.Tpo" -c -o smtp.o smtp.c;  then mv -f ".deps/smtp.Tpo" ".deps/smtp.Po"; else rm -f ".deps/smtp.Tpo"; exit 1; fi
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- scanengine.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT scanengine.o -MD -MP -MF ".deps/scanengine.Tpo" -c -o scanengine.o scanengine.c;  then mv -f ".deps/scanengine.Tpo" ".deps/scanengine.Po"; else rm -f ".deps/scanengine.Tpo"; exit 1; fi
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- miscutil.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT miscutil.o -MD -MP -MF ".deps/miscutil.Tpo" -c -o miscutil.o miscutil.c;  then mv -f ".deps/miscutil.Tpo" ".deps/miscutil.Po"; else rm -f ".deps/miscutil.Tpo"; exit 1; fi
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- clam.o ---
--- exec.o ---
--- clam.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT clam.o -MD -MP -MF ".deps/clam.Tpo" -c -o clam.o clam.c;  then mv -f ".deps/clam.Tpo" ".deps/clam.Po"; else rm -f ".deps/clam.Tpo"; exit 1; fi
--- exec.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT exec.o -MD -MP -MF ".deps/exec.Tpo" -c -o exec.o exec.c;  then mv -f ".deps/exec.Tpo" ".deps/exec.Po"; else rm -f ".deps/exec.Tpo"; exit 1; fi
--- clam.o ---
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- exec.o ---
cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
--- qsheff ---
cc -I/usr/local/include -L/usr/local/lib -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong -o qsheff  djb.o main.o loadconfig.o  toolkit.o log.o smtp.o  scanengine.o miscutil.o clam.o  exec.o  
ld: error: duplicate symbol: custom_sign
>>> defined at main.c
>>>            main.o:(custom_sign)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x450)

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

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

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

ld: error: duplicate symbol: enable_qsheff_sign
>>> defined at main.c
>>>            main.o:(enable_qsheff_sign)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x300)

ld: error: duplicate symbol: debug_level
>>> defined at main.c
>>>            main.o:(debug_level)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x304)

ld: error: duplicate symbol: paronia_level
>>> defined at main.c
>>>            main.o:(paronia_level)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x308)

ld: error: duplicate symbol: drop_empty_from
>>> defined at main.c
>>>            main.o:(drop_empty_from)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x30C)

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

ld: error: duplicate symbol: enable_virus_blackhole
>>> defined at main.c
>>>            main.o:(enable_virus_blackhole)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x314)

ld: error: duplicate symbol: enable_quarantine
>>> defined at main.c
>>>            main.o:(enable_quarantine)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x318)
ld: error: duplicate symbol: enable_ignore_list
>>> defined at main.c
>>>            main.o:(enable_ignore_list)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x31C)
ld: error: duplicate symbol: enable_header_filter
>>> defined at main.c
>>>            main.o:(enable_header_filter)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x320)

ld: error: duplicate symbol: enable_body_filter
>>> defined at main.c
>>>            main.o:(enable_body_filter)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x324)

ld: error: duplicate symbol: enable_attach_filter
>>> defined at main.c
>>>            main.o:(enable_attach_filter)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x328)

ld: error: duplicate symbol: enable_clamd
>>> defined at main.c
>>>            main.o:(enable_clamd)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x32C)

ld: error: duplicate symbol: enable_custom_prog
>>> defined at main.c
>>>            main.o:(enable_custom_prog)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x330)
ld: error: duplicate symbol: CUSTOM_PROG
>>> defined at main.c
>>>            main.o:(CUSTOM_PROG)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x340)

ld: error: duplicate symbol: CUSTOM_RET_MIN
>>> defined at main.c
>>>            main.o:(CUSTOM_RET_MIN)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x440)

ld: error: duplicate symbol: CUSTOM_RET_MAX
>>> defined at main.c
>>>            main.o:(CUSTOM_RET_MAX)
>>> defined at loadconfig.c
>>>            loadconfig.o:(.bss+0x444)

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)
*** [qsheff] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3/src
1 error

make[3]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3/src
*** [all] Error code 2

make[2]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3/src
1 error

make[2]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3/src
*** [all-recursive] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3
1 error

make[1]: stopped in /wrkdirs/usr/ports/mail/qsheff/work/qsheff-II-2.1-r3
===> 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/qsheff