From nobody Tue Apr 18 17:38:45 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 4Q1B3n4QMTz45PGQ; Tue, 18 Apr 2023 17:38:45 +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 4Q1B3n2Lj7z4bRl; Tue, 18 Apr 2023 17:38:45 +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=1681839525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=BZFzgV2/ujTWRvwyWJCMx8ReqKIEizKtn4sZCT41AzM=; b=e32Ciho5SHGCmPqgwCd1kfNcwIdZVW9oKpVD2bl/dCwYGEzfmxYk1qB0kI7hid76DXhqj/ jIBkt7/MGilKxItPpi70+quKkVUxcd12Dk78dfZtHhHKfRhDdgPZ4n1VMW6kG11l39KUXk OCy3uFmOiD5XTRgMQ7CTBNorVAyNm5l9EEatkCaTA5x4pUvioWEDrV5gPR4kwY64/gosss d337BwrVnMpcHj0A8ywCQ01e/t+e+TdG0f7dBpu8t0/e9FGPNOlbdwCVwypXuQ4+34jeSz GlncQZN8ycB1RHsuFehp0KQFSHOnzrR8+CANH7OxtPovYNy05i8AZkDl+i8zZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681839525; a=rsa-sha256; cv=none; b=OpPKZjx4tdzP1lC5tbdOIpJwvaE3E/rv+2HHTW2mSa/O/KeCXQQI7HF5vaELj2k27WlbP2 bU+9OLEs56qpF5QF4VNaek2D0gAew8V8vKngQvCBPaoVHRsVWUdjXLZTOsvkWTDqO7/iHU BcxxOHuwTmirEYXoQFIdaFMF0Fj1bYA1S0u++GKNnUpy5slqDzS+35AN6jVP3sFrq+8hBJ qP6fOadJIXAXGlA9aNV85NPhcqijiV+bBo5W4mNdO2n3tXnoIDN1FQqPFu0BgcT9noaQzh XbCBD3vdy5PDNshByXl91rskuv985BclzENVIO1wQiOrRH4oT3AFhP/b//9mqw== 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 4Q1B3n1S4bzL2C; Tue, 18 Apr 2023 17:38:45 +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 33IHcjdv046268; Tue, 18 Apr 2023 17:38:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by ampere2.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 33IHcj1E046267; Tue, 18 Apr 2023 17:38:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 18 Apr 2023 17:38:45 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202304181738.33IHcj1E046267@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/p25decddf345c_sd1dfe419ac/logs/ap24-mod_cfg_ldap-1.2_5.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p25decddf345c_sd1dfe419ac Log: =>> Building www/mod_cfg_ldap build started at Tue Apr 18 17:38:32 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-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400086 arm64 maintained by: apache@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400086 Job Id: 03 !!! Jail is newer than host. (Jail: 1400086, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400086 UNAME_v=FreeBSD 14.0-CURRENT 1400086 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=1400086 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_1.pkg [main-arm64-default-job-03] Installing pkg-1.19.1_1... [main-arm64-default-job-03] 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 =========================================================================== =================================================== =========================================================================== =================================================== ===> 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.57.pkg [main-arm64-default-job-03] Installing apache24-2.4.57... [main-arm64-default-job-03] | | `-- Extracting libidn2-2.3.4: .......... done [main-arm64-default-job-03] | `-- Extracting libpsl-0.21.2_3: .......... done [main-arm64-default-job-03] | `-- Installing libssh2-1.10.0_1,3... [main-arm64-default-job-03] | `-- Extracting libssh2-1.10.0_1,3: .......... done [main-arm64-default-job-03] `-- Extracting curl-8.0.1: .......... done [main-arm64-default-job-03] `-- Installing jansson-2.14... [main-arm64-default-job-03] `-- Extracting jansson-2.14: .......... done [main-arm64-default-job-03] `-- Installing libxml2-2.10.3_2... [main-arm64-default-job-03] `-- Extracting libxml2-2.10.3_2: .......... done [main-arm64-default-job-03] `-- Installing pcre2-10.42... [main-arm64-default-job-03] `-- Extracting pcre2-10.42: .......... done [main-arm64-default-job-03] `-- Installing perl5-5.32.1_3... [main-arm64-default-job-03] `-- Extracting perl5-5.32.1_3: .......... done ===> Creating groups. Using existing group 'www'. ===> Creating users Using existing user 'www'. [main-arm64-default-job-03] Extracting apache24-2.4.57: .......... done ===== Message from apr-1.7.3.1.6.3_1: -- 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.57: -- 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.4.pkg [main-arm64-default-job-03] Installing openldap26-client-2.6.4... [main-arm64-default-job-03] `-- Installing cyrus-sasl-2.1.28... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [main-arm64-default-job-03] `-- Extracting cyrus-sasl-2.1.28: .......... done [main-arm64-default-job-03] 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 =========================================================================== =================================================== ===> 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/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