[package - main-amd64-default][net/openldap26-server] Failed for openldap26-server-2.6.10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 28 Sep 2025 11:30:03 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:     delphij@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p53919f5dd30e_s5632b0d4628/logs/openldap26-server-2.6.10.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p53919f5dd30e_s5632b0d4628
Log:

=>> Building net/openldap26-server
build started at Sun Sep 28 11:27:43 -00 2025
port directory: /usr/ports/net/openldap26-server
package name: openldap26-server-2.6.10
building for: FreeBSD main-amd64-default-job-01 16.0-CURRENT FreeBSD 16.0-CURRENT 1600000 amd64
maintained by: delphij@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 14511 Aug  5 01:01 /usr/ports/net/openldap26-server/Makefile
Ports top last git commit: 53919f5dd30
Ports top unclean checkout: no
Port dir last git commit: d4c65d595d6
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1600000
Jail OSVERSION: 1600000
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600000
UNAME_v=FreeBSD 16.0-CURRENT 1600000
UNAME_r=16.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.3
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.3
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 openldap26-server-2.6.10:
     ACI=off: Per-object ACI (experimental)
     ARGON2=on: Argon2 password hashing module
     DEBUG=on: Build with debugging support
     DYNACL=off: Run-time loadable ACL (experimental)
     FETCH=off: Enable fetch(3) support
     GSSAPI=off: With GSSAPI support
     LLOADD=on: Enable load balancer
     OUTLOOK=off: Force caseIgnoreOrderingMatch on name attribute (experimental)
     PBKDF2=off: With PBKDF2 hash password support
     RLOOKUPS=off: With reverse lookups of client hostnames
     SLAPI=off: With Netscape SLAPI plugin API (experimental)
     SLP=off: With SLPv2 (RFC 2608) support
====> OpenLDAP backends
     ASYNCMETA=on: With asynchronous metadirectory backend
     DNSSRV=on: With Dnssrv backend
     MDB=on: With Memory-Mapped DB backend
     PASSWD=on: With Passwd backend
     RELAY=on: With Relay backend
     SOCK=on: With Sock backend
     PERL=off: With Perl backend
     SQL=off: With SQL backend
====> OpenLDAP overlays
     ACCESSLOG=on: With In-Directory Access Logging overlay
     ADDPARTIAL=on: With addpartial overlay (experimental)
     ALLOP=on: With allop overlay (experimental)
     AUTOCA=on: With Automatic Certificate Authority overlay
     AUDITLOG=on: With Audit Logging overlay
     AUTOGROUP=on: With autogroup overlay (experimental)
     CLOAK=on: With cloak overlay (experimental)
     COLLECT=on: With Collect overy Services overlay
     CONSTRAINT=on: With Attribute Constraint overlay
     DDS=on: With Dynamic Directory Services overlay
     DENYOP=on: With denyop overlay (experimental)
     DEREF=on: With Dereference overlay
     DYNGROUP=on: With Dynamic Group overlay
     DYNLIST=on: With Dynamic List overlay
     EMPTYDS=on: With emptyds overlay (experimental)
     HOMEDIR=on: With Home Directory Management overlay
     LASTBIND=on: With lastbind overlay
     LASTMOD=on: With lastmod overlay (experimental)
     MEMBEROF=on: With Reverse Group Membership overlay
     NOPS=on: With nops overlay
     NESTGROUP=on: With nestgroup overlay
     OTP=on: With OTP 2-factor authentication overlay
     PROXYCACHE=on: With Proxy Cache overlay
     PPOLICY=on: With Password Policy overlay
     REFINT=on: With Referential Integrity overlay
     REMOTEAUTH=on: With Deferred Authentication overlay
     RETCODE=on: With Return Code testing overlay
     RWM=on: With Rewrite/Remap overlay
     SEQMOD=on: With Sequential Modify overlay
     SHA2=on: With SHA2 Password hashes overlay
     SMBPWD=on: With Samba Password hashes overlay
     SSSVLV=on: With ServerSideSort/VLV overlay
     SYNCPROV=on: With Syncrepl Provider overlay
     TRACE=on: With Trace overlay
     TRANSLUCENT=on: With Translucent Proxy overlay
     UNIQUE=on: With attribute Uniqueness overlay
     VALSORT=on: With Value Sorting overlay
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
delphij@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-accesslog=mod --disable-aci --enable-argon2 --with-argon2=libsodium --enable-asyncmeta=mod --enable-auditlog=mod --enable-autoca=mod --enable-collect=mod --enable-constraint=mod --enable-dds=mod --enable-debug --enable-deref=mod --enable-dnssrv=mod --disable-dynacl --enable-dyngroup=mod --enable-dynlist=mod --without-fetch --enable-homedir=mod --enable-balancer=mod --enable-mdb=yes --enable-memberof=mod --enable-nestgroup=mod --enable-otp=mod --enable-passwd=mod --disable-perl --enable-ppolicy=mod --enable-proxycache=mod --enable-refint=mod --enable-relay=yes --enable-remoteauth=mod --enable-retcode=mod --disable-rlookups --enable-rwm=mod --enable-seqmod=mod --disable-slapi --disable-slp --enable-sock=mod --disable-sql --enable-sssvlv=mod --enable-syncprov=yes --enable-translucent=mod --enable-unique=mod --enable-valsort=mod --enable-modules  --localstatedir=/var/db  --enable-crypt  --enable-ldap=mod  --enable-meta=mod  --enable-null=mod --with-threads=posix  --with
-tls=openssl  --enable-dynamic --with-cyrus-sasl --enable-spasswd --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/openldap26-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/openldap26-server/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/openldap26-server/work/.cache  HOME=/wrkdirs/usr/ports/net/openldap26-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/openldap26-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/openldap26-server/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
STRIP=-s OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/openldap26-server/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/openldap26-server/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/openldap26-server/work/.cache  HOME=/wrkdirs/usr/ports/net/openldap26-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/openldap26-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/openldap26-server/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="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib  " LIBS="-L/usr/local/lib -L/usr/local/lib"  CXX="c+
+" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -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--
 ACCESSLOG="" NO_ACCESSLOG="@comment " ACI="@comment " NO_ACI="" ADDPARTIAL="" NO_ADDPARTIAL="@comment " ALLOP="" NO_ALLOP="@comment " ARGON2="" NO_ARGON2="@comment " ASYNCMETA="" NO_ASYNCMETA="@comment " AUDITLOG="" NO_AUDITLOG="@comment " AUTOCA="" NO_AUTOCA="@comment " AUTOGROUP="" NO_AUTOGROUP="@comment " CLOAK="" NO_CLOAK="@comment " COLLECT="" NO_COLLECT="@comment " CONSTRAINT="" NO_CONSTRAINT="@comment " DDS="" NO_DDS="@comment " DEBUG="" NO_DEBUG="@comment " DENYOP="" NO_DENYOP="@comment " DEREF="" NO_DEREF="@comment " DNSSRV="" NO_DNSSRV="@comment " DYNACL="@comment " NO_DYNACL="" DYNGROUP="" NO_DYNGROUP="@comment " DYNLIST="" NO_DYNLIST="@comment " EMPTYDS="" NO_EMPTYDS="@comment " FETCH="@comment " NO_FETCH="" GSSAPI="@comment " NO_GSSAPI="" HOMEDIR="" NO_HOMEDIR="@comment " LASTBIND="" NO_LASTBIND="@comment " LASTMOD="" NO_LASTMOD="@comment " LLOADD="" NO_LLOADD="@comment " MDB="" NO_MDB="@comment " MEMBEROF="" NO_MEMBEROF="@comment " NESTGROUP="" NO_NESTGROUP="@
comment " NOPS="" NO_NOPS="@comment " OTP="" NO_OTP="@comment " OUTLOOK="@comment " NO_OUTLOOK="" PASSWD="" NO_PASSWD="@comment " PBKDF2="@comment " NO_PBKDF2="" PERL="@comment " NO_PERL="" PPOLICY="" NO_PPOLICY="@comment " PROXYCACHE="" NO_PROXYCACHE="@comment " REFINT="" NO_REFINT="@comment " RELAY="" NO_RELAY="@comment " REMOTEAUTH="" NO_REMOTEAUTH="@comment " RETCODE="" NO_RETCODE="@comment " RLOOKUPS="@comment " NO_RLOOKUPS="" RWM="" NO_RWM="@comment " SEQMOD="" NO_SEQMOD="@comment " SHA2="" NO_SHA2="@comment " SLAPI="@comment " NO_SLAPI="" SLP="@comment " NO_SLP="" SMBPWD="" NO_SMBPWD="@comment " SOCK="" NO_SOCK="@comment " SQL="@comment " NO_SQL="" SSSVLV="" NO_SSSVLV="@comment " SYNCPROV="" NO_SYNCPROV="@comment " TRACE="" NO_TRACE="@comment " TRANSLUCENT="" NO_TRANSLUCENT="@comment " UNIQUE="" NO_UNIQUE="@comment " VALSORT="" NO_VALSORT="@comment "  ACCESSLOG="" NO_ACCESSLOG="@comment " ACI="@comment " NO_ACI="" ADDPARTIAL="" NO_ADDPARTIAL="@comment " ALLOP="" NO_AL
LOP="@comment " ARGON2="" NO_ARGON2="@comment " ASYNCMETA="" NO_ASYNCMETA="@comment " AUDITLOG="" NO_AUDITLOG="@comment " AUTOCA="" NO_AUTOCA="@comment " AUTOGROUP="" NO_AUTOGROUP="@comment " CLOAK="" NO_CLOAK="@comment " COLLECT="" NO_COLLECT="@comment " CONSTRAINT="" NO_CONSTRAINT="@comment " DDS="" NO_DDS="@comment " DEBUG="" NO_DEBUG="@comment " DENYOP="" NO_DENYOP="@comment " DEREF="" NO_DEREF="@comment " DNSSRV="" NO_DNSSRV="@comment " DYNACL="@comment " NO_DYNACL="" DYNGROUP="" NO_DYNGROUP="@comment " DYNLIST="" NO_DYNLIST="@comment " EMPTYDS="" NO_EMPTYDS="@comment " FETCH="@comment " NO_FETCH="" GSSAPI="@comment " NO_GSSAPI="" HOMEDIR="" NO_HOMEDIR="@comment " LASTBIND="" NO_LASTBIND="@comment " LASTMOD="" NO_LASTMOD="@comment " LLOADD="" NO_LLOADD="@comment " MDB="" NO_MDB="@comment " MEMBEROF="" NO_MEMBEROF="@comment " NESTGROUP="" NO_NESTGROUP="@comment " NOPS="" NO_NOPS="@comment " OTP="" NO_OTP="@comment " OUTLOOK="@comment " NO_OUTLOOK="" PASSWD="" NO_PASSWD="
@comment " PBKDF2="@comment " NO_PBKDF2="" PERL="@comment " NO_PERL="" PPOLICY="" NO_PPOLICY="@comment " PROXYCACHE="" NO_PROXYCACHE="@comment " REFINT="" NO_REFINT="@comment " RELAY="" NO_RELAY="@comment " REMOTEAUTH="" NO_REMOTEAUTH="@comment " RETCODE="" NO_RETCODE="@comment " RLOOKUPS="@comment " NO_RLOOKUPS="" RWM="" NO_RWM="@comment " SEQMOD="" NO_SEQMOD="@comment " SHA2="" NO_SHA2="@comment " SLAPI="@comment " NO_SLAPI="" SLP="@comment " NO_SLP="" SMBPWD="" NO_SMBPWD="@comment " SOCK="" NO_SOCK="@comment " SQL="@comment " NO_SQL="" SSSVLV="" NO_SSSVLV="@comment " SYNCPROV="" NO_SYNCPROV="@comment " TRACE="" NO_TRACE="@comment " TRANSLUCENT="" NO_TRANSLUCENT="@comment " UNIQUE="" NO_UNIQUE="@comment " VALSORT="" NO_VALSORT="@comment " RC_DIR=/usr/local  LDAP_RUN_DIR=/var/run/openldap  DATABASEDIR=/var/db/openldap-data LDAP_RUN_DIR=/var/run/openldap  LDAP_USER=ldap  LDAP_GROUP=ldap  BACKUPDIR=/var/backups/openldap  DATABASEDIR=/var/db/openldap-data  PORTNAME=openldap  P
KGNAME=openldap26-server-2.6.10  PKGNAMESUFFIX=26-server PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openldap DOCSDIR=/usr/local/share/doc/openldap EXAMPLESDIR=/usr/local/share/examples/openldap  WWWDIR=/usr/local/www/openldap ETCDIR=/usr/local/etc/openldap SHLIB_MAJOR=2 SHLIB_MINOR=0.200 OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openldap"  EXAMPLESDIR="share/examples/openldap"  DATADIR="share/openldap"  WWWDIR="www/openldap"  ETCDIR="etc/openldap"
--End PLIST_SUB--

--SUB_LIST--
 ACCESSLOG="" NO_ACCESSLOG="@comment " ACI="@comment " NO_ACI="" ADDPARTIAL="" NO_ADDPARTIAL="@comment " ALLOP="" NO_ALLOP="@comment " ARGON2="" NO_ARGON2="@comment " ASYNCMETA="" NO_ASYNCMETA="@comment " AUDITLOG="" NO_AUDITLOG="@comment " AUTOCA="" NO_AUTOCA="@comment " AUTOGROUP="" NO_AUTOGROUP="@comment " CLOAK="" NO_CLOAK="@comment " COLLECT="" NO_COLLECT="@comment " CONSTRAINT="" NO_CONSTRAINT="@comment " DDS="" NO_DDS="@comment " DEBUG="" NO_DEBUG="@comment " DENYOP="" NO_DENYOP="@comment " DEREF="" NO_DEREF="@comment " DNSSRV="" NO_DNSSRV="@comment " DYNACL="@comment " NO_DYNACL="" DYNGROUP="" NO_DYNGROUP="@comment " DYNLIST="" NO_DYNLIST="@comment " EMPTYDS="" NO_EMPTYDS="@comment " FETCH="@comment " NO_FETCH="" GSSAPI="@comment " NO_GSSAPI="" HOMEDIR="" NO_HOMEDIR="@comment " LASTBIND="" NO_LASTBIND="@comment " LASTMOD="" NO_LASTMOD="@comment " LLOADD="" NO_LLOADD="@comment " MDB="" NO_MDB="@comment " MEMBEROF="" NO_MEMBEROF="@comment " NESTGROUP="" NO_NESTGROUP="@
comment " NOPS="" NO_NOPS="@comment " OTP="" NO_OTP="@comment " OUTLOOK="@comment " NO_OUTLOOK="" PASSWD="" NO_PASSWD="@comment " PBKDF2="@comment " NO_PBKDF2="" PERL="@comment " NO_PERL="" PPOLICY="" NO_PPOLICY="@comment " PROXYCACHE="" NO_PROXYCACHE="@comment " REFINT="" NO_REFINT="@comment " RELAY="" NO_RELAY="@comment " REMOTEAUTH="" NO_REMOTEAUTH="@comment " RETCODE="" NO_RETCODE="@comment " RLOOKUPS="@comment " NO_RLOOKUPS="" RWM="" NO_RWM="@comment " SEQMOD="" NO_SEQMOD="@comment " SHA2="" NO_SHA2="@comment " SLAPI="@comment " NO_SLAPI="" SLP="@comment " NO_SLP="" SMBPWD="" NO_SMBPWD="@comment " SOCK="" NO_SOCK="@comment " SQL="@comment " NO_SQL="" SSSVLV="" NO_SSSVLV="@comment " SYNCPROV="" NO_SYNCPROV="@comment " TRACE="" NO_TRACE="@comment " TRANSLUCENT="" NO_TRANSLUCENT="@comment " UNIQUE="" NO_UNIQUE="@comment " VALSORT="" NO_VALSORT="@comment " RC_DIR=/usr/local  LDAP_RUN_DIR=/var/run/openldap  DATABASEDIR=/var/db/openldap-data LDAP_RUN_DIR=/var/run/openldap  LD
AP_USER=ldap  LDAP_GROUP=ldap  BACKUPDIR=/var/backups/openldap  DATABASEDIR=/var/db/openldap-data  PORTNAME=openldap  PKGNAME=openldap26-server-2.6.10  PKGNAMESUFFIX=26-server PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openldap DOCSDIR=/usr/local/share/doc/openldap EXAMPLESDIR=/usr/local/share/examples/openldap  WWWDIR=/usr/local/www/openldap ETCDIR=/usr/local/etc/openldap
--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 OPENLDAP accepted by the user
===========================================================================
<snip>
      |         ^
./sha2.h:164:9: warning: 'SHA256_Update' macro redefined [-Wmacro-redefined]
  164 | #define SHA256_Update   pw_SHA256_Update
      |         ^
./sha2.h:146:9: note: previous definition is here
  146 | #define SHA256_Update   _sha2_SHA256_Update
      |         ^
./sha2.h:165:9: warning: 'SHA256_Final' macro redefined [-Wmacro-redefined]
  165 | #define SHA256_Final    pw_SHA256_Final
      |         ^
./sha2.h:147:9: note: previous definition is here
  147 | #define SHA256_Final    _sha2_SHA256_Final
      |         ^
./sha2.h:166:9: warning: 'SHA256_End' macro redefined [-Wmacro-redefined]
  166 | #define SHA256_End              pw_SHA256_End
      |         ^
./sha2.h:148:9: note: previous definition is here
  148 | #define SHA256_End      _sha2_SHA256_End
      |         ^
./sha2.h:167:9: warning: 'SHA256_Data' macro redefined [-Wmacro-redefined]
  167 | #define SHA256_Data             pw_SHA256_Data
      |         ^
./sha2.h:149:9: note: previous definition is here
  149 | #define SHA256_Data     _sha2_SHA256_Data
      |         ^
./sha2.h:169:9: warning: 'SHA384_Init' macro redefined [-Wmacro-redefined]
  169 | #define SHA384_Init             pw_SHA384_Init
      |         ^
./sha2.h:150:9: note: previous definition is here
  150 | #define SHA384_Init     _sha2_SHA384_Init
      |         ^
./sha2.h:170:9: warning: 'SHA384_Update' macro redefined [-Wmacro-redefined]
  170 | #define SHA384_Update   pw_SHA384_Update
      |         ^
./sha2.h:151:9: note: previous definition is here
  151 | #define SHA384_Update   _sha2_SHA384_Update
      |         ^
./sha2.h:171:9: warning: 'SHA384_Final' macro redefined [-Wmacro-redefined]
  171 | #define SHA384_Final    pw_SHA384_Final
      |         ^
./sha2.h:152:9: note: previous definition is here
  152 | #define SHA384_Final    _sha2_SHA384_Final
      |         ^
./sha2.h:172:9: warning: 'SHA384_End' macro redefined [-Wmacro-redefined]
  172 | #define SHA384_End              pw_SHA384_End
      |         ^
./sha2.h:153:9: note: previous definition is here
  153 | #define SHA384_End      _sha2_SHA384_End
      |         ^
./sha2.h:173:9: warning: 'SHA384_Data' macro redefined [-Wmacro-redefined]
  173 | #define SHA384_Data             pw_SHA384_Data
      |         ^
./sha2.h:154:9: note: previous definition is here
  154 | #define SHA384_Data     _sha2_SHA384_Data
      |         ^
./sha2.h:175:9: warning: 'SHA512_Init' macro redefined [-Wmacro-redefined]
  175 | #define SHA512_Init             pw_SHA512_Init
      |         ^
./sha2.h:155:9: note: previous definition is here
  155 | #define SHA512_Init     _sha2_SHA512_Init
      |         ^
./sha2.h:176:9: warning: 'SHA512_Update' macro redefined [-Wmacro-redefined]
  176 | #define SHA512_Update   pw_SHA512_Update
      |         ^
./sha2.h:156:9: note: previous definition is here
  156 | #define SHA512_Update   _sha2_SHA512_Update
      |         ^
./sha2.h:177:9: warning: 'SHA512_Final' macro redefined [-Wmacro-redefined]
  177 | #define SHA512_Final    pw_SHA512_Final
      |         ^
./sha2.h:157:9: note: previous definition is here
  157 | #define SHA512_Final    _sha2_SHA512_Final
      |         ^
./sha2.h:178:9: warning: 'SHA512_End' macro redefined [-Wmacro-redefined]
  178 | #define SHA512_End              pw_SHA512_End
      |         ^
./sha2.h:158:9: note: previous definition is here
  158 | #define SHA512_End      _sha2_SHA512_End
      |         ^
./sha2.h:179:9: warning: 'SHA512_Data' macro redefined [-Wmacro-redefined]
  179 | #define SHA512_Data             pw_SHA512_Data
      |         ^
./sha2.h:159:9: note: previous definition is here
  159 | #define SHA512_Data     _sha2_SHA512_Data
      |         ^
15 warnings generated.
libtool: compile:  cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isystem /usr/local/include -I../../../../include -I../../../../include -I../../../../servers/slapd -c slapd-sha2.c -o slapd-sha2.o >/dev/null 2>&1
../../../../libtool --mode=compile cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include -isystem /usr/local/include  -I../../../../include -I../../../../include -I../../../../servers/slapd -c sha2.c
libtool: compile:  cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isystem /usr/local/include -I../../../../include -I../../../../include -I../../../../servers/slapd -c sha2.c  -fPIC -DPIC -o .libs/sha2.o
In file included from sha2.c:38:
./sha2.h:163:9: warning: 'SHA256_Init' macro redefined [-Wmacro-redefined]
  163 | #define SHA256_Init             pw_SHA256_Init
      |         ^
./sha2.h:145:9: note: previous definition is here
  145 | #define SHA256_Init     _sha2_SHA256_Init
      |         ^
./sha2.h:164:9: warning: 'SHA256_Update' macro redefined [-Wmacro-redefined]
  164 | #define SHA256_Update   pw_SHA256_Update
      |         ^
./sha2.h:146:9: note: previous definition is here
  146 | #define SHA256_Update   _sha2_SHA256_Update
      |         ^
./sha2.h:165:9: warning: 'SHA256_Final' macro redefined [-Wmacro-redefined]
  165 | #define SHA256_Final    pw_SHA256_Final
      |         ^
./sha2.h:147:9: note: previous definition is here
  147 | #define SHA256_Final    _sha2_SHA256_Final
      |         ^
./sha2.h:166:9: warning: 'SHA256_End' macro redefined [-Wmacro-redefined]
  166 | #define SHA256_End              pw_SHA256_End
      |         ^
./sha2.h:148:9: note: previous definition is here
  148 | #define SHA256_End      _sha2_SHA256_End
      |         ^
./sha2.h:167:9: warning: 'SHA256_Data' macro redefined [-Wmacro-redefined]
  167 | #define SHA256_Data             pw_SHA256_Data
      |         ^
./sha2.h:149:9: note: previous definition is here
  149 | #define SHA256_Data     _sha2_SHA256_Data
      |         ^
./sha2.h:169:9: warning: 'SHA384_Init' macro redefined [-Wmacro-redefined]
  169 | #define SHA384_Init             pw_SHA384_Init
      |         ^
./sha2.h:150:9: note: previous definition is here
  150 | #define SHA384_Init     _sha2_SHA384_Init
      |         ^
./sha2.h:170:9: warning: 'SHA384_Update' macro redefined [-Wmacro-redefined]
  170 | #define SHA384_Update   pw_SHA384_Update
      |         ^
./sha2.h:151:9: note: previous definition is here
  151 | #define SHA384_Update   _sha2_SHA384_Update
      |         ^
./sha2.h:171:9: warning: 'SHA384_Final' macro redefined [-Wmacro-redefined]
  171 | #define SHA384_Final    pw_SHA384_Final
      |         ^
./sha2.h:152:9: note: previous definition is here
  152 | #define SHA384_Final    _sha2_SHA384_Final
      |         ^
./sha2.h:172:9: warning: 'SHA384_End' macro redefined [-Wmacro-redefined]
  172 | #define SHA384_End              pw_SHA384_End
      |         ^
./sha2.h:153:9: note: previous definition is here
  153 | #define SHA384_End      _sha2_SHA384_End
      |         ^
./sha2.h:173:9: warning: 'SHA384_Data' macro redefined [-Wmacro-redefined]
  173 | #define SHA384_Data             pw_SHA384_Data
      |         ^
./sha2.h:154:9: note: previous definition is here
  154 | #define SHA384_Data     _sha2_SHA384_Data
      |         ^
./sha2.h:175:9: warning: 'SHA512_Init' macro redefined [-Wmacro-redefined]
  175 | #define SHA512_Init             pw_SHA512_Init
      |         ^
./sha2.h:155:9: note: previous definition is here
  155 | #define SHA512_Init     _sha2_SHA512_Init
      |         ^
./sha2.h:176:9: warning: 'SHA512_Update' macro redefined [-Wmacro-redefined]
  176 | #define SHA512_Update   pw_SHA512_Update
      |         ^
./sha2.h:156:9: note: previous definition is here
  156 | #define SHA512_Update   _sha2_SHA512_Update
      |         ^
./sha2.h:177:9: warning: 'SHA512_Final' macro redefined [-Wmacro-redefined]
  177 | #define SHA512_Final    pw_SHA512_Final
      |         ^
./sha2.h:157:9: note: previous definition is here
  157 | #define SHA512_Final    _sha2_SHA512_Final
      |         ^
./sha2.h:178:9: warning: 'SHA512_End' macro redefined [-Wmacro-redefined]
  178 | #define SHA512_End              pw_SHA512_End
      |         ^
./sha2.h:158:9: note: previous definition is here
  158 | #define SHA512_End      _sha2_SHA512_End
      |         ^
./sha2.h:179:9: warning: 'SHA512_Data' macro redefined [-Wmacro-redefined]
  179 | #define SHA512_Data             pw_SHA512_Data
      |         ^
./sha2.h:159:9: note: previous definition is here
  159 | #define SHA512_Data     _sha2_SHA512_Data
      |         ^
15 warnings generated.
libtool: compile:  cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isystem /usr/local/include -I../../../../include -I../../../../include -I../../../../servers/slapd -c sha2.c -o sha2.o >/dev/null 2>&1
../../../../libtool --mode=link cc  -L/usr/local/lib   -version-info 0:0:0 -rpath /usr/local/libexec/openldap -module -o pw-sha2.la slapd-sha2.lo sha2.lo  ../../../../libraries/libldap/libldap.la ../../../../libraries/liblber/liblber.la
libtool: link: cc -shared  -fPIC -DPIC  .libs/slapd-sha2.o .libs/sha2.o   -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/openldap26-server/work/openldap-2.6.10/libraries/libldap/.libs -Wl,-rpath -Wl,/wrkdirs/usr/ports/net/openldap26-server/work/openldap-2.6.10/libraries/liblber/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ../../../../libraries/libldap/.libs/libldap.so /wrkdirs/usr/ports/net/openldap26-server/work/openldap-2.6.10/libraries/liblber/.libs/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto ../../../../libraries/liblber/.libs/liblber.so -levent    -pthread -Wl,-soname -Wl,pw-sha2.so.0 -o .libs/pw-sha2.so.0.0.0
libtool: link: (cd ".libs" && rm -f "pw-sha2.so.0" && ln -s "pw-sha2.so.0.0.0" "pw-sha2.so.0")
libtool: link: (cd ".libs" && rm -f "pw-sha2.so" && ln -s "pw-sha2.so.0.0.0" "pw-sha2.so")
libtool: link: ar cru .libs/pw-sha2.a  slapd-sha2.o sha2.o
libtool: link: ranlib .libs/pw-sha2.a
libtool: link: ( cd ".libs" && rm -f "pw-sha2.la" && ln -s "../pw-sha2.la" "pw-sha2.la" )
../../../libtool --mode=compile cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include -isystem /usr/local/include -DDO_KRB5 -DDO_SAMBA -DDO_SHADOW -I../../../include -I../../../include -I../../../servers/slapd -I/usr/include  -c smbk5pwd.c
libtool: compile:  cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isystem /usr/local/include -DDO_KRB5 -DDO_SAMBA -DDO_SHADOW -I../../../include -I../../../include -I../../../servers/slapd -I/usr/include -c smbk5pwd.c  -fPIC -DPIC -o .libs/smbk5pwd.o
smbk5pwd.c:47:10: fatal error: 'hdb.h' file not found
   47 | #include <hdb.h>
      |          ^~~~~~~
1 error generated.
gmake: *** [Makefile:59: smbk5pwd.lo] Error 1
*** Error code 2

Stop.
make: stopped making "build" in /usr/ports/net/openldap26-server