+ 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/cdpd-1.0.2nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cdpd-1.0.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for cdpd-1.0.2nb1
--- cdpd.o ---
--- daemon.o ---
--- cdpd.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libnet10 -g -Wall -I/usr/pkg/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DLIBNET_LIL_ENDIAN -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libnet10 -DHAVE_CONFIG_H -I. -c cdpd.c
--- daemon.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libnet10 -g -Wall -I/usr/pkg/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DLIBNET_LIL_ENDIAN -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libnet10 -DHAVE_CONFIG_H -I. -c daemon.c
--- cdpd.o ---
cdpd.c:30:2: warning: 'packed' attribute ignored for field of type 'unsigned char[6]' [-Wattributes]
  unsigned char dst_addr[6] __attribute__ ((packed));
  ^
cdpd.c:31:2: warning: 'packed' attribute ignored for field of type 'unsigned char[6]' [-Wattributes]
  unsigned char src_addr[6] __attribute__ ((packed));
  ^
cdpd.c:34:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' [-Wattributes]
  u_int8_t dsap __attribute__ ((packed));
  ^
cdpd.c:35:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' [-Wattributes]
  u_int8_t ssap __attribute__ ((packed));
  ^
cdpd.c:37:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' [-Wattributes]
  u_int8_t control __attribute__ ((packed));
  ^
cdpd.c:38:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[3]' [-Wattributes]
  u_int8_t orgcode[3] __attribute__ ((packed));
  ^
cdpd.c: In function 'cdp_buffer_init':
cdpd.c:122:25: error: dereferencing pointer to incomplete type
  memcpy(buffer+6,myether->ether_addr_octet,6);
                         ^
cdpd.c: In function 'cdp_add_software_version':
cdpd.c:201:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  if((strlen(mysysname)+4)>len) return 0;
  ^
In file included from cdpd.c:14:0:
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
cdpd.c:204:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  sx_write_short(buffer+2,htons(strlen(mysysname)+4)); /* totallength*/
  ^
In file included from cdpd.c:14:0:
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
cdpd.c:205:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  memcpy(buffer+4,mysysname,strlen(mysysname));
  ^
In file included from cdpd.c:14:0:
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
cdpd.c:207:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  return strlen(mysysname)+4;
  ^
In file included from cdpd.c:14:0:
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
cdpd.c: In function 'main':
cdpd.c:405:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
   myuname.sysname, myuname.release, myuname.version);
   ^
In file included from /usr/include/features.h:375:0,
                 from /usr/include/sys/types.h:25,
                 from cdpd.c:5:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
cdpd.c:427:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    ((struct cdp_header*)buffer)->length=htons(offset-14);
             ^
cdpd.c:408:9: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result]
   daemon(0,0);
         ^
*** [cdpd.o] Error code 1

bmake: stopped in /home/pbulk/build/net/cdpd/work/cdpd-1.0.2
1 error

bmake: stopped in /home/pbulk/build/net/cdpd/work/cdpd-1.0.2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/cdpd