[package - main-amd64-default][www/publicfile] Failed for publicfile-0.52_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 26 Oct 2024 04:43:53 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/beefy18/data/main-amd64-default/p645a502a4f60_s8b2e7da7085/logs/publicfile-0.52_3.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p645a502a4f60_s8b2e7da7085
Log:

=>> Building www/publicfile
build started at Sat Oct 26 04:43:46 UTC 2024
port directory: /usr/ports/www/publicfile
package name: publicfile-0.52_3
building for: FreeBSD main-amd64-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2678 Sep  8  2022 /usr/ports/www/publicfile/Makefile
Ports top last git commit: 645a502a4f6
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: 1500026
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500026
UNAME_v=FreeBSD 15.0-CURRENT 1500026
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-amd64-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-amd64-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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--
ulimit: can't get limit: Invalid argument
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 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-amd64-default-job-11] Installing pkg-1.21.3...
[main-amd64-default-job-11] 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:
<snip>
  265 |     else if (!str_equal(method.s,"GET"))
      |               ^
./str.h:12:34: note: expanded from macro 'str_equal'
   12 | #define str_equal(s,t) (!str_diff((s),(t)))
      |                                  ^
httpd.c:268:20: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  268 |     if (case_startb(url.s,url.len,"http://")) {
      |                    ^
httpd.c:269:26: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  269 |       if (!stralloc_copyb(&host,url.s + 7,url.len - 7)) _exit(21);
      |                          ^
httpd.c:270:11: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  270 |       i = byte_chr(host.s,host.len,'/');
      |           ^
httpd.c:271:26: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  271 |       if (!stralloc_copyb(&path,host.s + i,host.len - i)) _exit(21);
      |                          ^
httpd.c:275:25: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  275 |       if (!stralloc_copy(&path,&url)) _exit(21);
      |                         ^
httpd.c:278:25: 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]
  278 |       if (!stralloc_cats(&path,"index.html")) _exit(21);
      |                         ^
httpd.c:281:26: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  281 |       if (!stralloc_copys(&field,"")) _exit(21);
      |                          ^
httpd.c:285:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  285 |           if (case_startb(field.s,field.len,"content-length:"))
      |                          ^
httpd.c:287:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  287 |           if (case_startb(field.s,field.len,"transfer-encoding:"))
      |                          ^
httpd.c:289:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  289 |           if (case_startb(field.s,field.len,"expect:"))
      |                          ^
httpd.c:291:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  291 |           if (case_startb(field.s,field.len,"if-match:"))
      |                          ^
httpd.c:293:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  293 |           if (case_startb(field.s,field.len,"if-none-match:"))
      |                          ^
httpd.c:295:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  295 |           if (case_startb(field.s,field.len,"if-unmodified-since:"))
      |                          ^
httpd.c:297:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  297 |           if (case_startb(field.s,field.len,"host:"))
      |                          ^
httpd.c:302:41: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  302 |                     if (!stralloc_append(&host,&field.s[i])) _exit(21);
      |                                         ^
httpd.c:303:26: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  303 |           if (case_startb(field.s,field.len,"if-modified-since:"))
      |                          ^
httpd.c:304:25: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  304 |             if (!stralloc_copyb(&ims,field.s + 18,field.len - 18)) _exit(21);
      |                                ^
httpd.c:308:26: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  308 |         if (!stralloc_cat(&field,&line)) _exit(21);
      |                          ^
--- httpdate.o ---
12 warnings generated.
--- leapsecs_read.o ---
./compile leapsecs_read.c
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 | }
      | ^
8 warnings generated.
--- leapsecs_sub.o ---
./compile leapsecs_sub.c
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();
      |            ^
2 warnings generated.
--- httpd.o ---
60 warnings generated.
--- tai_now.o ---
./compile tai_now.c
--- tai_sub.o ---
./compile tai_sub.c
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]
--- tai_now.o ---
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();
      |             ^
--- tai_sub.o ---
    3 | void tai_sub(t,u,v)
      |      ^
In file included from tai_sub.c:1:
./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();
      |             ^
2 warnings generated.
--- tai_now.o ---
2 warnings generated.
--- tai_unpack.o ---
--- utime ---
--- tai_unpack.o ---
./compile tai_unpack.c
--- utime ---
./load utime fs.a
--- 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.
--- auto-str ---
./load auto-str substdio.a error.a str.a
--- sig.a ---
./makelib sig.a sig_block.o sig_catch.o sig_pause.o  sig_pipe.o
--- prot.o ---
./compile prot.c
--- ftpd.o ---
103 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
--- auto-str ---
ld: error: undefined symbol: errno
>>> referenced by substdo.c
>>>               substdo.o:(substdio_flush) in archive substdio.a
>>> referenced by substdo.c
>>>               substdo.o:(substdio_bput) in archive substdio.a
>>> referenced by substdo.c
>>>               substdo.o:(substdio_put) in archive substdio.a
>>> referenced 6 more times
--- prot.o ---
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();
      |            ^
--- auto-str ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [auto-str] Error code 1

make: stopped making "it" in /wrkdirs/usr/ports/www/publicfile/work/publicfile-0.52
--- prot.o ---
7 warnings generated.
make: 1 error

make: stopped making "it" in /wrkdirs/usr/ports/www/publicfile/work/publicfile-0.52
===> 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 making "build" in /usr/ports/www/publicfile