+ 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 -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 -I/usr/pkg/include/libnet10 -DHAVE_CONFIG_H -I. -c cdpd.c
--- daemon.o ---
cc -pipe -O2 -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 -I/usr/pkg/include/libnet10 -DHAVE_CONFIG_H -I. -c daemon.c
--- cdpd.o ---
In file included from /usr/include/sys/types.h:25,
                 from cdpd.c:5:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
cdpd.c:30:9: warning: 'packed' attribute ignored for field of type 'unsigned char[6]' [-Wattributes]
   30 |         unsigned char dst_addr[6] __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c:31:9: warning: 'packed' attribute ignored for field of type 'unsigned char[6]' [-Wattributes]
   31 |         unsigned char src_addr[6] __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c:34:9: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes]
   34 |         u_int8_t dsap __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c:35:9: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes]
   35 |         u_int8_t ssap __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c:37:9: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes]
   37 |         u_int8_t control __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c:38:9: warning: 'packed' attribute ignored for field of type 'u_int8_t[3]' {aka 'unsigned char[3]'} [-Wattributes]
   38 |         u_int8_t orgcode[3] __attribute__ ((packed));
      |         ^~~~~~~~
cdpd.c: In function 'cdp_buffer_init':
cdpd.c:122:32: error: invalid use of undefined type 'struct ether_addr'
  122 |         memcpy(buffer+6,myether->ether_addr_octet,6);
      |                                ^~
cdpd.c: In function 'cdp_add_software_version':
cdpd.c:201:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  201 |         if((strlen(mysysname)+4)>len) return 0;
      |                    ^~~~~~~~~
      |                    |
      |                    unsigned char *
In file included from cdpd.c:14:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
In file included from /home/pbulk/build/net/cdpd/work/.buildlink/include/libnet10/libnet.h:49,
                 from cdpd.c:20:
cdpd.c:204:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  204 |         sx_write_short(buffer+2,htons(strlen(mysysname)+4)); /* totallength*/
      |                                              ^~~~~~~~~
      |                                              |
      |                                              unsigned char *
In file included from cdpd.c:14:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
cdpd.c:205:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  205 |         memcpy(buffer+4,mysysname,strlen(mysysname));
      |                                          ^~~~~~~~~
      |                                          |
      |                                          unsigned char *
In file included from cdpd.c:14:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
cdpd.c:207:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  207 |         return strlen(mysysname)+4;
      |                       ^~~~~~~~~
      |                       |
      |                       unsigned char *
In file included from cdpd.c:14:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
cdpd.c: In function 'main':
cdpd.c:404:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
  404 |         snprintf(mysysname,sizeof(mysysname),"%s %s %s",
      |                  ^~~~~~~~~
      |                  |
      |                  unsigned char *
In file included from /usr/include/features.h:490,
                 from /usr/include/sys/types.h:25,
                 from cdpd.c:5:
/usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   51 | __NTH (snprintf (char *__restrict __s, size_t __n,
      | ^~~~~
cdpd.c:408:17: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result]
  408 |                 daemon(0,0);
      |                 ^~~~~~~~~~~
*** [cdpd.o] Error code 1

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

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

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/cdpd