Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2022 15:21:26 +0000 (GMT)
From:      jenkins-admin@FreeBSD.org
To:        melifaro@FreeBSD.org, dev-ci@FreeBSD.org
Cc:        jenkins-admin@FreeBSD.org
Subject:   FreeBSD-main-amd64-build - Build #25727 - Failure
Message-ID:  <1569136903.6379.1671808887264@jenkins.ci.freebsd.org>

next in thread | raw e-mail | index | archive | help
------=_Part_6378_1774141670.1671808886806
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

FreeBSD-main-amd64-build - Build #25727 (f2c8381fce9b87695ea448591e4412cbed38aa77) - Failure

Build information: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-build/25727/
Full change log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-build/25727/changes
Full build log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-build/25727/console

Status explanation:
"Failure" - the build is suspected being broken by the following changes
"Still Failing" - the build has not been fixed by the following changes and
                  this is a notification to note that these changes have
                  not been fully tested by the CI system

Change summaries:
(Those commits are likely but not certainly responsible)

f2c8381fce9b87695ea448591e4412cbed38aa77 by melifaro:
netlink: add snl(3) - simple netlink library



The end of the build log:

[...truncated 4.40 MB...]
--- netipsec_key.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netipsec_key.o -MTnetipsec_key.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netipsec_key.c -o netipsec_key.o
--- netipsec_ipsec_support.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netipsec_ipsec_support.o -MTnetipsec_ipsec_support.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netipsec_ipsec_support.c -o netipsec_ipsec_support.o
--- netinet6_udp6_var.o ---
--- netinet6_tcp6_var.o ---
--- netinet6_sctp6_var.o ---
--- netinet6_udp6_var.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netinet6_udp6_var.o -MTnetinet6_udp6_var.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netinet6_udp6_var.c -o netinet6_udp6_var.o
--- netinet6_tcp6_var.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netinet6_tcp6_var.o -MTnetinet6_tcp6_var.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netinet6_tcp6_var.c -o netinet6_tcp6_var.o
--- netinet6_scope6_var.o ---
--- netinet6_in6_pcb.o ---
--- netinet6_sctp6_var.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netinet6_sctp6_var.o -MTnetinet6_sctp6_var.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netinet6_sctp6_var.c -o netinet6_sctp6_var.o
--- netinet6_scope6_var.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netinet6_scope6_var.o -MTnetinet6_scope6_var.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netinet6_scope6_var.c -o netinet6_scope6_var.o
--- netinet6_in6_pcb.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -g -gz=zlib -MD  -MF.depend.netinet6_in6_pcb.o -MTnetinet6_in6_pcb.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -Qunused-arguments    -c netinet6_in6_pcb.c -o netinet6_in6_pcb.o
--- netlink_netlink_snl_route.o ---
In file included from netlink_netlink_snl_route.c:1:
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:39:22: error: declaration of 'struct snl_state' will not be visible outside of this function [-Werror,-Wvisibility]
parse_rta_ip4(struct snl_state *ss, void *rta_data, int *perror)
                     ^
--- netlink_netlink_snl.o ---
In file included from netlink_netlink_snl.c:1:
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:77:8: error: implicit declaration of function 'roundup2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        len = roundup2(len, sizeof(uint64_t));
              ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:43:30: error: implicit declaration of function 'snl_allocz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        sin = (struct sockaddr_in *)snl_alloc_sockaddr(ss, sizeof(struct sockaddr_in));
                                    ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:36:61: note: expanded from macro 'snl_alloc_sockaddr'
#define snl_alloc_sockaddr(_ss, _len)  ((struct sockaddr *)(snl_allocz(_ss, _len)))
                                                            ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:43:30: error: cast to 'struct sockaddr *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
        sin = (struct sockaddr_in *)snl_alloc_sockaddr(ss, sizeof(struct sockaddr_in));
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:36:41: note: expanded from macro 'snl_alloc_sockaddr'
#define snl_alloc_sockaddr(_ss, _len)  ((struct sockaddr *)(snl_allocz(_ss, _len)))
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:111:60: error: declaration of 'struct nlattr' will not be visible outside of this function [-Werror,-Wvisibility]
typedef bool snl_parse_attr_f(struct snl_state *ss, struct nlattr *attr,
                                                           ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:44:13: error: use of undeclared identifier 'NULL'
        if (sin == NULL) {
                   ^
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:161:11: error: implicit declaration of function 'socket' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ss->fd = socket(AF_NETLINK, SOCK_RAW, netlink_family);
                 ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:45:13: error: use of undeclared identifier 'ENOBUFS'
                *perror = ENOBUFS;
                          ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:46:11: error: use of undeclared identifier 'NULL'
                return (NULL);
                        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:49:20: error: use of undeclared identifier 'AF_INET'
        sin->sin_family = AF_INET;
                          ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:50:2: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
        memcpy(&sin->sin_addr, rta_data, sizeof(struct in_addr));
        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:50:2: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:161:18: error: use of undeclared identifier 'AF_NETLINK'
        ss->fd = socket(AF_NETLINK, SOCK_RAW, netlink_family);
                        ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:55:22: error: declaration of 'struct snl_state' will not be visible outside of this function [-Werror,-Wvisibility]
parse_rta_ip6(struct snl_state *ss, void *rta_data, int *perror)
                     ^
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:161:30: error: use of undeclared identifier 'SOCK_RAW'
        ss->fd = socket(AF_NETLINK, SOCK_RAW, netlink_family);
                                    ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:59:32: error: implicit declaration of function 'snl_allocz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        sin6 = (struct sockaddr_in6 *)snl_alloc_sockaddr(ss, sizeof(struct sockaddr_in6));
                                      ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:36:61: note: expanded from macro 'snl_alloc_sockaddr'
#define snl_alloc_sockaddr(_ss, _len)  ((struct sockaddr *)(snl_allocz(_ss, _len)))
                                                            ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:59:32: error: cast to 'struct sockaddr *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
        sin6 = (struct sockaddr_in6 *)snl_alloc_sockaddr(ss, sizeof(struct sockaddr_in6));
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:36:41: note: expanded from macro 'snl_alloc_sockaddr'
#define snl_alloc_sockaddr(_ss, _len)  ((struct sockaddr *)(snl_allocz(_ss, _len)))
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:60:14: error: use of undeclared identifier 'NULL'
        if (sin6 == NULL) {
                    ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:61:13: error: use of undeclared identifier 'ENOBUFS'
                *perror = ENOBUFS;
                          ^
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:167:2: error: unknown type name 'socklen_t'; did you mean '__socklen_t'?
        socklen_t optlen = sizeof(rcvbuf);
        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/_types.h:141:20: note: '__socklen_t' declared here
typedef __uint32_t      __socklen_t;
                        ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:62:11: error: use of undeclared identifier 'NULL'
                return (NULL);
                        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:65:22: error: use of undeclared identifier 'AF_INET6'
        sin6->sin6_family = AF_INET6;
                            ^
--- netlink_netlink_snl.o ---
In file included from netlink_netlink_snl.c:1:
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:168:6: error: implicit declaration of function 'getsockopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:71:21: error: declaration of 'struct snl_state' will not be visible outside of this function [-Werror,-Wvisibility]
--- netlink_netlink_snl.o ---
        if (getsockopt(ss->fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, &optlen) == -1) {
            ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:168:6: note: did you mean 'getsubopt'?
--- netlink_netlink_snl_route.o ---
parse_rta_ip(struct snl_state *ss, struct rtattr *rta, int *perror)
                    ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:71:43: error: declaration of 'struct rtattr' will not be visible outside of this function [-Werror,-Wvisibility]
parse_rta_ip(struct snl_state *ss, struct rtattr *rta, int *perror)
                                          ^
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/stdlib.h:189:6: note: 'getsubopt' declared here
int      getsubopt(char **, char *const *, char **);
         ^
--- netlink_netlink_snl_route.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:73:19: error: implicit declaration of function 'NL_RTA_DATA' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        void *rta_data = NL_RTA_DATA(rta);
                         ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl_route.h:73:8: error: incompatible integer to pointer conversion initializing 'void *' with an expression of type 'int' [-Werror,-Wint-conversion]
        void *rta_data = NL_RTA_DATA(rta);
              ^          ~~~~~~~~~~~~~~~~
--- netlink_netlink_snl.o ---
In file included from netlink_netlink_snl.c:1:
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:168:25: error: use of undeclared identifier 'SOL_SOCKET'
        if (getsockopt(ss->fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, &optlen) == -1) {
                               ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:168:37: error: use of undeclared identifier 'SO_RCVBUF'
        if (getsockopt(ss->fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, &optlen) == -1) {
                                           ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:205:10: error: implicit declaration of function 'send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return (send(ss->fd, data, sz, 0) == sz);
                ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:218:22: error: variable has incomplete type 'struct sockaddr_nl'
                struct sockaddr_nl nladdr;
                                   ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:218:10: note: forward declaration of 'struct sockaddr_nl'
                struct sockaddr_nl nladdr;
                       ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:219:16: error: variable has incomplete type 'struct iovec'
                struct iovec iov = {
                             ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:219:10: note: forward declaration of 'struct iovec'
                struct iovec iov = {
                       ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:223:17: error: variable has incomplete type 'struct msghdr'
                struct msghdr msg = {
                              ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:223:10: note: forward declaration of 'struct msghdr'
                struct msghdr msg = {
                       ^
--- netlink_netlink_snl_route.o ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:232:22: error: implicit declaration of function 'recvmsg' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        ssize_t datalen = recvmsg(ss->fd, &msg, 0);
                                          ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:241:13: error: implicit declaration of function 'NLMSG_ALIGN' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ss->off += NLMSG_ALIGN(hdr->nlmsg_len);
                   ^
--- netlink_netlink_snl_route.o ---
20 errors generated.
--- netlink_netlink_snl.o ---
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:241:28: error: incomplete definition of type 'struct nlmsghdr'
        ss->off += NLMSG_ALIGN(hdr->nlmsg_len);
                               ~~~^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:214:22: note: forward declaration of 'struct nlmsghdr'
static inline struct nlmsghdr *
                     ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:287:50: error: declaration of 'struct nlattr' will not be visible outside of this function [-Werror,-Wvisibility]
snl_parse_attrs_raw(struct snl_state *ss, struct nlattr *nla_head, int len,
                                                 ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:292:2: error: implicit declaration of function 'NLA_ALIGN' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        NLA_FOREACH(nla, nla_head, len) {
        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:63:12: note: expanded from macro 'NLA_FOREACH'
                ((char *)NLA_NEXT(_attr) <= _NLA_END(_start, _len));    \
                         ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:57:59: note: expanded from macro 'NLA_NEXT'
#define NLA_NEXT(_attr) (struct nlattr *)((char *)_attr + NLA_ALIGN(_attr->nla_len))
                                                          ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:292:2: error: incomplete definition of type 'struct nlattr'
        NLA_FOREACH(nla, nla_head, len) {
        ^           ~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:63:12: note: expanded from macro 'NLA_FOREACH'
                ((char *)NLA_NEXT(_attr) <= _NLA_END(_start, _len));    \
                         ^        ~~~~~
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:57:74: note: expanded from macro 'NLA_NEXT'
#define NLA_NEXT(_attr) (struct nlattr *)((char *)_attr + NLA_ALIGN(_attr->nla_len))
                                                                    ~~~~~^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/netlink/netlink_snl.h:287:50: note: forward declaration of 'struct nlattr'
snl_parse_attrs_raw(struct snl_state *ss, struct nlattr *nla_head, int len,
                                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- netlink_netlink_snl_route.o ---
*** [netlink_netlink_snl_route.o] Error code 1

make[3]: stopped in /usr/src/tools/build/test-includes
--- netlink_netlink_snl.o ---
20 errors generated.
*** [netlink_netlink_snl.o] Error code 1

make[3]: stopped in /usr/src/tools/build/test-includes
2 errors

make[3]: stopped in /usr/src/tools/build/test-includes
*** [test-includes] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
        1.05 real         3.85 user         8.39 sys

make[1]: stopped in /usr/src

make: stopped in /usr/src
Build step 'Execute shell' marked build as failure
[WARNINGS]Skipping publisher since build result is FAILURE
FTP: Current build result is [FAILURE], not going to run.
[PostBuildScript] - [INFO] Executing post build scripts.
[PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
[PostBuildScript] - [INFO] Executing post build scripts.
[FreeBSD-main-amd64-build] $ /bin/sh -xe /tmp/jenkins5034606355279964752.sh
+ sh freebsd-ci/scripts/jail/clean.sh
clean jail FreeBSD-main-amd64-build
Checking for post-build
Performing post-build step
Checking if email needs to be generated
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Sending mail from default account using System Admin e-mail address
------=_Part_6378_1774141670.1671808886806--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1569136903.6379.1671808887264>