=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for openldap-smbk5pwd-2.4.45 --- ldap_config.h --- Making ldap_config.h --- smbk5pwd.lo --- ../../../libtool --mode=compile clang -O2 -I/usr/pkg/include/db4 -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED -DDO_SAMBA -DDO_KRB5 -I/usr/pkg/include/db4 -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED -I../../../include -I../../../include -I../../../servers/slapd -c smbk5pwd.c libtool: compile: clang -O2 -I/data/scratch/databases/openldap-smbk5pwd/work/.buildlink/include/db4 -I/usr/include/krb5 -DLDAP_DEPRECATED -DDO_SAMBA -DDO_KRB5 -DLDAP_DEPRECATED -I../../../include -I../../../servers/slapd -c smbk5pwd.c -fPIC -DPIC -o .libs/smbk5pwd.o smbk5pwd.c:461:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s smbk5pwd EXOP: " ^ ~~~~~~~~~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:461:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "%s smbk5pwd EXOP: " ^ ~~~~~~~~~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:467:45: error: too few arguments to function call, expected 7, have 5 qpw->rs_new.bv_val, &ent.keys.val, &nkeys); ^ /usr/include/krb5/hdb-protos.h:335:1: note: 'hdb_generate_key_set_password' declared here krb5_error_code ^ smbk5pwd.c:978:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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:45: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ smbk5pwd.c:978:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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:48: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ smbk5pwd.c:1002:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:1002:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:1009:9: warning: implicit declaration of function 'kadm5_s_init_with_password_ctx' is invalid in C99 [-Wimplicit-function-declaration] ret = kadm5_s_init_with_password_ctx( context, ^ smbk5pwd.c:1016:14: warning: 'krb5_get_error_string' is deprecated: Use krb5_get_error_message instead [-Wdeprecated-declarations] err_str = krb5_get_error_string( context ); ^ /usr/include/krb5/krb5-protos.h:4189:6: note: 'krb5_get_error_string' has been explicitly marked deprecated here KRB5_DEPRECATED_FUNCTION("Use krb5_get_error_message instead"); ^ /usr/include/krb5/krb5-protos.h:18:52: note: expanded from macro 'KRB5_DEPRECATED_FUNCTION' #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x))) ^ smbk5pwd.c:1018:23: warning: 'krb5_get_err_text' is deprecated: Use krb5_get_error_message instead [-Wdeprecated-declarations] err_msg = (char *)krb5_get_err_text( context, ret ); ^ /usr/include/krb5/krb5-protos.h:4155:6: note: 'krb5_get_err_text' has been explicitly marked deprecated here KRB5_DEPRECATED_FUNCTION("Use krb5_get_error_message instead"); ^ /usr/include/krb5/krb5-protos.h:18:52: note: expanded from macro 'KRB5_DEPRECATED_FUNCTION' #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x))) ^ smbk5pwd.c:1019:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:1019:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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) ); \ ~~~ ^ smbk5pwd.c:1023:5: warning: 'krb5_free_error_string' is deprecated: Use X instead [-Wdeprecated-declarations] krb5_free_error_string( context, err_str ); ^ /usr/include/krb5/krb5-protos.h:3724:6: note: 'krb5_free_error_string' has been explicitly marked deprecated here KRB5_DEPRECATED_FUNCTION("Use X instead"); ^ /usr/include/krb5/krb5-protos.h:18:52: note: expanded from macro 'KRB5_DEPRECATED_FUNCTION' #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x))) ^ smbk5pwd.c:1039:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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:45: note: expanded from macro 'Log3' lutil_debug( ldap_debug, (level), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ smbk5pwd.c:1039:4: warning: data argument not used by format string [-Wformat-extra-args] Debug( LDAP_DEBUG_ANY, "smbk5pwd: " ^ ~~~~~~~~~~~~ ../../../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:48: note: expanded from macro 'Log3' syslog( LDAP_LEVEL_MASK((severity)), (fmt), (arg1), (arg2), (arg3) ); \ ~~~ ^ 14 warnings and 1 error generated. *** [smbk5pwd.lo] Error code 1 make: stopped in /data/scratch/databases/openldap-smbk5pwd/work/openldap-2.4.45/contrib/slapd-modules/smbk5pwd 1 error make: stopped in /data/scratch/databases/openldap-smbk5pwd/work/openldap-2.4.45/contrib/slapd-modules/smbk5pwd *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/databases/openldap-smbk5pwd *** Error code 1 Stop. make: stopped in /data/pkgsrc/databases/openldap-smbk5pwd