+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/ossec-agent-2.9.3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/ossec-agent-2.9.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ossec-agent-2.9.3
    CC external/cJSON/cJSON.o
external/cJSON/cJSON.c: In function 'cJSON_strcasecmp':
external/cJSON/cJSON.c:41:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   41 |         if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
      |         ^~
external/cJSON/cJSON.c:41:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   41 |         if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
      |                                      ^~
external/cJSON/cJSON.c: In function 'print_object':
external/cJSON/cJSON.c:499:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  499 |                 if (fmt) *ptr++='\n';*ptr=0;
      |                 ^~
external/cJSON/cJSON.c:499:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  499 |                 if (fmt) *ptr++='\n';*ptr=0;
      |                                      ^
external/cJSON/cJSON.c: In function 'cJSON_DetachItemFromArray':
external/cJSON/cJSON.c:526:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  526 |         if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
      |         ^~
external/cJSON/cJSON.c:526:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  526 |         if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
      |                                            ^~
external/cJSON/cJSON.c: In function 'parse_string':
external/cJSON/cJSON.c:195:91: warning: this statement may fall through [-Wimplicit-fallthrough=]
  195 |                                                 case 4: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6;
      |                                                                                        ~~~^~~~~
external/cJSON/cJSON.c:196:49: note: here
  196 |                                                 case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6;
      |                                                 ^~~~
external/cJSON/cJSON.c:196:91: warning: this statement may fall through [-Wimplicit-fallthrough=]
  196 |                                                 case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6;
      |                                                                                        ~~~^~~~~
external/cJSON/cJSON.c:197:49: note: here
  197 |                                                 case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6;
      |                                                 ^~~~
external/cJSON/cJSON.c:197:91: warning: this statement may fall through [-Wimplicit-fallthrough=]
  197 |                                                 case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6;
      |                                                                                        ~~~^~~~~
external/cJSON/cJSON.c:198:49: note: here
  198 |                                                 case 1: *--ptr2 =(uc | firstByteMark[len]);
      |                                                 ^~~~
    LINK libcJSON.a
    RANLIB libcJSON.a
    CC client-agent/agentd.o
    CC client-agent/config.o
    CC client-agent/event-forward.o
    CC client-agent/intcheck_op.o
    CC client-agent/main.o
    CC client-agent/notify.o
    CC client-agent/receiver-win.o
    CC client-agent/receiver.o
    CC client-agent/sendmsg.o
    CC client-agent/start_agent.o
    CC os_crypto/blowfish/bf_op.o
    CC os_crypto/blowfish/bf_skey.o
    CC os_crypto/blowfish/bf_enc.o
In file included from os_crypto/blowfish/bf_enc.c:59:
os_crypto/blowfish/bf_enc.c: In function 'BF_cbc_encrypt':
os_crypto/blowfish/bf_locl.h:121:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  121 |             case 8: l2 =((unsigned long)(*(--(c))))    ; \
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:122:13: note: here
  122 |             case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:122:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  122 |             case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
      |                       ^~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:123:13: note: here
  123 |             case 6: l2|=((unsigned long)(*(--(c))))<<16; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:123:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  123 |             case 6: l2|=((unsigned long)(*(--(c))))<<16; \
      |                       ^~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:124:13: note: here
  124 |             case 5: l2|=((unsigned long)(*(--(c))))<<24; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:124:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  124 |             case 5: l2|=((unsigned long)(*(--(c))))<<24; \
      |                       ^~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:125:13: note: here
  125 |             case 4: l1 =((unsigned long)(*(--(c))))    ; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:125:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  125 |             case 4: l1 =((unsigned long)(*(--(c))))    ; \
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:126:13: note: here
  126 |             case 3: l1|=((unsigned long)(*(--(c))))<< 8; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:126:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  126 |             case 3: l1|=((unsigned long)(*(--(c))))<< 8; \
      |                       ^~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:127:13: note: here
  127 |             case 2: l1|=((unsigned long)(*(--(c))))<<16; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:127:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  127 |             case 2: l1|=((unsigned long)(*(--(c))))<<16; \
      |                       ^~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:128:13: note: here
  128 |             case 1: l1|=((unsigned long)(*(--(c))))<<24; \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:250:13: note: in expansion of macro 'n2ln'
  250 |             n2ln(in, tin0, tin1, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:136:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  136 |             case 8: *(--(c))=(unsigned char)(((l2)    )&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:137:13: note: here
  137 |             case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:137:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  137 |             case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:138:13: note: here
  138 |             case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:138:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  138 |             case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:139:13: note: here
  139 |             case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:139:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  139 |             case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:140:13: note: here
  140 |             case 4: *(--(c))=(unsigned char)(((l1)    )&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:140:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  140 |             case 4: *(--(c))=(unsigned char)(((l1)    )&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:141:13: note: here
  141 |             case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:141:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  141 |             case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:142:13: note: here
  142 |             case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:142:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
  142 |             case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
os_crypto/blowfish/bf_locl.h:143:13: note: here
  143 |             case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \
      |             ^~~~
os_crypto/blowfish/bf_enc.c:288:13: note: in expansion of macro 'l2nn'
  288 |             l2nn(tout0, tout1, out, l + 8);
      |             ^~~~
    CC os_crypto/md5/md5.o
    CC os_crypto/md5/md5_op.o
    CC os_crypto/sha1/sha1_op.o
In file included from os_crypto/sha1/sha_locl.h:144,
                 from os_crypto/sha1/sha1_op.c:25:
os_crypto/sha1/md32_common.h: In function 'SHA1_Update':
os_crypto/sha1/md32_common.h:320:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  320 |             case 0: l =((unsigned long)(*((c)++)))<<24;    \
      |                       ^
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:13: note: here
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |                      ^~
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:13: note: here
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |                      ^~
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:323:13: note: here
  323 |             case 3: l|=((unsigned long)(*((c)++)));        \
      |             ^~~~
os_crypto/sha1/md32_common.h:430:13: note: in expansion of macro 'HOST_p_c2l'
  430 |             HOST_p_c2l(data, l, sc);
      |             ^~~~~~~~~~
os_crypto/sha1/md32_common.h:328:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  328 |                 if (--len == 0) break;            \
      |                    ^
os_crypto/sha1/md32_common.h:444:17: note: in expansion of macro 'HOST_p_c2l_p'
  444 |                 HOST_p_c2l_p(data, l, sc, len);
      |                 ^~~~~~~~~~~~
os_crypto/sha1/md32_common.h:329:13: note: here
  329 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:444:17: note: in expansion of macro 'HOST_p_c2l_p'
  444 |                 HOST_p_c2l_p(data, l, sc, len);
      |                 ^~~~~~~~~~~~
os_crypto/sha1/md32_common.h:330:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  330 |                 if (--len == 0) break;            \
      |                    ^
os_crypto/sha1/md32_common.h:444:17: note: in expansion of macro 'HOST_p_c2l_p'
  444 |                 HOST_p_c2l_p(data, l, sc, len);
      |                 ^~~~~~~~~~~~
os_crypto/sha1/md32_common.h:331:13: note: here
  331 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:444:17: note: in expansion of macro 'HOST_p_c2l_p'
  444 |                 HOST_p_c2l_p(data, l, sc, len);
      |                 ^~~~~~~~~~~~
os_crypto/sha1/md32_common.h:320:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  320 |             case 0: l =((unsigned long)(*((c)++)))<<24;    \
      |                       ^
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:13: note: here
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |                      ^~
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:13: note: here
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |                      ^~
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:323:13: note: here
  323 |             case 3: l|=((unsigned long)(*((c)++)));        \
      |             ^~~~
os_crypto/sha1/md32_common.h:452:17: note: in expansion of macro 'HOST_p_c2l'
  452 |                 HOST_p_c2l(data, l, sc);
      |                 ^~~~~~~~~~
os_crypto/sha1/md32_common.h:337:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  337 |             case 3: l =((unsigned long)(*(--(c))))<< 8;    \
      |                       ^
os_crypto/sha1/md32_common.h:459:21: note: in expansion of macro 'HOST_c2l_p'
  459 |                     HOST_c2l_p(data, l, ec);
      |                     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:338:13: note: here
  338 |             case 2: l|=((unsigned long)(*(--(c))))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:459:21: note: in expansion of macro 'HOST_c2l_p'
  459 |                     HOST_c2l_p(data, l, ec);
      |                     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:338:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  338 |             case 2: l|=((unsigned long)(*(--(c))))<<16;    \
      |                      ^~
os_crypto/sha1/md32_common.h:459:21: note: in expansion of macro 'HOST_c2l_p'
  459 |                     HOST_c2l_p(data, l, ec);
      |                     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:339:13: note: here
  339 |             case 1: l|=((unsigned long)(*(--(c))))<<24;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:459:21: note: in expansion of macro 'HOST_c2l_p'
  459 |                     HOST_c2l_p(data, l, ec);
      |                     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:337:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  337 |             case 3: l =((unsigned long)(*(--(c))))<< 8;    \
      |                       ^
os_crypto/sha1/md32_common.h:509:9: note: in expansion of macro 'HOST_c2l_p'
  509 |         HOST_c2l_p(data, l, ec);
      |         ^~~~~~~~~~
os_crypto/sha1/md32_common.h:338:13: note: here
  338 |             case 2: l|=((unsigned long)(*(--(c))))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:509:9: note: in expansion of macro 'HOST_c2l_p'
  509 |         HOST_c2l_p(data, l, ec);
      |         ^~~~~~~~~~
os_crypto/sha1/md32_common.h:338:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  338 |             case 2: l|=((unsigned long)(*(--(c))))<<16;    \
      |                      ^~
os_crypto/sha1/md32_common.h:509:9: note: in expansion of macro 'HOST_c2l_p'
  509 |         HOST_c2l_p(data, l, ec);
      |         ^~~~~~~~~~
os_crypto/sha1/md32_common.h:339:13: note: here
  339 |             case 1: l|=((unsigned long)(*(--(c))))<<24;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:509:9: note: in expansion of macro 'HOST_c2l_p'
  509 |         HOST_c2l_p(data, l, ec);
      |         ^~~~~~~~~~
os_crypto/sha1/md32_common.h: In function 'SHA1_Final':
os_crypto/sha1/md32_common.h:320:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  320 |             case 0: l =((unsigned long)(*((c)++)))<<24;    \
      |                       ^
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:13: note: here
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:321:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  321 |             case 1: l|=((unsigned long)(*((c)++)))<<16;    \
      |                      ^~
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:13: note: here
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |             ^~~~
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:322:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  322 |             case 2: l|=((unsigned long)(*((c)++)))<< 8;    \
      |                      ^~
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
os_crypto/sha1/md32_common.h:323:13: note: here
  323 |             case 3: l|=((unsigned long)(*((c)++)));        \
      |             ^~~~
os_crypto/sha1/md32_common.h:569:5: note: in expansion of macro 'HOST_p_c2l'
  569 |     HOST_p_c2l(cp, l, j);
      |     ^~~~~~~~~~
    CC os_zlib/os_zlib.o
In file included from os_zlib/os_zlib.c:12:
os_zlib/../external/zlib-1.2.8/zlib.h:1349:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Z_ARG'
 1349 | ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...));
      |                                ^~~~~
os_zlib/../external/zlib-1.2.8/zlib.h:1758:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Z_ARG'
 1758 | ZEXTERN int            ZEXPORTVA gzvprintf Z_ARG((gzFile file,
      |                                            ^~~~~
gmake: *** [Makefile:638: os_zlib/os_zlib.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent