=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for openldap-cloak-2.4.46 --- ldap_config.h --- Making ldap_config.h --- cloak.lo --- ../../../libtool --mode=compile clang -O2 -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC -I../../../include -I../../../include -I../../../servers/slapd -c cloak.c libtool: compile: clang -O2 -DLDAP_DEPRECATED -I/var/pkgsrc/work/databases/openldap-cloak/work/.buildlink/include -I/var/pkgsrc/work/databases/openldap-cloak/work/.buildlink/include/db4 -DLDAP_DEPRECATED -DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC -I../../../include -I../../../servers/slapd -c cloak.c -fPIC -DPIC -o .libs/cloak.o cloak.c:93:10: warning: expression result unused [-Wunused-value] ci_next, c->valx < 0 || i < c->valx; ^~~~~~~ cloak.c:131:5: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:175:61: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:131:5: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:177:64: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:142:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:175:61: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:142:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:177:64: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:148:21: warning: expression result unused [-Wunused-value] c->valx < 0 || i < c->valx, *cip; ~~~~~~~~~~~ ^ ~~~~~~~~~~~ cloak.c:155:5: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:175:61: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:155:5: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s: %s.\n", ^ ~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:177:64: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:237:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_TRACE, "cloak_search_response_cb: cloak %s\n", ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:175:53: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:237:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_TRACE, "cloak_search_response_cb: cloak %s\n", ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/ldap_log.h:194:2: note: expanded from macro 'Debug' Log3( (level), ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ) ^ ~~~ ../../../include/ldap_log.h:177:56: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ cloak.c:246:4: warning: implicit declaration of function 'attr_clean' is invalid in C99 [-Wimplicit-function-declaration] attr_clean( a ); ^ 11 warnings generated. libtool: compile: clang -O2 -DLDAP_DEPRECATED -I/var/pkgsrc/work/databases/openldap-cloak/work/.buildlink/include -I/var/pkgsrc/work/databases/openldap-cloak/work/.buildlink/include/db4 -DLDAP_DEPRECATED -DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC -I../../../include -I../../../servers/slapd -c cloak.c -o cloak.o >/dev/null 2>&1 --- cloak.la --- ../../../libtool --mode=link clang -O2 -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/pkg/include/db4 -version-info 0:0:0 -rpath /usr/pkg/lib/openldap -module -o cloak.la cloak.lo -lldap_r -llber libtool: link: clang -shared -fPIC -DPIC .libs/cloak.o -lldap_r -llber -O2 -Wl,-soname -Wl,cloak.so.0 -o .libs/cloak.so.0.0.0 /usr/bin/ld: cannot find -lldap_r clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [cloak.la] Error code 1 bmake: stopped in /var/pkgsrc/work/databases/openldap-cloak/work/openldap-2.4.46/contrib/slapd-modules/cloak 1 error bmake: stopped in /var/pkgsrc/work/databases/openldap-cloak/work/openldap-2.4.46/contrib/slapd-modules/cloak *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/openldap-cloak *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/openldap-cloak