From nobody Wed Feb 15 18:06:11 2023 X-Original-To: apache@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PH5c41wb4z3r7nF; Wed, 15 Feb 2023 18:06:12 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PH5c35szBz43kL; Wed, 15 Feb 2023 18:06:11 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676484371; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=auu7Z0w8sqU2kHPqoz9ghcVVilsDB7c4f7hpOShLVgI=; b=BtItbkd1S7uCZrELIBZD0FzfpJg4Mu9tdTs0rQjgY2RwxeHJFFNYtUb4iMjhj2Sn1Aiwbz kdTD55BLtXXINSk7da1drSkmKg6hnkmnpCAljv12GLbq5MBOSffP6ZyIIiScexL0JgAx7l Om9ugWdjx42M0gYNu/jd+0yrJh9QkRHXXWDl9Oos8t6St4RFo5fZaVx1D2KWuM6Ip3CcEB JO82IPU+Itv6s2rW09RLqjiGt8faRI7k8nOfMeBYk953UrgWo9UDikkLfMrEfTvsjCZHsa 3by9b3yMWTgD16euYhzU3ggUVCPFJhr9rVnb66gXx8OMuy0pIPLCJD4ZB7T+VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676484371; a=rsa-sha256; cv=none; b=HB3pdmHT9SCef68mhhdd0JsQy3eIhh2NRORCuuTkmXQjvQE8hRRaWehU+61VOqIeUXjrcY 85+Sv7Mlnb9rpe0ZwYlIiXhQRym80qQbQpQx1M+zA+TGI+VT+4bmFbcqdy9lSUeVkoQG4G UFF2tiTzHmJTnbIAjSLKM7GD5J9BE0QozboHUemX/qP8XoSSXEawcFYG9wdiileGQe4O/p naiNx1ll87Lt7Dls4+AofiMz0QkUfJ+RfU1mtp6oWSbv/uyzP6z/3Wxo2yyFF/KBtj+Ch5 8F93EpHCe8BTxU1mmUpTBuEKEYSO67V4UaoVQjhn7A+OlT/r7Kcz9V/kLl5meg== Received: from ampere2.nyi.freebsd.org (ampere2.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PH5c34wXCzYCC; Wed, 15 Feb 2023 18:06:11 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from ampere2.nyi.freebsd.org (localhost [127.0.0.1]) by ampere2.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 31FI6BwN054596; Wed, 15 Feb 2023 18:06:11 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by ampere2.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 31FI6Bxx054594; Wed, 15 Feb 2023 18:06:11 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 15 Feb 2023 18:06:11 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202302151806.31FI6Bxx054594@ampere2.nyi.freebsd.org> To: apache@FreeBSD.org Subject: [package - main-arm64-default][www/mod_cfg_ldap] Failed for ap24-mod_cfg_ldap-1.2_5 in build Cc: pkg-fallout@FreeBSD.org X-ThisMailContainsUnwantedMimeParts: N List-Id: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@freebsd.org 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/ampere2/data/main-arm64-default/p909032bc6729_s7e44856e3a/logs/ap24-mod_cfg_ldap-1.2_5.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p909032bc6729_s7e44856e3a Log: =>> Building www/mod_cfg_ldap build started at Wed Feb 15 18:05:59 UTC 2023 port directory: /usr/ports/www/mod_cfg_ldap package name: ap24-mod_cfg_ldap-1.2_5 building for: FreeBSD main-arm64-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 arm64 maintained by: apache@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400079 Job Id: 05 !!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400079 UNAME_v=FreeBSD 14.0-CURRENT 1400079 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-arm64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 #### /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: aarch64-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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400079 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) 1048576 stack size (kbytes, -s) 1048576 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-- =================================================== ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> 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.pkg [main-arm64-default-job-05] Installing pkg-1.19.1... [main-arm64-default-job-05] Extracting pkg-1.19.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 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ap24-mod_cfg_ldap-1.2_5 for building =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ap24-mod_cfg_ldap-1.2_5 =========================================================================== =================================================== ===> ap24-mod_cfg_ldap-1.2_5 depends on file: /usr/local/sbin/apxs - not found ===> Installing existing package /packages/All/apache24-2.4.55.pkg [main-arm64-default-job-05] Installing apache24-2.4.55... The db5 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: EOLd, potential security issues, maybe use db18 instead. It is scheduled to be removed on or after 2022-06-30. ===== Message from apr-1.7.0.1.6.1_2: -- 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.87: -- 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.55: -- 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 =========================================================================== =================================================== ===> 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.3.pkg [main-arm64-default-job-05] Installing openldap26-client-2.6.3... [main-arm64-default-job-05] `-- Installing cyrus-sasl-2.1.28... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [main-arm64-default-job-05] `-- Extracting cyrus-sasl-2.1.28: .......... done [main-arm64-default-job-05] Extracting openldap26-client-2.6.3: .......... 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.3: -- 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 =========================================================================== =================================================== ===> Configuring for ap24-mod_cfg_ldap-1.2_5 =========================================================================== =================================================== ===> 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/db5 -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