[package - main-amd64-default][devel/p5-EV] Failed for p5-EV-4.34,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 10 Jul 2025 09:53:49 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:     vovkasm@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pa24f68e859d8_s78935fa40ee/logs/p5-EV-4.34,1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pa24f68e859d8_s78935fa40ee
Log:

=>> Building devel/p5-EV
build started at Thu Jul 10 09:53:23 UTC 2025
port directory: /usr/ports/devel/p5-EV
package name: p5-EV-4.34,1
building for: FreeBSD main-amd64-default-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500051 amd64
maintained by: vovkasm@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 674 Nov 25  2023 /usr/ports/devel/p5-EV/Makefile
Ports top last git commit: a24f68e859d
Ports top unclean checkout: no
Port dir last git commit: c783b2f0fea
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1500051
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500051
UNAME_v=FreeBSD 15.0-CURRENT 1500051
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-12-g74a54a88
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/01/.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-12-g74a54a88
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---
---End OPTIONS List---

--MAINTAINER--
vovkasm@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " LD="cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PERL_MM_USE_DEFAULT="YES" ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/p5-EV/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/p5-EV/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/p5-EV/work/.cache  HOME=/wrkdirs/usr/ports/devel/p5-EV/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/p5-EV/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/p5-EV/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/p5-EV/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/p5-EV/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/p5-EV/work/.cache  HOME=/wrkdirs/usr/ports/devel/p5-EV/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/p5-EV/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/p5-EV/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=" " 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_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.40.2  PERL_VER=5.40  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.40 DOCSDIR="share/doc/EV"  EXAMPLESDIR="share/examples/EV"  DATADIR="share/EV"  WWWDIR="www/EV"  ETCDIR="etc/EV"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/EV DOCSDIR=/usr/local/share/doc/EV EXAMPLESDIR=/usr/local/share/examples/EV  WWWDIR=/usr/local/www/EV ETCDIR=/usr/local/etc/EV
--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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-EV-4.34,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[main-amd64-default-job-01] Installing pkg-2.2.1...
[main-amd64-default-job-01] Extracting pkg-2.2.1: .......... done
===>   p5-EV-4.34,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-EV-4.34,1
===========================================================================
=======================<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 ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-EV-4.34,1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-EV-4.34,1 for building
=> SHA256 Checksum OK for EV-4.34.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 ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-EV-4.34,1 for building
===>  Extracting for p5-EV-4.34,1
=> SHA256 Checksum OK for EV-4.34.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 p5-EV-4.34,1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-EV-4.34,1 depends on package: p5-Canary-Stability>=0 - not found
===>   Installing existing package /packages/All/p5-Canary-Stability-2013_1.pkg
[main-amd64-default-job-01] Installing p5-Canary-Stability-2013_1...
[main-amd64-default-job-01] `-- Installing perl5-5.40.2_2...
[main-amd64-default-job-01] `-- Extracting perl5-5.40.2_2: .......... done
[main-amd64-default-job-01] Extracting p5-Canary-Stability-2013_1: ..... done
===>   p5-EV-4.34,1 depends on package: p5-Canary-Stability>=0 - found
===>   Returning to build of p5-EV-4.34,1
===>   p5-EV-4.34,1 depends on package: p5-common-sense>=0 - not found
<snip>
backend is not used by default, even when it is compiled in, and you have
to request it explicitly, e.g. with LIBEV_FLAGS=64. If unsure, accept the
default.

Enable linux aio backend (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Linux 4.19 introduced another event polling interface, "io_uring". While
this API is far superior to epoll and almost rivals linuxaio, it also
suffers from the same issues as kqueue typically does: only a subset of
file types are supported (as of 5.2). It is also very buggy still, and
most importantly, very very slow for most workloads.  Therefore, this
backend is not used by default, even when it is compiled in, and you have
to request it explicitly, e.g. with LIBEV_FLAGS=128. If unsure, accept the
default.

Enable linux io_uring backend (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


EV can take advantage of kqueue on many BSD systems. Support for kqueue
will be detected at runtime, with a safe fallback to other methods when it
cannot be used.

Note that kqueue is subtly broken on most operating systems, so by default
it won't be used on many platforms, but you can still create your own
event loop with kqueue backend if you ask specifically for it.

Here is what we know:

NetBSD:  partially working in at least 3.1 and later. Yeah! :)
FreeBSD: broken on at least 6.2-STABLE, spotty in later versions,
         sockets *likely* work, ptys definitely don't.
OpenBSD: reports indicate that it likely doesn't work
         (similar problems as on FreeBSD).
OS X:    completely, utterly broken on at least <= 10.6.

Enable kqueue backend (y/n)? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Similarly to the kqueue backend above, EV can take advantage of the
solaris 10 event port interface. Support for event ports will be detected
at runtime, with a safe fallback to other methods when it cannot be used.

Enable event port backend (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


EV needs the functions pthread_atfork and clock_gettime. On most systems
you need some special libraries for this (such as -lrt and -lpthread). You
can specify additional libraries to provide these calls (and any other
required by EV) now, or accept the default.

On GNU/Linux systems, EV uses the LSB 3.1 __register_atfork function
to avoid the dependency on libpthread, and directly uses the clock_gettime
syscall to avoid a dependency on librt.

Extra libraries for pthread_atfork and clock_gettime? [-lpthread -lrt ] -lpthread -lrt 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


A backend of a different kind is the Linux inotify(7) interface, which can
be used to speed up (and reduce resource consumption) of stat watchers. If
you have the include file and libc support for it, it is usually a good
idea to enable it, as kernel availability is detected at runtime.

Enable inotify support (y/n)? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Another useful bit of functionality is the Linux eventfd, which is useful
for faster signal handling (don't care) and intra-thread communications
(more relevant). Kernel support for this will be probed at runtime, but
your libc must contain the necessary wrapper. Glibc 2.7 and later should
have this wrapper.

Enable linux eventfd support (y/n)? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Another sometimes useful bit of functionality is the Linux signalfd, which
is useful for faster signal handling (don't care). Kernel support for
this will be probed at runtime, but your libc must contain the necessary
wrapper. Glibc 2.7 and later should have this wrapper.

Enable linux signalfd support (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Linux kernels can notify userspace about realtime clock timejumps
using timerfd. Libev by default will try to take advantage of this if
possible. You can completely disable the detection and use of timerfd for
this purpose by answering 'n' here. Support for timerfd will otherwise be
autodetected at both compile- and runtime.

Enable optional support for timerfd to detect timejumps (y/n)? [y] y

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Libev contains numerous internal assert() invocations to check for
consistency and user errors. These are normally enabled, but most
perl builds disable this error reporting mechanism by default. You
can re-enable these asserts here. Enabling them might help you catch
programming bugs earlier, but might cause a small slowdown. Also, failures
will be reported by aboritng your program, instead of throwing a perl
exception.

If unsure, enable this if you only use this perl installation for
development, and leave it off for use in production environments.

Make sure assertions are enabled? (y/n)? [n] n

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Very rarely, people want to tweak EV even more, e.g. to exclude
or include certain watcher types or backends. This can be done by adding
extra -D options here, or via the EV_EXTRA_DEFS environment variable.

For example, if you run into compilation problems because of missing memory
fences (or you just want extra performance), you can tell EV to not support
smp and threads via -DEV_NO_THREADS.

Most people would just press enter.

Any extra -D options? [] 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for EV
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for p5-EV-4.34,1
--- blib/lib/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/EV/.exists ---
--- blib/arch/auto/EV/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- EV.c ---
"/usr/local/bin/perl5.40.2" "/usr/local/lib/perl5/5.40/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.40/ExtUtils/typemap' -typemap '/wrkdirs/usr/ports/devel/p5-EV/work/EV-4.34/typemap'  EV.xs > EV.xsc
--- EV.bs ---
Running Mkbootstrap for EV ()
--- pm_to_blib ---
--- EV.bs ---
chmod 644 "EV.bs"
--- blibdirs ---
--- blib/arch/auto/EV/EV.bs ---
"/usr/local/bin/perl5.40.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- EV.bs blib/arch/auto/EV/EV.bs 644
--- config ---
--- pm_to_blib ---
cp EV/EVAPI.h blib/lib/EV/EVAPI.h
cp libev/ev.pod blib/lib/EV/libev.pod
cp EV.pm blib/lib/EV.pm
cp libev/ev.h blib/lib/EV/ev.h
cp EV/MakeMaker.pm blib/lib/EV/MakeMaker.pm
--- EV.c ---
mv EV.xsc EV.c
--- EV.o ---
cc -c  -Ilibev  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -DVERSION=\"4.34\"  -DXS_VERSION=\"4.34\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.40/mach/CORE"  -DEV_USE_REALTIME=0 -DEV_USE_SELECT=1 -DEV_USE_POLL=1 -DEV_USE_EPOLL=0 -DEV_USE_LINUXAIO=0 -DEV_USE_IOURING=0 -DEV_USE_KQUEUE=1 -DEV_USE_PORT=0 -DEV_USE_INOTIFY=1 -DEV_USE_EVENTFD=1 -DEV_USE_SIGNALFD=0 EV.c
In file included from EV.xs:50:
./libev/ev.c:514:11: fatal error: 'sys/statfs.h' file not found
  514 | # include <sys/statfs.h>
      |           ^~~~~~~~~~~~~~
1 error generated.
*** [EV.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/devel/p5-EV/work/EV-4.34
make: 1 error

make: stopped making "all" in /wrkdirs/usr/ports/devel/p5-EV/work/EV-4.34
===> 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/devel/p5-EV