[package - main-i386-default][www/mod_cfg_ldap] Failed for ap24-mod_cfg_ldap-1.2_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 02 Apr 2023 13:34:08 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:     apache@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p41bf13d789a7_sf4179ad46f/logs/ap24-mod_cfg_ldap-1.2_5.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p41bf13d789a7_sf4179ad46f
Log:

=>> Building www/mod_cfg_ldap
build started at Sun Apr  2 13:33:58 UTC 2023
port directory: /usr/ports/www/mod_cfg_ldap
package name: ap24-mod_cfg_ldap-1.2_5
building for: FreeBSD main-i386-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400085 i386
maintained by: apache@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400085
Job Id: 04




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400085
UNAME_v=FreeBSD 14.0-CURRENT 1400085
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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---
===> The following configuration options are available for ap24-mod_cfg_ldap-1.2_5:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
apache@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/mod_cfg_ldap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mod_cfg_ldap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mod_cfg_ldap/work/.cache  HOME=/wrkdirs/usr/ports/www/mod_cfg_ldap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mod_cfg_ldap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/mod_cfg_ldap/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

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

--SUB_LIST--
APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mod_cfg_ldap DOCSDIR=/usr/local/share/doc/mod_cfg_ldap EXAMPLESDIR=/usr/local/share/examples/mod_cfg_ldap  WWWDIR=/usr/local/www/mod_cfg_ldap ETCDIR=/usr/local/etc/mod_cfg_ldap
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-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" "-m" "elf_i386_fbsd" "-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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400085
PYTHONBASE=/usr/local
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)  524288
stack size              (kbytes, -s)  65536
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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ap24-mod_cfg_ldap-1.2_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-i386-default-job-04] Installing pkg-1.19.1_1...
[main-i386-default-job-04] Extracting pkg-1.19.1_1: .......... done
===>   ap24-mod_cfg_ldap-1.2_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ap24-mod_cfg_ldap-1.2_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ap24-mod_cfg_ldap-1.2_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ap24-mod_cfg_ldap-1.2_5 for building
=> SHA256 Checksum OK for apache2/mod_cfg_ldap-1.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ap24-mod_cfg_ldap-1.2_5 for building
===>  Extracting for ap24-mod_cfg_ldap-1.2_5
=> SHA256 Checksum OK for apache2/mod_cfg_ldap-1.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ap24-mod_cfg_ldap-1.2_5
<snip>
[main-i386-default-job-04] |   | `-- Extracting libidn2-2.3.4: .......... done
[main-i386-default-job-04] |   `-- Extracting libpsl-0.21.2_2: .......... done
[main-i386-default-job-04] |   `-- Installing libssh2-1.10.0_1,3...
[main-i386-default-job-04] |   `-- Extracting libssh2-1.10.0_1,3: .......... done
[main-i386-default-job-04] `-- Extracting curl-7.88.1: .......... done
[main-i386-default-job-04] `-- Installing jansson-2.14...
[main-i386-default-job-04] `-- Extracting jansson-2.14: .......... done
[main-i386-default-job-04] `-- Installing libxml2-2.10.3_1...
[main-i386-default-job-04] `-- Extracting libxml2-2.10.3_1: .......... done
[main-i386-default-job-04] `-- Installing pcre2-10.42...
[main-i386-default-job-04] `-- Extracting pcre2-10.42: .......... done
[main-i386-default-job-04] `-- Installing perl5-5.32.1_3...
[main-i386-default-job-04] `-- Extracting perl5-5.32.1_3: .......... done
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[main-i386-default-job-04] Extracting apache24-2.4.56: .......... done
=====
Message from apr-1.7.3.1.6.3:

--
The Apache Portable Runtime project removed support for FreeTDS with
version 1.6. Users requiring MS-SQL connectivity must migrate
configurations to use the added ODBC driver and FreeTDS' ODBC features.
=====
Message from ca_root_nss-3.89:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from apache24-2.4.56:

--
To run apache www server from startup, add apache24_enable="yes"
in your /etc/rc.conf. Extra options can be found in startup script.

Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.


- apache24 default build changed from static MPM to modular MPM
- more modules are now enabled per default in the port
- icons and error pages moved from WWWDIR to DATADIR

   If build with modular MPM and no MPM is activated in
   httpd.conf, then mpm_prefork will be activated as default
   MPM in etc/apache24/modules.d to keep compatibility with
   existing php/perl/python modules!

Please compare the existing httpd.conf with httpd.conf.sample
and merge missing modules/instructions into httpd.conf!
===>   ap24-mod_cfg_ldap-1.2_5 depends on file: /usr/local/sbin/apxs - found
===>   Returning to build of ap24-mod_cfg_ldap-1.2_5
===========================================================================
=======================<phase: lib-depends    >============================
===>   ap24-mod_cfg_ldap-1.2_5 depends on shared library: libldap.so.2 - not found
===>   Installing existing package /packages/All/openldap26-client-2.6.4.pkg
[main-i386-default-job-04] Installing openldap26-client-2.6.4...
[main-i386-default-job-04] `-- Installing cyrus-sasl-2.1.28...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[main-i386-default-job-04] `-- Extracting cyrus-sasl-2.1.28: .......... done
[main-i386-default-job-04] Extracting openldap26-client-2.6.4: .......... done
=====
Message from cyrus-sasl-2.1.28:

--
You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
=====
Message from openldap26-client-2.6.4:

--
The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.
===>   ap24-mod_cfg_ldap-1.2_5 depends on shared library: libldap.so.2 - found (/usr/local/lib/libldap.so.2)
===>   Returning to build of ap24-mod_cfg_ldap-1.2_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ap24-mod_cfg_ldap-1.2_5
===========================================================================
=======================<phase: build          >============================
===>  Building for ap24-mod_cfg_ldap-1.2_5
===>  Generating apache plist
(cd /wrkdirs/usr/ports/www/mod_cfg_ldap/work/mod_cfg_ldap-1.2 && /usr/local/sbin/apxs -c -I /usr/local/include -L /usr/local/lib -lldap -o mod_cfg_ldap.la mod_cfg_ldap.c)
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing    -I/usr/local/include/apache24  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db18 -I/usr/local/include  -c -o mod_cfg_ldap.lo mod_cfg_ldap.c && touch mod_cfg_ldap.slo
mod_cfg_ldap.c:108:9: warning: call to undeclared function 'ldap_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          ld = ldap_init (cfg->hostname, LDAPS_PORT);
               ^
mod_cfg_ldap.c:108:7: error: incompatible integer to pointer conversion assigning to 'LDAP *' (aka 'struct ldap *') from 'int' [-Wint-conversion]
          ld = ldap_init (cfg->hostname, LDAPS_PORT);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_cfg_ldap.c:119:8: warning: call to undeclared function 'ldap_unbind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              ldap_unbind (ld);
              ^
mod_cfg_ldap.c:129:8: warning: call to undeclared function 'ldap_unbind_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              ldap_unbind_s (ld);
              ^
mod_cfg_ldap.c:140:8: warning: call to undeclared function 'ldap_unbind_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              ldap_unbind_s (ld);
              ^
mod_cfg_ldap.c:150:9: warning: call to undeclared function 'ldap_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          ld = ldap_init (cfg->hostname, LDAP_PORT);
               ^
mod_cfg_ldap.c:150:7: error: incompatible integer to pointer conversion assigning to 'LDAP *' (aka 'struct ldap *') from 'int' [-Wint-conversion]
          ld = ldap_init (cfg->hostname, LDAP_PORT);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_cfg_ldap.c:153:12: warning: call to undeclared function 'ldap_simple_bind_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      rc = ldap_simple_bind_s (ld, cfg->username, cfg->password);
           ^
mod_cfg_ldap.c:163:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
  while (!rc == LDAP_SUCCESS);
         ^   ~~
mod_cfg_ldap.c:163:10: note: add parentheses after the '!' to evaluate the comparison first
  while (!rc == LDAP_SUCCESS);
         ^
          (                 )
mod_cfg_ldap.c:163:10: note: add parentheses around left hand side expression to silence this warning
  while (!rc == LDAP_SUCCESS);
         ^
         (  )
mod_cfg_ldap.c:179:3: warning: call to undeclared function 'ldap_unbind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  ldap_unbind (ld);
  ^
mod_cfg_ldap.c:237:8: warning: call to undeclared function 'ldap_search_s'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  rc = ldap_search_s (ld, cfg->basedn, LDAP_SCOPE_SUBTREE, filter,
       ^
mod_cfg_ldap.c:240:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
  if (!rc == LDAP_SUCCESS)
      ^   ~~
mod_cfg_ldap.c:240:7: note: add parentheses after the '!' to evaluate the comparison first
  if (!rc == LDAP_SUCCESS)
      ^
       (                 )
mod_cfg_ldap.c:240:7: note: add parentheses around left hand side expression to silence this warning
  if (!rc == LDAP_SUCCESS)
      ^
      (  )
mod_cfg_ldap.c:283:13: warning: call to undeclared function 'ldap_get_values'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      val = ldap_get_values (ld, entry, attr);
            ^
mod_cfg_ldap.c:283:11: error: incompatible integer to pointer conversion assigning to 'char **' from 'int' [-Wint-conversion]
      val = ldap_get_values (ld, entry, attr);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_cfg_ldap.c:298:3: warning: call to undeclared function 'ldap_value_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  ldap_value_free (val);
  ^
12 warnings and 3 errors generated.
apxs:Error: Command failed with rc=65536