+ 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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' {aka 'unsigned char'} [-Wattributes] u_int8_t dsap __attribute__ ((packed)); ^~~~~~~~ cdpd.c:35:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t ssap __attribute__ ((packed)); ^~~~~~~~ cdpd.c:37:2: warning: 'packed' attribute ignored for field of type 'u_int8_t' {aka 'unsigned char'} [-Wattributes] u_int8_t control __attribute__ ((packed)); ^~~~~~~~ cdpd.c:38:2: warning: 'packed' attribute ignored for field of type 'u_int8_t[3]' {aka 'unsigned char[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 'struct ether_addr' memcpy(buffer+6,myether->ether_addr_octet,6); ^~ cdpd.c: In function 'cdp_add_software_version': cdpd.c:201:13: 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: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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:39: 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: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ cdpd.c:205:35: 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: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ cdpd.c:207:16: 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: /usr/include/string.h:385: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:404:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(mysysname,sizeof(mysysname),"%s %s %s", ^~~~~~~~~ In file included from /usr/include/features.h:438, from /usr/include/sys/types.h:25, from cdpd.c:5: /usr/include/bits/stdio2.h:65:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ cdpd.c:408:3: 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-el8-trunk-x86_64/net/cdpd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/cdpd