Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 05:26:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248010] 'make buildworld': unbound build failure on 12.1-RELEASE-p7
Message-ID:  <bug-248010-227-oNGopomZ67@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248010-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248010-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248010

Teran McKinney <sega01@go-beyond.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sega01@go-beyond.org

--- Comment #3 from Teran McKinney <sega01@go-beyond.org> ---
I'm having issues with the SA-20:19 Unbound patch as well, even on a fresh
install applying all given patches.

https://www.freebsd.org/security/advisories/FreeBSD-SA-20:19.unbound.asc

bash# pwd
/usr/src/usr.sbin/unbound
bash# make
=3D=3D=3D> daemon (all)
cc  -O2 -pipe -I/usr/src/contrib/unbound -I/usr/src/contrib/ldns
-I/usr/src/usr.sbin/unbound -I/usr/src/usr.sbin/unbound/daemon   -g -MD=20
-MF.depend.acl_list.o -MTacl_list.o -std=3Dgnu99 -fstack-protector-strong
-Wsystem-headers -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-ali=
gn
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable=20
-Qunused-arguments  -c /usr/src/contrib/unbound/daemon/acl_list.c -o acl_li=
st.o
In file included from /usr/src/contrib/unbound/daemon/acl_list.c:43:
In file included from /usr/src/contrib/unbound/daemon/acl_list.h:45:
In file included from /usr/src/contrib/unbound/util/storage/dnstree.h:45:
/usr/src/contrib/unbound/util/rbtree.h:65:2: error: unknown type name 'uint=
8_t'
        uint8_t        color;
        ^
/usr/src/contrib/unbound/util/rbtree.h:81:2: error: unknown type name 'size=
_t'
        size_t          count;
        ^
In file included from /usr/src/contrib/unbound/daemon/acl_list.c:43:
In file included from /usr/src/contrib/unbound/daemon/acl_list.h:45:
/usr/src/contrib/unbound/util/storage/dnstree.h:61:2: error: unknown type n=
ame
'uint8_t'
        uint8_t* name;
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:63:2: error: unknown type n=
ame
'size_t'
        size_t len;
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:67:2: error: unknown type n=
ame
'uint16_t'
        uint16_t dclass;
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:83:26: error: field has
incomplete type 'struct sockaddr_storage'
        struct sockaddr_storage addr;
                                ^
/usr/src/contrib/unbound/util/storage/dnstree.h:83:9: note: forward declara=
tion
of 'struct sockaddr_storage'
        struct sockaddr_storage addr;
               ^
/usr/src/contrib/unbound/util/storage/dnstree.h:85:2: error: unknown type n=
ame
'socklen_t'
        socklen_t addrlen;
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:109:2: error: unknown type =
name
'uint8_t'
        uint8_t* name, size_t len, int labs, uint16_t dclass);
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:109:17: error: unknown type
name 'size_t'
        uint8_t* name, size_t len, int labs, uint16_t dclass);
                       ^
/usr/src/contrib/unbound/util/storage/dnstree.h:109:39: error: unknown type
name 'uint16_t'
        uint8_t* name, size_t len, int labs, uint16_t dclass);
                                             ^
/usr/src/contrib/unbound/util/storage/dnstree.h:127:58: error: unknown type
name 'uint8_t'
struct name_tree_node* name_tree_find(rbtree_type* tree, uint8_t* name,=20
                                                         ^
/usr/src/contrib/unbound/util/storage/dnstree.h:128:2: error: unknown type =
name
'size_t'
        size_t len, int labs, uint16_t dclass);
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:128:24: error: unknown type
name 'uint16_t'
        size_t len, int labs, uint16_t dclass);
                              ^
/usr/src/contrib/unbound/util/storage/dnstree.h:139:60: error: unknown type
name 'uint8_t'
struct name_tree_node* name_tree_lookup(rbtree_type* tree, uint8_t* name,=20
                                                           ^
/usr/src/contrib/unbound/util/storage/dnstree.h:140:2: error: unknown type =
name
'size_t'
        size_t len, int labs, uint16_t dclass);
        ^
/usr/src/contrib/unbound/util/storage/dnstree.h:140:24: error: unknown type
name 'uint16_t'
        size_t len, int labs, uint16_t dclass);
                              ^
/usr/src/contrib/unbound/util/storage/dnstree.h:148:44: error: unknown type
name 'uint16_t'
int name_tree_next_root(rbtree_type* tree, uint16_t* dclass);
                                           ^
/usr/src/contrib/unbound/util/storage/dnstree.h:167:33: error: unknown type
name 'socklen_t'
        struct sockaddr_storage* addr, socklen_t addrlen, int net);
                                       ^
/usr/src/contrib/unbound/util/storage/dnstree.h:191:33: error: unknown type
name 'socklen_t'
        struct sockaddr_storage* addr, socklen_t addrlen);
                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
20 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /usr/src/usr.sbin/unbound/daemon
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/unbound

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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