[package - 143arm64-default][mail/usendmail] Failed for usendmail-0.1.6_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 31 Dec 2025 11:22:41 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/ampere3/data/143arm64-default/fcca7a41124f/logs/usendmail-0.1.6_2.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=143arm64-default&build=fcca7a41124f
Log:

=>> Building mail/usendmail
build started at Wed Dec 31 11:22:30 -00 2025
port directory: /usr/ports/mail/usendmail
package name: usendmail-0.1.6_2
building for: FreeBSD 143arm64-default-job-02 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 984 Sep 11  2022 /usr/ports/mail/usendmail/Makefile
Ports top last git commit: fcca7a41124f077e39af749b5747a5e2783d9605
Ports top unclean checkout: no
Port dir last git commit: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-15-g61aba751
Host OSVERSION: 1600000
Jail OSVERSION: 1403000
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1403000
UNAME_v=FreeBSD 14.3-RELEASE-p7
UNAME_r=14.3-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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.4-15-g61aba751
MASTERMNT=/usr/local/poudriere/data/.m/143arm64-default/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/143arm64-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=143arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/143arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4-15-g61aba751
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 usendmail-0.1.6_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/usendmail/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/usendmail/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/usendmail/work/.cache  HOME=/wrkdirs/usr/ports/mail/usendmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/usendmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/usendmail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/usendmail/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/usendmail/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/usendmail/work/.cache  HOME=/wrkdirs/usr/ports/mail/usendmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/usendmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/usendmail/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="g
cc14" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -fno-strict-aliasing "  CPP="cpp14" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc14 -L/usr/local/lib/gcc14 " LIBS=""  CXX="g++14" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc14 " 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=14.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/usendmail"  EXAMPLESDIR="share/examples/usendmail"  DATADIR="share/usendmail"  WWWDIR="www/usendmail"  ETCDIR="etc/usendmail"
--End PLIST_SUB--

--SUB_LIST--
QMAIL_PREFIX=/var/qmail PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/usendmail DOCSDIR=/usr/local/share/doc/usendmail EXAMPLESDIR=/usr/local/share/examples/usendmail  WWWDIR=/usr/local/www/usendmail ETCDIR=/usr/local/etc/usendmail
--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)  1048576
stack size              (kbytes, -s)  1048576
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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The usendmail 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

===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   usendmail-0.1.6_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.5.1.pkg
[143arm64-default-job-02] Installing pkg-2.5.1...
[143arm64-default-job-02] Extracting pkg-2.5.1: .......... done
===>   usendmail-0.1.6_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of usendmail-0.1.6_2
===========================================================================
=======================<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 usendmail 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

===> Fetching all distfiles required by usendmail-0.1.6_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The usendmail 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

===> Fetching all distfiles required by usendmail-0.1.6_2 for building
=> SHA256 Checksum OK for usendmail-0.1.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The usendmail 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

===> Fetching all distfiles required by usendmail-0.1.6_2 for building
===>  Extracting for usendmail-0.1.6_2
=> SHA256 Checksum OK for usendmail-0.1.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for usendmail-0.1.6_2
===>  Applying FreeBSD patches for usendmail-0.1.6_2 from /usr/ports/mail/usendmail/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   usendmail-0.1.6_2 depends on file: /var/qmail/bin/qmail-send - not found
===>   Installing existing package /packages/All/netqmail-1.06_7.pkg
[143arm64-default-job-02] Installing netqmail-1.06_7...
===> Creating groups
Creating group 'qmail' with gid '82'
Creating group 'qnofiles' with gid '81'
===> Creating users
Creating user 'alias' with uid '81'
===> Creating homedir(s)
Creating user 'qmaild' with uid '82'
===> Creating homedir(s)
Creating user 'qmaill' with uid '83'
===> Creating homedir(s)
Creating user 'qmailp' with uid '84'
===> Creating homedir(s)
Creating user 'qmailq' with uid '85'
===> Creating homedir(s)
Creating user 'qmailr' with uid '86'
===> Creating homedir(s)
Creating user 'qmails' with uid '87'
===> Creating homedir(s)
[143arm64-default-job-02] Extracting netqmail-1.06_7: .......... done

A /usr/local/etc/rc.d/qmailsmtpd and a /usr/local/etc/rc.d/qmailsend
symlink were created.

Your hostname is 143arm64-default-job-02.
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
=====
Message from netqmail-1.06_7:

--
ATTENTION:

You can enable qmail as your default mailer executing:
> /var/qmail/scripts/enable-qmail
===>   usendmail-0.1.6_2 depends on file: /var/qmail/bin/qmail-send - found
===>   Returning to build of usendmail-0.1.6_2
===>   usendmail-0.1.6_2 depends on executable: gcc14 - not found
===>   Installing existing package /packages/All/gcc14-14.2.0_4.pkg
[143arm64-default-job-02] Installing gcc14-14.2.0_4...
[143arm64-default-job-02] `-- Installing binutils-2.44,1...
[143arm64-default-job-02] |   `-- Installing indexinfo-0.3.1_1...
[143arm64-default-job-02] |   `-- Extracting indexinfo-0.3.1_1: .... done
[143arm64-default-job-02] |   `-- Installing zstd-1.5.7_1...
[143arm64-default-job-02] |   `-- Extracting zstd-1.5.7_1: .......... done
[143arm64-default-job-02] `-- Extracting binutils-2.44,1: .......... done
[143arm64-default-job-02] `-- Installing gmp-6.3.0...
[143arm64-default-job-02] `-- Extracting gmp-6.3.0: .......... done
[143arm64-default-job-02] `-- Installing mpc-1.3.1_1...
[143arm64-default-job-02] |   `-- Installing mpfr-4.2.2,1...
[143arm64-default-job-02] |   `-- Extracting mpfr-4.2.2,1: .......... done
[143arm64-default-job-02] `-- Extracting mpc-1.3.1_1: ......... done
[143arm64-default-job-02] Extracting gcc14-14.2.0_4: .......... done
=====
Message from gcc14-14.2.0_4:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc14

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   usendmail-0.1.6_2 depends on executable: gcc14 - found
===>   Returning to build of usendmail-0.1.6_2
===>   usendmail-0.1.6_2 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for usendmail-0.1.6_2
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for usendmail-0.1.6_2
--- all ---
./package/compile
Linking ./src/* into ./compile...
Compiling everything in ./compile...
--- auto-compile.sh ---
--- auto-link.sh ---
--- auto-compilew.sh ---
--- auto-compile.sh ---
remaking auto-compile.sh
remaking auto-link.sh
--- auto-compilew.sh ---
remaking auto-compilew.sh
--- auto-makelib.sh ---
--- gettimeofday.lib ---
--- auto-have_fsync.h ---
--- auto-makelib.sh ---
remaking auto-makelib.sh
--- gettimeofday.lib ---
sh gettimeofday.sh >gettimeofday.t && mv gettimeofday.t gettimeofday.lib
--- auto-have_fsync.h ---
sh have_func.sh fsync "" "fsync(0)" "" "" >auto-have_fsync.h.t && mv auto-have_fsync.h.t auto-have_fsync.h
--- auto-alias.h ---
sh have_alias.sh >auto-alias.h.t && mv auto-alias.h.t auto-alias.h
Testing whether __attribute__(alias) works:
--- auto-have_fsync.h ---
conftest67340.c: In function 'main':
conftest67340.c:5:9: error: implicit declaration of function 'fsync' [-Wimplicit-function-declaration]
    5 |         fsync(0)
      |         ^~~~~
conftest67340.c:7:9: error: implicit declaration of function '_exit' [-Wimplicit-function-declaration]
    7 |         _exit(0);
      |         ^~~~~
conftest67340.c:7:9: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch]
--- gettimeofday.lib ---
*** [gettimeofday.lib] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/mail/usendmail/work/mail/usendmail-0.1.6/compile
--- auto-alias.h ---
auto-aliastest.c:3:5: error: 'get_pid' aliased to undefined symbol 'getpid'
    3 | int get_pid(void) __attribute__((alias ("getpid") ));
      |     ^~~~~~~
auto-aliastest.c:4:5: error: 'get_uid' aliased to undefined symbol 'getuid'
    4 | int get_uid(void) __attribute__((alias ("getuid") ));
      |     ^~~~~~~
  ... no, __attribute__(alias) fails. Oh well.
1 error

make[1]: stopped in /wrkdirs/usr/ports/mail/usendmail/work/mail/usendmail-0.1.6/compile
*** [all] Error code 2

make: stopped in /wrkdirs/usr/ports/mail/usendmail/work/mail/usendmail-0.1.6
1 error

make: stopped in /wrkdirs/usr/ports/mail/usendmail/work/mail/usendmail-0.1.6
===> 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/usendmail