Re: 'make buildworld' failure

From: Hiroki Sato <hrs_at_FreeBSD.org>
Date: Thu, 05 Jan 2017 12:26:58 +0900 (JST)
hiren panchasara <hiren_at_strugglingcoder.info> wrote
  in <20170104180954.GV17818_at_strugglingcoder.info>:

hi> + hrs_at_
hi> On 01/04/17 at 12:43P, Oleg V. Nauman wrote:
hi> > ===> usr.sbin/inetd (all)
hi> > cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -
hi> > B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -march=nehalem  -DLOGIN_CAP -DIPSEC -
hi> > g -MD  -MF.depend.inetd.o -MTinetd.o -std=gnu99 -fstack-protector-strong -
hi> > Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -
hi> > Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -
hi> > Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-
hi> > variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
hi> > -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef  -Qunused-
hi> > arguments  -c /usr/src/usr.sbin/inetd/inetd.c -o inetd.o
hi> > /usr/src/usr.sbin/inetd/inetd.c:319:28: error: implicit declaration of
hi> > function 'satosin6' is
hi> >       invalid in C99 [-Werror,-Wimplicit-function-declaration]
hi> >             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
hi> >                                   ^
hi> > /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is
hi> > not a pointer
hi> >             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
hi> >                                   ~~~~~~~~~~~~  ^
hi> > /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:266:4: note: expanded from
hi> > macro
hi> >       'IN6_IS_ADDR_V4MAPPED'
hi> >         ((a)->__u6_addr.__u6_addr32[0] == 0 &&  \
hi> >           ^
hi> > /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is
hi> > not a pointer
hi> >             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
hi> >                                   ~~~~~~~~~~~~  ^
hi> > /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:267:4: note: expanded from
hi> > macro
hi> >       'IN6_IS_ADDR_V4MAPPED'
hi> >          (a)->__u6_addr.__u6_addr32[1] == 0 &&  \
hi> >           ^
hi> > /usr/src/usr.sbin/inetd/inetd.c:319:42: error: member reference type 'int' is
hi> > not a pointer
hi> >             IN6_IS_ADDR_V4MAPPED(&satosin6(sa)->sin6_addr))
hi> >                                   ~~~~~~~~~~~~  ^
hi> > /usr/obj/usr/src/tmp/usr/include/netinet6/in6.h:268:4: note: expanded from
hi> > macro
hi> >       'IN6_IS_ADDR_V4MAPPED'
hi> >          (a)->__u6_addr.__u6_addr32[2] == ntohl(0x0000ffff))
hi> >           ^
hi> > 4 errors generated.
hi> > *** Error code 1
hi> >
hi> >
hi> >
hi> > root_at_asus:/usr/src # svnlite info|grep Rev:
hi> > Last Changed Rev: 311250
hi> >
hi> > My current system revision is r310560
hi> >
hi> >  It possible that it is due to WITHOUT_INET6 defined in /etc/src.conf
hi>
hi> r310921 could be it.

 Thank you for the report and sorry for the breakage.  Should be fixed
 at r311354.

-- Hiroki

Received on Thu Jan 05 2017 - 02:28:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC