+ 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/libotr-4.1.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libotr-4.1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libotr-4.1.1
--- config.h ---
--- all ---
/usr/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in src
--- privkey.lo ---
--- context.lo ---
--- privkey.lo ---
  CC       privkey.lo
--- context.lo ---
  CC       context.lo
--- proto.lo ---
  CC       proto.lo
--- b64.lo ---
  CC       b64.lo
--- dh.lo ---
  CC       dh.lo
--- mem.lo ---
  CC       mem.lo
--- message.lo ---
  CC       message.lo
--- userstate.lo ---
  CC       userstate.lo
--- tlv.lo ---
  CC       tlv.lo
--- auth.lo ---
  CC       auth.lo
--- sm.lo ---
  CC       sm.lo
--- context_priv.lo ---
  CC       context_priv.lo
--- instag.lo ---
  CC       instag.lo
--- libotr.la ---
  CCLD     libotr.la
Making all in toolkit
--- otr_parse.o ---
--- readotr.o ---
--- otr_parse.o ---
  CC       otr_parse.o
--- readotr.o ---
  CC       readotr.o
--- parse.o ---
  CC       parse.o
--- sha1hmac.o ---
  CC       sha1hmac.o
--- otr_sesskeys.o ---
  CC       otr_sesskeys.o
--- sesskeys.o ---
  CC       sesskeys.o
--- otr_mackey.o ---
  CC       otr_mackey.o
--- otr_readforge.o ---
  CC       otr_readforge.o
--- aes.o ---
  CC       aes.o
--- ctrmode.o ---
  CC       ctrmode.o
--- otr_modify.o ---
  CC       otr_modify.o
--- otr_remac.o ---
  CC       otr_remac.o
--- otr_parse ---
  CCLD     otr_parse
--- otr_sesskeys ---
  CCLD     otr_sesskeys
--- otr_mackey ---
  CCLD     otr_mackey
--- otr_modify ---
  CCLD     otr_modify
--- otr_remac ---
  CCLD     otr_remac
--- otr_readforge ---
  CCLD     otr_readforge
Making all in tests
--- all-recursive ---
Making all in utils
--- all-recursive ---
Making all in tap
--- tap.lo ---
  CC       tap.lo
--- libtap.la ---
  CCLD     libtap.la
Making all in unit
--- test_auth.o ---
--- test_proto.o ---
--- test_auth.o ---
  CC       test_auth.o
--- test_proto.o ---
  CC       test_proto.o
--- test_auth.o ---
In file included from ../../src/auth.h:24:0,
                 from test_auth.c:18:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_auth.c:27:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_proto.o ---
In file included from ../../src/context_priv.h:24:0,
                 from ../../src/context.h:25,
                 from ../../src/proto.h:24,
                 from test_proto.c:21:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_proto.c:25:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_dh.o ---
  CC       test_dh.o
--- test_b64.o ---
  CC       test_b64.o
--- test_dh.o ---
In file included from test_dh.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_dh.c:27:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_b64.o ---
In file included from ../../src/context_priv.h:24:0,
                 from ../../src/context.h:25,
                 from ../../src/proto.h:24,
                 from test_b64.c:25:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_b64.c:27:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_context.o ---
  CC       test_context.o
--- test_userstate.o ---
  CC       test_userstate.o
In file included from test_userstate.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_userstate.c:26:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_tlv.o ---
  CC       test_tlv.o
--- test_mem.o ---
  CC       test_mem.o
--- test_tlv.o ---
In file included from test_tlv.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_tlv.c:26:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_mem.o ---
In file included from test_mem.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_mem.c:26:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_sm.o ---
  CC       test_sm.o
--- test_instag.o ---
  CC       test_instag.o
--- test_sm.o ---
In file included from test_sm.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_sm.c:27:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_instag.o ---
In file included from test_instag.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_instag.c:30:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_privkey.o ---
  CC       test_privkey.o
--- test_auth ---
  CCLD     test_auth
--- test_privkey.o ---
In file included from test_privkey.c:18:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
test_privkey.c:27:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
--- test_proto ---
  CCLD     test_proto
--- test_b64 ---
  CCLD     test_b64
--- test_dh ---
  CCLD     test_dh
--- test_context ---
  CCLD     test_context
--- test_userstate ---
  CCLD     test_userstate
--- test_mem ---
  CCLD     test_mem
--- test_tlv ---
  CCLD     test_tlv
--- test_sm ---
  CCLD     test_sm
--- test_instag ---
  CCLD     test_instag
--- test_privkey ---
  CCLD     test_privkey
Making all in regression
--- all-recursive ---
Making all in client
--- client.o ---
  CC       client.o
In file included from client.c:21:0:
/home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:217:17: warning: 'gcry_thread_cbs' is deprecated (declared at /home/pbulk/build/chat/libotr/work/.buildlink/include/gcrypt.h:203) [-Wdeprecated-declarations]
   static struct gcry_thread_cbs gcry_threads_pthread = {                \
                 ^
client.c:42:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
 GCRY_THREAD_OPTION_PTHREAD_IMPL;
 ^
client.c: In function 'alice_thread':
client.c:624:23: error: 'PF_UNIX' undeclared (first use in this function)
  sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0);
                       ^
client.c:624:23: note: each undeclared identifier is reported only once for each function it appears in
client.c:624:32: error: 'SOCK_STREAM' undeclared (first use in this function)
  sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0);
                                ^
client.c: In function 'bob_thread':
client.c:776:25: error: 'PF_UNIX' undeclared (first use in this function)
  sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0);
                         ^
client.c:776:34: error: 'SOCK_STREAM' undeclared (first use in this function)
  sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0);
                                  ^
client.c: In function 'create_unix_socket':
client.c:979:21: error: 'PF_UNIX' undeclared (first use in this function)
  if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) {
                     ^
client.c:979:30: error: 'SOCK_STREAM' undeclared (first use in this function)
  if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) {
                              ^
client.c:986:20: error: 'AF_UNIX' undeclared (first use in this function)
  sun->sun_family = AF_UNIX;
                    ^
*** [client.o] Error code 1

bmake[4]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests/regression/client
1 error

bmake[4]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests/regression/client
*** [all-recursive] Error code 1

bmake[3]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests/regression
1 error

bmake[3]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests/regression
*** [all-recursive] Error code 1

bmake[2]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests
1 error

bmake[2]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1/tests
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1
1 error

bmake[1]: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1
1 error

bmake: stopped in /home/pbulk/build/chat/libotr/work/libotr-4.1.1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/libotr