[package - main-arm64-default][mail/qmail-contrib] Failed for qmail-contrib-0.1_3 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 22:56:27 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/ampere2/data/main-arm64-default/p13f486017d78_s3df987c99d1/logs/qmail-contrib-0.1_3.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p13f486017d78_s3df987c99d1
Log:

=>> Building mail/qmail-contrib
build started at Tue Sep 10 22:56:04 UTC 2024
port directory: /usr/ports/mail/qmail-contrib
package name: qmail-contrib-0.1_3
building for: FreeBSD main-arm64-default-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2579 Feb 25  2024 /usr/ports/mail/qmail-contrib/Makefile
Ports top last git commit: 13f486017d7
Ports top unclean checkout: no
Port dir last git commit: 996e884a835
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
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.2
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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/main-arm64-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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 qmail-contrib-0.1_3:
     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/qmail-contrib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work/.cache  HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-contrib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-contrib/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/qmail-contrib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work/.cache  HOME=/wrkdirs/usr/ports/mail/qmail-contrib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-contrib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-contrib/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=/var/qmail  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  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="i
nstall  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/var/qmail LIB32DIR=lib DOCSDIR="doc/qmail-contrib"  EXAMPLESDIR="share/examples/qmail-contrib"  DATADIR="share/qmail-contrib"  WWWDIR="www/qmail-contrib"  ETCDIR="etc/qmail-contrib"
--End PLIST_SUB--

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

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The qmail-contrib 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
===>   qmail-contrib-0.1_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-01] Installing pkg-1.21.3...
[main-arm64-default-job-01] Extracting pkg-1.21.3: .......... done
===>   qmail-contrib-0.1_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of qmail-contrib-0.1_3
===========================================================================
=======================<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 qmail-contrib 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 qmail-contrib-0.1_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The qmail-contrib 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 qmail-contrib-0.1_3 for building
=> SHA256 Checksum OK for dot-forward-0.71.tar.gz.
=> SHA256 Checksum OK for fastforward-0.51.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
install.c:96:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   96 |   if (chown(file,uid,gid) == -1)
      |       ^
install.c:97:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   97 |     strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": ");
      |     ^
./strerr.h:55:11: note: expanded from macro 'strerr_die6sys'
   55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys)
      |           ^
install.c:98:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   98 |   if (chmod(file,mode) == -1)
      |       ^
install.c:99:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   99 |     strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": ");
      |     ^
./strerr.h:55:11: note: expanded from macro 'strerr_die6sys'
   55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys)
      |           ^
install.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   52 | void c(home,subdir,file,uid,gid,mode)
      |      ^
--- hier.o ---
3 warnings generated.
--- install.o ---
install.c:102:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
  102 | void main()
      | ^
install.c:102:1: note: change return type to 'int'
  102 | void main()
      | ^~~~
      | int
install.c:104:26: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  104 |   fdsourcedir = open_read(".");
      |                          ^
install.c:106:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  106 |     strerr_die2sys(111,FATAL,"unable to open current directory: ");
      |     ^
./strerr.h:63:11: note: expanded from macro 'strerr_die2sys'
   63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys)
      |           ^
install.c:108:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  108 |   umask(077);
      |   ^
--- instcheck.o ---
instcheck.c:27:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   27 |       strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," does not exist",0);
      |       ^
./strerr.h:29:12: note: expanded from macro 'strerr_warn6'
   29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se))
      |            ^
instcheck.c:29:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   29 |       strerr_warn4(WARNING,"unable to stat .../",file,": ",&strerr_sys);
      |       ^
./strerr.h:33:12: note: expanded from macro 'strerr_warn4'
   33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se))
      |            ^
instcheck.c:34:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   34 |     strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong owner",0);
      |     ^
./strerr.h:29:12: note: expanded from macro 'strerr_warn6'
   29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se))
      |            ^
instcheck.c:36:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   36 |     strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong group",0);
      |     ^
./strerr.h:29:12: note: expanded from macro 'strerr_warn6'
--- auto_qmail.c ---
--- instcheck.o ---
   29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se))
      |            ^
instcheck.c:38:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   38 |     strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong permissions",0);
      |     ^
./strerr.h:29:12: note: expanded from macro 'strerr_warn6'
   29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se))
      |            ^
instcheck.c:40:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   40 |     strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong type",0);
      |     ^
./strerr.h:29:12: note: expanded from macro 'strerr_warn6'
   29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se))
      |            ^
instcheck.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   13 | void perm(prefix1,prefix2,prefix3,file,type,uid,gid,mode)
      |      ^
--- auto_qmail.c ---
./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
--- instcheck.o ---
instcheck.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   43 | void h(home,uid,gid,mode)
      |      ^
instcheck.c:59:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   59 |   if (chdir(home) == -1)
      |       ^
instcheck.c:60:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   60 |     strerr_die4sys(111,FATAL,"unable to switch to ",home,": ");
      |     ^
./strerr.h:59:11: note: expanded from macro 'strerr_die4sys'
   59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys)
      |           ^
instcheck.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   52 | void d(home,subdir,uid,gid,mode)
      |      ^
instcheck.c:72:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   72 |   if (chdir(home) == -1)
      |       ^
instcheck.c:73:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   73 |     strerr_die4sys(111,FATAL,"unable to switch to ",home,": ");
      |     ^
./strerr.h:59:11: note: expanded from macro 'strerr_die4sys'
   59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys)
      |           ^
instcheck.c:75:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   75 |     strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": ");
      |     ^
./strerr.h:55:11: note: expanded from macro 'strerr_die6sys'
   55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys)
      |           ^
instcheck.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   64 | void c(home,subdir,file,uid,gid,mode)
      |      ^
instcheck.c:79:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
   79 | void main()
      | ^
instcheck.c:79:1: note: change return type to 'int'
   79 | void main()
      | ^~~~
      | int
--- auto_qmail.o ---
./compile auto_qmail.c
--- install.o ---
45 warnings generated.
--- instcheck.o ---
16 warnings generated.
--- install ---
./load install hier.o auto_qmail.o strerr.a substdio.a  error.a open.a str.a
--- instcheck ---
./load instcheck hier.o auto_qmail.o strerr.a substdio.a  error.a str.a
/usr/bin/touch /wrkdirs/usr/ports/mail/qmail-contrib/work/dot-forward-0.71/dot-forward
/bin/mv -f /wrkdirs/usr/ports/mail/qmail-contrib/work/dot-forward-0.71/conf-qmail.sav /wrkdirs/usr/ports/mail/qmail-contrib/work/dot-forward-0.71/conf-qmail
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   qmail-contrib-0.1_3 depends on file: /var/qmail/bin/qmail-send - not found
===>   Installing existing package /packages/All/netqmail-1.06_7.pkg
[main-arm64-default-job-01] 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)
[main-arm64-default-job-01] 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 main-arm64-default-job-01.
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
===>   qmail-contrib-0.1_3 depends on file: /var/qmail/bin/qmail-send - found
===>   Returning to build of qmail-contrib-0.1_3
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for qmail-contrib-0.1_3
===>   Generating temporary packing list
/usr/bin/make -C /wrkdirs/usr/ports/mail/qmail-contrib/work/dot-forward-0.71 setup 
nroff -man dot-forward.1 > dot-forward.0
./install
install: fatal: unable to mkdir /wrkdirs/usr/ports/mail/qmail-contrib/work/stage/var/qmail: no error
*** Error code 111

Stop.
make[1]: stopped making "setup" in /wrkdirs/usr/ports/mail/qmail-contrib/work/dot-forward-0.71
*** Error code 1

Stop.
make: stopped making "stage" in /usr/ports/mail/qmail-contrib