[package - main-amd64-default][irc/inspircd] Failed for inspircd-4.4.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 18:20:55 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:     driesm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pec08b8144657_s3789810845f/logs/inspircd-4.4.0.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pec08b8144657_s3789810845f
Log:

=>> Building irc/inspircd
build started at Thu Nov 21 18:20:12 UTC 2024
port directory: /usr/ports/irc/inspircd
package name: inspircd-4.4.0
building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500027 amd64
maintained by: driesm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3711 Nov  5 01:01 /usr/ports/irc/inspircd/Makefile
Ports top last git commit: ec08b814465
Ports top unclean checkout: no
Port dir last git commit: 0694371cde9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500027
Job Id: 02




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500027
UNAME_v=FreeBSD 15.0-CURRENT 1500027
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/02/.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 inspircd-4.4.0:
     ARGON=off: Build m_argon2 module
     GNUTLS=off: Build m_ssl_gnutls module
     JSON=off: Build m_log_json module
     LDAP=off: Build m_ldap module
     MAXMIND=off: Build m_geo_maxmind module
     MBEDTLS=off: Build m_ssl_mbedtls module
     MYSQL=off: Build m_mysql module
     OPENSSL=on: Build m_ssl_openssl module
     PCRE2=off: Build m_regex_pcre2 module
     PGSQL=off: Build m_pgsql module
     POSIX=on: Build m_regex_posix module
     RE2=off: Build m_regex_re2 module
     SQLITE=off: Build m_sqlite3 module
     SSLREHASH=off: Build m_sslrehashsignal module
     SYSLOG=off: Build m_log_syslog module
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
driesm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--binary-dir=/usr/local/bin  --config-dir=/usr/local/etc/inspircd  --data-dir=/var/db/inspircd  --disable-auto-extras  --distribution-label=FreeBSD-4.4.0  --gid=nobody  --log-dir=/var/log/inspircd  --manual-dir=/usr/local/share/man/man1  --module-dir=/usr/local/libexec/inspircd/modules  --prefix=/usr/local/libexec/inspircd  --runtime-dir=/var/run/inspircd  --uid=nobody
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/irc/inspircd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/irc/inspircd/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/irc/inspircd/work/.cache  HOME=/wrkdirs/usr/ports/irc/inspircd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/irc/inspircd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/irc/inspircd/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/irc/inspircd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/irc/inspircd/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/irc/inspircd/work/.cache  HOME=/wrkdirs/usr/ports/irc/inspircd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/irc/inspircd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/irc/inspircd/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/in
clude -fno-strict-aliasing  -isystem /usr/local/include " 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--
INSPIRCD_DBDIR=/var/db/inspircd  INSPIRCD_GROUP=ircd  INSPIRCD_LOGDIR=/var/log/inspircd  INSPIRCD_RUNDIR=/var/run/inspircd  INSPIRCD_USER=ircd ARGON="@comment " NO_ARGON="" GNUTLS="@comment " NO_GNUTLS="" JSON="@comment " NO_JSON="" LDAP="@comment " NO_LDAP="" MAXMIND="@comment " NO_MAXMIND="" MBEDTLS="@comment " NO_MBEDTLS="" MYSQL="@comment " NO_MYSQL="" OPENSSL="" NO_OPENSSL="@comment " PCRE2="@comment " NO_PCRE2="" PGSQL="@comment " NO_PGSQL="" POSIX="" NO_POSIX="@comment " RE2="@comment " NO_RE2="" SQLITE="@comment " NO_SQLITE="" SSLREHASH="@comment " NO_SSLREHASH="" SYSLOG="@comment " NO_SYSLOG="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3  PERL_VER=5.36  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/inspircd"  EXAMPLESDIR="share/examples/inspircd"  DATADIR="share/inspircd"  WWWDIR="www/ins
pircd"  ETCDIR="etc/inspircd"
--End PLIST_SUB--

--SUB_LIST--
INSPIRCD_DBDIR=/var/db/inspircd  INSPIRCD_GROUP=ircd  INSPIRCD_LOGDIR=/var/log/inspircd  INSPIRCD_RUNDIR=/var/run/inspircd  INSPIRCD_USER=ircd  PORTNAME=inspircd ARGON="@comment " NO_ARGON="" GNUTLS="@comment " NO_GNUTLS="" JSON="@comment " NO_JSON="" LDAP="@comment " NO_LDAP="" MAXMIND="@comment " NO_MAXMIND="" MBEDTLS="@comment " NO_MBEDTLS="" MYSQL="@comment " NO_MYSQL="" OPENSSL="" NO_OPENSSL="@comment " PCRE2="@comment " NO_PCRE2="" PGSQL="@comment " NO_PGSQL="" POSIX="" NO_POSIX="@comment " RE2="@comment " NO_RE2="" SQLITE="@comment " NO_SQLITE="" SSLREHASH="@comment " NO_SSLREHASH="" SYSLOG="@comment " NO_SYSLOG="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/inspircd DOCSDIR=/usr/local/share/doc/inspircd EXAMPLESDIR=/usr/local/share/examples/inspircd  WWWDIR=/usr/local/www/inspircd ETCDIR=/usr/local/etc/inspircd
--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
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   inspircd-4.4.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-02] Installing pkg-1.21.3...
[main-amd64-default-job-02] Extracting pkg-1.21.3: .......... done
===>   inspircd-4.4.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of inspircd-4.4.0
===========================================================================
=======================<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
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by inspircd-4.4.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by inspircd-4.4.0 for building
=> SHA256 Checksum OK for inspircd-inspircd-v4.4.0_GH0.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
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by inspircd-4.4.0 for building
===>  Extracting for inspircd-4.4.0
=> SHA256 Checksum OK for inspircd-inspircd-v4.4.0_GH0.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 inspircd-4.4.0
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   inspircd-4.4.0 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-amd64-default-job-02] Installing gmake-4.4.1...
[main-amd64-default-job-02] `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-02] |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-02] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-02] Extracting gmake-4.4.1: .......... done
===>   inspircd-4.4.0 depends on package: gmake>=4.4.1 - found
===>   Returning to build of inspircd-4.4.0
===>   inspircd-4.4.0 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[main-amd64-default-job-02] Installing pkgconf-2.3.0,1...
[main-amd64-default-job-02] Extracting pkgconf-2.3.0,1: .......... done
===>   inspircd-4.4.0 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of inspircd-4.4.0
===>   inspircd-4.4.0 depends on package: perl5>=5.36<5.37 - not found
===>   Installing existing package /packages/All/perl5-5.36.3_2.pkg
[main-amd64-default-job-02] Installing perl5-5.36.3_2...
[main-amd64-default-job-02] Extracting perl5-5.36.3_2: .......... done
===>   inspircd-4.4.0 depends on package: perl5>=5.36<5.37 - found
===>   Returning to build of inspircd-4.4.0
===========================================================================
=======================<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 inspircd-4.4.0
Configuring InspIRCd 4.4.0-FreeBSD-4.4.0 on FreeBSD 15.0-CURRENT amd64.
Checking whether /wrkdirs/usr/ports/irc/inspircd/work/inspircd-4.4.0 is writable ... yes
Checking whether `c++` is available ... yes
Checking whether `c++` is compatible ... yes
Checking whether arc4random_buf() is available ... yes
Checking whether clock_gettime() is available ... yes
Checking whether getentropy() is available ... yes
Checking whether epoll is available ... no
Checking whether kqueue is available ... yes
Checking whether poll is available ... yes
Creating .configure ...
Writing .configure/cache.cfg ...
Parsing make/template/apparmor ...
Parsing make/template/config.h ...
Writing include/config.h ...
Parsing make/template/deploy-ssl.sh ...
Writing .configure/deploy-ssl.sh ...
Parsing make/template/help.txt ...
Writing .configure/help.txt ...
Parsing make/template/inspircd ...
Writing .configure/inspircd ...
Parsing make/template/inspircd-testssl.1 ...
Writing .configure/inspircd-testssl.1 ...
Parsing make/template/inspircd.1 ...
Writing .configure/inspircd.1 ...
Parsing make/template/inspircd.service ...
Parsing make/template/logrotate ...
Writing .configure/logrotate ...
Parsing make/template/main.mk ...
Writing GNUmakefile ...
Parsing make/template/org.inspircd.plist ...

Configuration is complete! You have chosen to build with the following settings:

Compiler:
  Binary:  c++
  Name:    Clang
  Version: 19.1

Extra Modules:
  * regex_posix
  * ssl_openssl

Paths:
  Binary:  /usr/local/bin
  Config:  /usr/local/etc/inspircd
  Data:    /var/db/inspircd
  Example: /usr/local/etc/inspircd/examples
  Log:     /var/log/inspircd
  Manual:  /usr/local/share/man/man1
  Module:  /usr/local/libexec/inspircd/modules
  Runtime: /var/run/inspircd
  Script:  /usr/local/libexec/inspircd

Execution Group: nobody (65534)
Execution User:  nobody (65534)
Socket Engine:   kqueue

To build with these settings run 'make -j49 install' now.

===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for inspircd-4.4.0
*************************************
*       BUILDING INSPIRCD           *
*                                   *
*   This will take a *long* time.   *
*     Why not read our docs at      *
*     https://docs.inspircd.org     *
*  while you wait for Make to run?  *
*************************************
	BUILD:		bancache.cpp
	BUILD:		channelmanager.cpp
	BUILD:		base.cpp
	BUILD:		channels.cpp
	BUILD:		cidr.cpp
	BUILD:		clientprotocol.cpp
	BUILD:		commands.cpp
	BUILD:		configparser.cpp
	BUILD:		configreader.cpp
	BUILD:		cull.cpp
	BUILD:		dynamic.cpp
	BUILD:		extensible.cpp
	BUILD:		hashcomp.cpp
	BUILD:		helperfuncs.cpp
	BUILD:		inspircd.cpp
	BUILD:		listensocket.cpp
	BUILD:		listmode.cpp
/wrkdirs/usr/ports/irc/inspircd/work/inspircd-4.4.0/src/listensocket.cpp:60:36: warning: suggest braces around initialization of subobject [-Wmissing-braces]
   60 |                 struct accept_filter_arg afa = { 0 };
      |                                                  ^
      |                                                  {}
/wrkdirs/usr/ports/irc/inspircd/work/inspircd-4.4.0/src/listensocket.cpp:60:38: warning: missing field 'af_arg' initializer [-Wmissing-field-initializers]
   60 |                 struct accept_filter_arg afa = { 0 };
      |                                                    ^
2 warnings generated.
	BUILD:		logging.cpp
	BUILD:		mode.cpp
	BUILD:		modulemanager.cpp
	BUILD:		modules.cpp
In file included from /wrkdirs/usr/ports/irc/inspircd/work/inspircd-4.4.0/src/modules.cpp:31:
/wrkdirs/usr/ports/irc/inspircd/work/inspircd-4.4.0/vendor/fmt/color.h:570:13: fatal error: no member named 'copy' in namespace 'std'; did you mean 'bcopy'?
  570 |       out = std::copy(emphasis.begin(), emphasis.end(), out);
      |             ^~~~~~~~~
      |             bcopy
/usr/include/strings.h:47:8: note: 'bcopy' declared here
   47 | void     (bcopy)(const void *, void *, size_t);                 /* LEGACY */
      |           ^
1 error generated.
gmake[1]: *** [real.mk:54: obj/modules.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [GNUmakefile:212: target] Error 2
===> 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/irc/inspircd