[package - main-amd64-default][www/mod_gnutls] Failed for ap24-mod_gnutls-0.8.4_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 15:59:47 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:     joneum@FreeBSD.org
Log URL:        http://beefy18.nyi.freebsd.org/data/main-amd64-default/p62850d28ca57_s651a887f4e/logs/ap24-mod_gnutls-0.8.4_2.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p62850d28ca57_s651a887f4e
Log:

=>> Building www/mod_gnutls
build started at Tue Apr 26 15:59:27 UTC 2022
port directory: /usr/ports/www/mod_gnutls
package name: ap24-mod_gnutls-0.8.4_2
building for: FreeBSD main-amd64-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400057 amd64
maintained by: joneum@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400057
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400057
UNAME_v=FreeBSD 14.0-CURRENT 1400057
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
joneum@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-apxs="/usr/local/sbin/apxs" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work/.cache  HOME=/wrkdirs/usr/ports/www/mod_gnutls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mod_gnutls/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mod_gnutls/work/.cache  HOME=/wrkdirs/usr/ports/www/mod_gnutls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mod_gnutls/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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  -Wno-deprecated-declarations -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-deprecated-declarations -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 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--
SED="/usr/bin/sed" WWWGRP=www WWWOWN=www APACHEMODDIR="libexec/apache24"  APACHEINCLUDEDIR="include/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" AP_NAME="gnutls" AP_MODULE="mod_gnutls.so" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/mod_gnutls"  EXAMPLESDIR="share/examples/mod_gnutls"  DATADIR="share/mod_gnutls"  WWWDIR="www/mod_gnutls"  ETCDIR="etc/mod_gnutls"
--End PLIST_SUB--

--SUB_LIST--
DBDIR="/usr/local/var/db/mod_gnutls" APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mod_gnutls DOCSDIR=/usr/local/share/doc/mod_gnutls EXAMPLESDIR=/usr/local/share/examples/mod_gnutls  WWWDIR=/usr/local/www/mod_gnutls ETCDIR=/usr/local/etc/mod_gnutls
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400057
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ap24-mod_gnutls-0.8.4_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[main-amd64-default-job-03] Installing pkg-1.17.5_1...
[main-amd64-default-job-03] Extracting pkg-1.17.5_1: .......... done
===>   ap24-mod_gnutls-0.8.4_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ap24-mod_gnutls-0.8.4_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_gnutls-0.8.4_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_gnutls-0.8.4_2 for building
=> SHA256 Checksum OK for mod_gnutls-0.8.4.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_gnutls-0.8.4_2 for building
===>  Extracting for ap24-mod_gnutls-0.8.4_2
=> SHA256 Checksum OK for mod_gnutls-0.8.4.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ap24-mod_gnutls-0.8.4_2
===>  Applying FreeBSD patches for ap24-mod_gnutls-0.8.4_2 from /usr/ports/www/mod_gnutls/files
===========================================================================
=======================<phase: build-depends  >============================
===>   ap24-mod_gnutls-0.8.4_2 depends on file: /usr/local/sbin/apxs - not found
===>   Installing existing package /packages/All/apache24-2.4.53_1.pkg
[main-amd64-default-job-03] Installing apache24-2.4.53_1...
[main-amd64-default-job-03] `-- Installing apr-1.7.0.1.6.1_2...
[main-amd64-default-job-03] |   `-- Installing db5-5.3.28_8...
[main-amd64-default-job-03] |   `-- Extracting db5-5.3.28_8: .......... done
[main-amd64-default-job-03] |   `-- Installing expat-2.4.8...
[main-amd64-default-job-03] |   `-- Extracting expat-2.4.8: .......... done
<snip>
        APR_RING_PREV((ep1), link) = APR_RING_PREV((lep), link);        \
                                     ~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^~
gnutls_io.c:555:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_ring.h:231:31: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_NEXT(APR_RING_PREV((lep), link), link) = (ep1);        \
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^
/usr/local/include/apr-1/apr_ring.h:177:34: note: expanded from macro 'APR_RING_NEXT'
#define APR_RING_NEXT(ep, link) (ep)->link.next
                                 ^~
gnutls_io.c:555:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:232:17: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_PREV((lep), link) = (epN);                             \
        ~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^~
gnutls_io.c:652:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:109:36: note: expanded from macro 'APR_OFFSETOF'
#define APR_OFFSETOF(s_type,field) APR_OFFSET(s_type*,field)
                                   ^
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:229:32: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_NEXT((epN), link) = (lep);                             \
                                      ^~~
gnutls_io.c:652:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:230:46: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_PREV((ep1), link) = APR_RING_PREV((lep), link);        \
                                     ~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^~
gnutls_io.c:652:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_ring.h:231:31: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_NEXT(APR_RING_PREV((lep), link), link) = (ep1);        \
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^
/usr/local/include/apr-1/apr_ring.h:177:34: note: expanded from macro 'APR_RING_NEXT'
#define APR_RING_NEXT(ep, link) (ep)->link.next
                                 ^~
gnutls_io.c:652:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_TAIL(bb, bucket);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:371:2: note: expanded from macro 'APR_BRIGADE_INSERT_TAIL'
        APR_RING_INSERT_TAIL(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:323:2: note: expanded from macro 'APR_RING_INSERT_TAIL'
        APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:300:25: note: expanded from macro 'APR_RING_SPLICE_TAIL'
        APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link),     \
        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:232:17: note: expanded from macro 'APR_RING_SPLICE_BEFORE'
        APR_RING_PREV((lep), link) = (epN);                             \
        ~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:183:34: note: expanded from macro 'APR_RING_PREV'
#define APR_RING_PREV(ep, link) (ep)->link.prev
                                 ^~
gnutls_io.c:681:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_HEAD(ctxt->output_bb, e);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:360:2: note: expanded from macro 'APR_BRIGADE_INSERT_HEAD'
        APR_RING_INSERT_HEAD(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:312:2: note: expanded from macro 'APR_RING_INSERT_HEAD'
        APR_RING_SPLICE_HEAD((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:287:24: note: expanded from macro 'APR_RING_SPLICE_HEAD'
        APR_RING_SPLICE_AFTER(APR_RING_SENTINEL((hp), elem, link),      \
        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:109:36: note: expanded from macro 'APR_OFFSETOF'
#define APR_OFFSETOF(s_type,field) APR_OFFSET(s_type*,field)
                                   ^
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:246:32: note: expanded from macro 'APR_RING_SPLICE_AFTER'
        APR_RING_PREV((ep1), link) = (lep);                             \
                                      ^~~
gnutls_io.c:681:9: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
        APR_BRIGADE_INSERT_HEAD(ctxt->output_bb, e);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_buckets.h:360:2: note: expanded from macro 'APR_BRIGADE_INSERT_HEAD'
        APR_RING_INSERT_HEAD(&(b)->list, ap__b, apr_bucket, link);      \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:312:2: note: expanded from macro 'APR_RING_INSERT_HEAD'
        APR_RING_SPLICE_HEAD((hp), (nep), (nep), elem, link)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:287:24: note: expanded from macro 'APR_RING_SPLICE_HEAD'
        APR_RING_SPLICE_AFTER(APR_RING_SENTINEL((hp), elem, link),      \
        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/usr/local/include/apr-1/apr_general.h:96:56: note: expanded from macro 'APR_OFFSET'
        ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
                                                       ^
/usr/local/include/apr-1/apr_ring.h:247:46: note: expanded from macro 'APR_RING_SPLICE_AFTER'
        APR_RING_NEXT((epN), link) = APR_RING_NEXT((lep), link);        \
                                     ~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/apr-1/apr_ring.h:177:34: note: expanded from macro 'APR_RING_NEXT'
#define APR_RING_NEXT(ep, link) (ep)->link.next
                                 ^~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [mod_gnutls_la-gnutls_io.lo] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/www/mod_gnutls/work/mod_gnutls-0.8.4/src
--- mod_gnutls_la-mod_gnutls.lo ---
mv -f .deps/mod_gnutls_la-mod_gnutls.Tpo .deps/mod_gnutls_la-mod_gnutls.Plo
1 error

make[2]: stopped in /wrkdirs/usr/ports/www/mod_gnutls/work/mod_gnutls-0.8.4/src

make[1]: stopped in /wrkdirs/usr/ports/www/mod_gnutls/work/mod_gnutls-0.8.4
===> 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 in /usr/ports/www/mod_gnutls