[Bug 293279] security/(modsecurity3|modsecurity-nginx) : switch to PCRE2 and fix build with current ports tree

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Feb 2026 16:43:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293279

--- Comment #6 from Victor Igumnov <victoriggy@gmail.com> ---
Hi,

so I tried to rebuild it again with a clean slate, and indeed does fail for me
as well. So, I retraced my steps how to build it successfully. 

poudriere jail -d 15_0:x86:64
poudriere jail -j 15_0:x86:64 -c -v 15.0-RELEASE
poudriere pkgclean -j 15_0:x86:64 -A -z server

cat /usr/local/etc/poudriere.d/15_0:x86:64-default-server-make.conf 
MAKE_JOBS_NUMBER=8
ALLOW_MAKE_JOBS=yes
www_nginx_SET+= HEADERS_MORE
net_mgmt_collectd5_SET+= CURL

poudriere bulk -j 15_0:x86:64 -p default -z server devel/pcre2
security/modsecurity3-nginx

devel/pcre2 must be explicitly called out, it is not being pulled into
poudriere’s dependency graph for some reason, the make file looks good to me,
so not sure what is going on. I am still new to poudriere so I might be missing
something?

Verified that USE_PACKAGE_DEPENDS_ONLY is unset, so not sure why it is applying
the behavior of needing the pcre2 pkg to be pre-built. 

Cheers!

-- 
You are receiving this mail because:
You are the assignee for the bug.