+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nss_ldap-266anb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nss_ldap-266anb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nss_ldap-266anb1
/bin/make  all-am
make[1]: Entering directory `/home/pbulk/build/databases/nss_ldap/work/nss_ldap-266a'
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-nss.o -MD -MP -MF .deps/ldap-nss.Tpo -c -o ldap-nss.o ldap-nss.c
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-pwd.o -MD -MP -MF .deps/ldap-pwd.Tpo -c -o ldap-pwd.o ldap-pwd.c
ldap-pwd.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
ldap-nss.c: In function 'do_open':
ldap-nss.c:1954:7: warning: variable 'timeout' set but not used [-Wunused-but-set-variable]
   int timeout;
       ^
ldap-nss.c: In function 'do_sleep':
ldap-nss.c:3022:19: warning: variable 'ts' set but not used [-Wunused-but-set-variable]
   struct timespec ts;
                   ^
ldap-nss.c: At top level:
ldap-nss.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-pwd.Tpo .deps/ldap-pwd.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-grp.o -MD -MP -MF .deps/ldap-grp.Tpo -c -o ldap-grp.o ldap-grp.c
ldap-grp.c: In function 'do_parse_initgroups_nested':
ldap-grp.c:912:15: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
    NSS_STATUS stat;
               ^
ldap-grp.c: In function 'ng_chase_backlink':
ldap-grp.c:1047:3: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration]
   if (asprintf(&filterEntryDN, "(%s=%%s)",
   ^
ldap-grp.c:1075:3: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default]
   free (filterEntryDN);
   ^
In file included from ldap-nss.h:27:0,
                 from ldap-grp.c:55:
/usr/include/malloc.h:75:13: note: expected 'void *' but argument is of type 'const char *'
 extern void free (void *__ptr) __THROW;
             ^
ldap-grp.c: At top level:
ldap-grp.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-grp.Tpo .deps/ldap-grp.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-netgrp.o -MD -MP -MF .deps/ldap-netgrp.Tpo -c -o ldap-netgrp.o ldap-netgrp.c
ldap-netgrp.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-netgrp.Tpo .deps/ldap-netgrp.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-rpc.o -MD -MP -MF .deps/ldap-rpc.Tpo -c -o ldap-rpc.o ldap-rpc.c
mv -f .deps/ldap-nss.Tpo .deps/ldap-nss.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-hosts.o -MD -MP -MF .deps/ldap-hosts.Tpo -c -o ldap-hosts.o ldap-hosts.c
ldap-rpc.c:30:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-rpc.Tpo .deps/ldap-rpc.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-network.o -MD -MP -MF .deps/ldap-network.Tpo -c -o ldap-network.o ldap-network.c
ldap-hosts.c:23:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-hosts.Tpo .deps/ldap-hosts.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-proto.o -MD -MP -MF .deps/ldap-proto.Tpo -c -o ldap-proto.o ldap-proto.c
ldap-network.c:25:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-network.Tpo .deps/ldap-network.Po
ldap-proto.c:30:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-spwd.o -MD -MP -MF .deps/ldap-spwd.Tpo -c -o ldap-spwd.o ldap-spwd.c
mv -f .deps/ldap-proto.Tpo .deps/ldap-proto.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-alias.o -MD -MP -MF .deps/ldap-alias.Tpo -c -o ldap-alias.o ldap-alias.c
ldap-spwd.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
ldap-alias.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-spwd.Tpo .deps/ldap-spwd.Po
mv -f .deps/ldap-alias.Tpo .deps/ldap-alias.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-service.o -MD -MP -MF .deps/ldap-service.Tpo -c -o ldap-service.o ldap-service.c
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-schema.o -MD -MP -MF .deps/ldap-schema.Tpo -c -o ldap-schema.o ldap-schema.c
ldap-service.c:30:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-service.Tpo .deps/ldap-service.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-ethers.o -MD -MP -MF .deps/ldap-ethers.Tpo -c -o ldap-ethers.o ldap-ethers.c
ldap-schema.c:23:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
ldap-ethers.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-ethers.Tpo .deps/ldap-ethers.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-bp.o -MD -MP -MF .deps/ldap-bp.Tpo -c -o ldap-bp.o ldap-bp.c
ldap-bp.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 96b8c080b069800a7babc49b1f59330c23d5afc9 $";
             ^
mv -f .deps/ldap-bp.Tpo .deps/ldap-bp.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-automount.o -MD -MP -MF .deps/ldap-automount.Tpo -c -o ldap-automount.o ldap-automount.c
ldap-automount.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 03a909d7a48ec369af6d78bf1610c1f9de606787 $";
             ^
mv -f .deps/ldap-automount.Tpo .deps/ldap-automount.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c:77:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 8c670e846dd9c3d2b62000fdfbea53485980c449 $";
             ^
mv -f .deps/util.Tpo .deps/util.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ltf.o -MD -MP -MF .deps/ltf.Tpo -c -o ltf.o ltf.c
ltf.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 8fc44568ee1b6f7aaac2380bf6f4e34301e9e23c $";
             ^
mv -f .deps/ltf.Tpo .deps/ltf.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT snprintf.o -MD -MP -MF .deps/snprintf.Tpo -c -o snprintf.o snprintf.c
snprintf.c:1:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: be64118cdf7e7a5ce044798582d02745e692a5fd $";
             ^
mv -f .deps/snprintf.Tpo .deps/snprintf.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT resolve.o -MD -MP -MF .deps/resolve.Tpo -c -o resolve.o resolve.c
mv -f .deps/ldap-schema.Tpo .deps/ldap-schema.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT dnsconfig.o -MD -MP -MF .deps/dnsconfig.Tpo -c -o dnsconfig.o dnsconfig.c
mv -f .deps/resolve.Tpo .deps/resolve.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT irs-nss.o -MD -MP -MF .deps/irs-nss.Tpo -c -o irs-nss.o irs-nss.c
dnsconfig.c:30:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
irs-nss.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 2e79e1e8727279c5150b31f2b03b1f55f5ec3600 $";
             ^
mv -f .deps/irs-nss.Tpo .deps/irs-nss.Po
mv -f .deps/dnsconfig.Tpo .deps/dnsconfig.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT pagectrl.o -MD -MP -MF .deps/pagectrl.Tpo -c -o pagectrl.o pagectrl.c
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-sldap.o -MD -MP -MF .deps/ldap-sldap.Tpo -c -o ldap-sldap.o ldap-sldap.c
pagectrl.c:23:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] = "$Id: 70b9672727d861a4bd330107d60df3851526ed14 $";
             ^
mv -f .deps/pagectrl.Tpo .deps/pagectrl.Po
ldap-sldap.c:24:13: warning: 'rcsId' defined but not used [-Wunused-variable]
 static char rcsId[] =
             ^
mv -f .deps/ldap-sldap.Tpo .deps/ldap-sldap.Po
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-krb5.o -MD -MP -MF .deps/ldap-krb5.Tpo -c -o ldap-krb5.o ldap-krb5.c
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT bsd-nss.o -MD -MP -MF .deps/bsd-nss.Tpo -c -o bsd-nss.o bsd-nss.c
mv -f .deps/bsd-nss.Tpo .deps/bsd-nss.Po
CVSVERSIONDIR=. ./vers_string -v
ldap-krb5.c:97:18: fatal error: krb5.h: No such file or directory
 #include <krb5.h>
                  ^
compilation terminated.
fatal: Not a git repository (or any of the parent directories): .git
cc -DHAVE_CONFIG_H -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -pipe -O2 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT vers.o -MD -MP -MF .deps/vers.Tpo -c -o vers.o vers.c
mv -f .deps/vers.Tpo .deps/vers.Po
make[1]: *** [ldap-krb5.o] Error 1
make[1]: Leaving directory `/home/pbulk/build/databases/nss_ldap/work/nss_ldap-266a'
make: *** [all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/nss_ldap
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/nss_ldap