[package - main-arm64-default][www/publicfile] Failed for publicfile-0.52_3 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 16:34: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/publicfile-0.52_3.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p13f486017d78_s3df987c99d1
Log:

=>> Building www/publicfile
build started at Tue Sep 10 16:34:05 UTC 2024
port directory: /usr/ports/www/publicfile
package name: publicfile-0.52_3
building for: FreeBSD main-arm64-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2678 Sep 10  2022 /usr/ports/www/publicfile/Makefile
Ports top last git commit: 13f486017d7
Ports top unclean checkout: no
Port dir last git commit: fb16dfecae4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 12

---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/12/.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 publicfile-0.52_3:
     BASICAUTH=off: basic HTTP authentication support
     COMMONLOG=off: support for Apache common log format
     ENV_FILETYPES=off: get mime types from the environment
     REDIRECT_SLASH=off: do not require trailing slash on directories
     SSL=off: provide SSL support through ucspi-ssl
===> 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/www/publicfile/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/publicfile/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/publicfile/work/.cache  HOME=/wrkdirs/usr/ports/www/publicfile/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/publicfile/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/publicfile/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/www/publicfile/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/publicfile/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/publicfile/work/.cache  HOME=/wrkdirs/usr/ports/www/publicfile/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/publicfile/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/publicfile/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  " 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_IN
STALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 BASICAUTH="@comment " OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/publicfile"  EXAMPLESDIR="share/examples/publicfile"  DATADIR="share/publicfile"  WWWDIR="www/publicfile"  ETCDIR="etc/publicfile"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/publicfile DOCSDIR=/usr/local/share/doc/publicfile EXAMPLESDIR=/usr/local/share/examples/publicfile  WWWDIR=/usr/local/www/publicfile ETCDIR=/usr/local/etc/publicfile
--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 publicfile 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 djb accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   publicfile-0.52_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-12] Installing pkg-1.21.3...
[main-arm64-default-job-12] Extracting pkg-1.21.3: .......... done
===>   publicfile-0.52_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of publicfile-0.52_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 publicfile 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 djb accepted by the user
===> Fetching all distfiles required by publicfile-0.52_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

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

<snip>
   25 | #define stralloc_catuint0(sa,i,n) (stralloc_catulong0((sa),(unsigned long) (i),(n)))
      |                                                      ^
httpdate.c:33:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   33 |   if (!stralloc_cats(sa,":")) return 0;
      |                     ^
httpdate.c:34:8: warning: passing arguments to 'stralloc_catulong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   34 |   if (!stralloc_catuint0(sa,ct.second,2)) return 0;
      |        ^
./stralloc.h:25:54: note: expanded from macro 'stralloc_catuint0'
   25 | #define stralloc_catuint0(sa,i,n) (stralloc_catulong0((sa),(unsigned long) (i),(n)))
      |                                                      ^
httpdate.c:35:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   35 |   if (!stralloc_cats(sa," GMT")) return 0;
      |                     ^
12 warnings generated.
--- httpd.o ---
60 warnings generated.
--- leapsecs_read.o ---
--- leapsecs_sub.o ---
--- leapsecs_read.o ---
./compile leapsecs_read.c
--- leapsecs_sub.o ---
./compile leapsecs_sub.c
--- leapsecs_read.o ---
leapsecs_read.c:24:19: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   24 |     if (leapsecs) free(leapsecs);
      |                   ^
leapsecs_read.c:24:19: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
leapsecs_read.c:30:30: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   if (fstat(fd,&st) == -1) { close(fd); return -1; }
      |                              ^
leapsecs_read.c:32:22: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   32 |   t = (struct tai *) malloc(st.st_size);
      |                      ^
leapsecs_read.c:32:22: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
leapsecs_read.c:33:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   33 |   if (!t) { close(fd); return -1; }
      |             ^
leapsecs_read.c:35:7: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   35 |   n = read(fd,(char *) t,st.st_size);
      |       ^
leapsecs_read.c:36:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   36 |   close(fd);
      |   ^
leapsecs_read.c:42:15: warning: passing arguments to 'tai_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   42 |     tai_unpack((char *) &t[i],&u);
      |               ^
leapsecs_read.c:50:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
   50 | }
      | ^
--- leapsecs_sub.o ---
leapsecs_sub.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    9 | int leapsecs_sub(t)
      |     ^
In file included from leapsecs_sub.c:1:
./leapsecs.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
    8 | extern int leapsecs_sub();
      |            ^
--- leapsecs_read.o ---
8 warnings generated.
--- tai_now.o ---
--- leapsecs_sub.o ---
2 warnings generated.
--- tai_sub.o ---
--- tai_now.o ---
./compile tai_now.c
tai_now.c:4:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    4 | void tai_now(t)
      |      ^
In file included from tai_now.c:2:
./tai.h:12:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   12 | extern void tai_now();
      |             ^
--- ftpd.o ---
103 warnings generated.
--- tai_sub.o ---
./compile tai_sub.c
--- tai_unpack.o ---
--- tai_now.o ---
2 warnings generated.
--- tai_unpack.o ---
./compile tai_unpack.c
--- sig.a ---
./makelib sig.a sig_block.o sig_catch.o sig_pause.o  sig_pipe.o
--- tai_unpack.o ---
tai_unpack.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    3 | void tai_unpack(s,t)
      |      ^
In file included from tai_unpack.c:1:
./tai.h:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   22 | extern void tai_unpack();
      |             ^
2 warnings generated.
--- tai_sub.o ---
tai_sub.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    3 | void tai_sub(t,u,v)
      |      ^
In file included from tai_sub.c:1:
--- utime ---
--- tai_sub.o ---
./tai.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   17 | extern void tai_sub();
      |             ^
--- utime ---
./load utime fs.a
--- auto-str ---
./load auto-str substdio.a error.a str.a
--- tai_sub.o ---
2 warnings generated.
--- prot.o ---
./compile prot.c
prot.c:13:7: warning: call to undeclared function 'setgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   13 |   if (setgroups(1,&gid) == -1) return -1;
      |       ^
prot.c:15:10: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   15 |   return setgid(gid); /* _should_ be redundant, but on some systems it isn't */
      |          ^
prot.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    6 | int prot_gid(gid) int gid;
      |     ^
In file included from prot.c:2:
./prot.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
    4 | extern int prot_gid();
      |            ^
prot.c:20:10: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   20 |   return setuid(uid);
      |          ^
prot.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   18 | int prot_uid(uid) int uid;
      |     ^
In file included from prot.c:2:
./prot.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
    5 | extern int prot_uid();
      |            ^
7 warnings generated.
--- libtai.a ---
./makelib libtai.a caldate_fmjd.o caltime_utc.o  leapsecs_init.o leapsecs_read.o leapsecs_sub.o tai_now.o  tai_sub.o tai_unpack.o
--- ftpd ---
./load ftpd main.o prot.o pathdecode.o file.o fetch.o ip.o  timeoutread.o timeoutwrite.o timeoutconn.o timeoutaccept.o  ndelay.a env.a sig.a substdio.a stralloc.a alloc.a error.a  open.a case.a str.a fs.a  `cat socket.lib`
--- auto_home.c ---
./auto-str auto_home `head -1 conf-home` > auto_home.c
--- auto_home_stage.c ---
./auto-str auto_home `head -1 conf-stage` > auto_home_stage.c
--- httpd ---
./load httpd main.o pathdecode.o file.o filetype.o  httpdate.o percent.o prot.o timeoutread.o timeoutwrite.o  libtai.a case.a getln.a stralloc.a alloc.a substdio.a  error.a open.a sig.a env.a str.a fs.a  `cat socket.lib`
--- auto_home.o ---
./compile auto_home.c
--- auto_home_stage.o ---
./compile auto_home_stage.c
--- configure ---
./load configure auto_home.o strerr.a substdio.a error.a  open.a str.a
--- install ---
./load install hier.o auto_home_stage.o strerr.a substdio.a  open.a error.a str.a
--- instcheck ---
./load instcheck hier.o auto_home_stage.o strerr.a substdio.a  error.a str.a
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   publicfile-0.52_3 depends on executable: setuidgid - not found
===>   Installing existing package /packages/All/daemontools-0.76_19.pkg
[main-arm64-default-job-12] Installing daemontools-0.76_19...
[main-arm64-default-job-12] Extracting daemontools-0.76_19: .......... done
===>   publicfile-0.52_3 depends on executable: setuidgid - found
===>   Returning to build of publicfile-0.52_3
===>   publicfile-0.52_3 depends on executable: tcpserver - not found
===>   Installing existing package /packages/All/ucspi-tcp-0.88_3.pkg
[main-arm64-default-job-12] Installing ucspi-tcp-0.88_3...
[main-arm64-default-job-12] Extracting ucspi-tcp-0.88_3: .......... done
=====
Message from ucspi-tcp-0.88_3:

--
===>   NOTICE:

The ucspi-tcp 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
===>   publicfile-0.52_3 depends on executable: tcpserver - found
===>   Returning to build of publicfile-0.52_3
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for publicfile-0.52_3
===>   Generating temporary packing list
./install
install: fatal: unable to mkdir /wrkdirs/usr/ports/www/publicfile/work/stage/usr/local: no error
*** Error code 111

Stop.
make: stopped making "setup check" in /wrkdirs/usr/ports/www/publicfile/work/publicfile-0.52
*** Error code 1

Stop.
make: stopped making "stage" in /usr/ports/www/publicfile