Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 18:24:07 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Roberto Rodriguez Jr <rob.rodz.jr9@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: buildworld error
Message-ID:  <12559915-1715-40A4-B628-FFAFCD27ABDA@gmail.com>
In-Reply-To: <CACnPvjJUpfp_r0jf30p_7GR9fmaGqpVZA%2BrLXEtfDoLhGb2yhg@mail.gmail.com>
References:  <CACnPvjKo1%2Bc=xPQ1Xf4qZARyx=7fhHBpmT16k7PCqEHW2qqQfw@mail.gmail.com> <CACnPvjL94uBaSDbYXbf5x_8HYFJ4sRaqg%2Bx-WXj=Y4mqxQ2MeA@mail.gmail.com> <CACnPvjJUpfp_r0jf30p_7GR9fmaGqpVZA%2BrLXEtfDoLhGb2yhg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_880B9979-E0BB-49DE-A438-655B56220EB6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Mar 11, 2017, at 15:51, Roberto Rodriguez Jr =
<rob.rodz.jr9@gmail.com> wrote:
>=20
> I figured the script command... here is the new error r315090
>=20
> --- .depend ---
> echo setkey.full: /usr/obj/usr/src/tmp/usr/lib/libc.a
> /usr/obj/usr/src/tmp/usr/lib/libl.a
> /usr/obj/usr/src/tmp/usr/lib/liby.a
> /usr/obj/usr/src/tmp/usr/lib/libipsec.a >> .depend
> --- setkey.o ---
> /usr/local/libexec/ccache/cc  -O2 -pipe -march=3Dbtver2
> -I/usr/src/sbin/setkey -I/usr/src/lib/libipsec -I/usr/src/lib/libipsec
> -I/usr/src/sys/netipsec -DIPSEC_DEBUG -DYY_NO_UNPUT -DINET6 -I. -g -MD
> -MF.depend.setkey.o -MTsetkey.o -std=3Dgnu99 -fstack-protector-strong
> -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
> -Wno-parentheses  -Qunused-arguments  -c /usr/src/sbin/setkey/setkey.c
> -o setkey.o
> --- all_subdir_lib ---
> --- jemalloc_nstime.po ---
> /usr/local/libexec/ccache/cc -pg  -O2 -pipe -march=3Dbtver2
> -I/usr/src/lib/libc/include -I/usr/src/include
> -I/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE
> -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
> -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
> -DPOSIX_MISTAKE -I/usr/src/lib/libmd
> -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime
> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP
> -DNS_CACHING -DSYMBOL_VERSIONING -MD  -MF.depend.jemalloc_nstime.po
> -MTjemalloc_nstime.po -std=3Dgnu99 -fstack-protector-strong
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
> -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
> -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
> -Wno-knr-promoted-parameter  -Qunused-arguments
> -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64
> -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c jemalloc_nstime.c
> -o jemalloc_nstime.po
> --- all_subdir_rescue ---
> --- suffix.o ---
> /usr/local/libexec/ccache/cc  -O2 -pipe -DHAVE_CONFIG_H
> -I/usr/src/usr.bin/xz/../../lib/liblzma
> -I/usr/src/usr.bin/xz/../../contrib/xz/src/common -march=3Dbtver2
> -DRESCUE -MD  -MF.depend.suffix.o -MTsuffix.o -std=3Dgnu99
> -fstack-protector-strong -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
> -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
> -Wno-unused-local-typedef  -Qunused-arguments  -c
> /usr/src/usr.bin/xz/../../contrib/xz/src/xz/suffix.c -o suffix.o
> --- all_subdir_sbin ---
> /usr/src/sbin/setkey/setkey.c:154:15: error: use of undeclared
> identifier 'IPSEC_POLICYSCOPE_GLOBAL'
>                        f_scope |=3D IPSEC_POLICYSCOPE_GLOBAL;
>                                   ^
> /usr/src/sbin/setkey/setkey.c:157:15: error: use of undeclared
> identifier 'IPSEC_POLICYSCOPE_IFNET'
>                        f_scope |=3D IPSEC_POLICYSCOPE_IFNET;
>                                   ^

Some new symbols were added to sys/netipsec/=E2=80=A6 and unfortunately =
the system headers don=E2=80=99t provide that symbol.

This should fix the issue =E2=80=94 I=E2=80=99ll run the change through =
make tinderbox before committing, then analyze the .depend files, just =
to make sure it's bootstrapping properly.

Thanks!
-Ngie

$ svn diff Makefile
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile    (revision 315094)
+++ Makefile    (working copy)
@@ -46,7 +46,7 @@
 # ipsec_strerror.c is for avoiding shlib reference to non-exported =
function.
 .PATH: ${SRCTOP}/lib/libipsec ${SRCTOP}/sys/netipsec
 SRCS+=3D pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
-CFLAGS+=3D -I${SRCTOP}/sys/netipsec
+CFLAGS+=3D -I${SRCTOP}/sys

 SRCS+=3D y.tab.h
 y.tab.h: parse.y


--Apple-Mail=_880B9979-E0BB-49DE-A438-655B56220EB6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYxLFHAAoJEPWDqSZpMIYViOsP/0f9+KPQJinn37ASWzV+93sZ
7CT2NWCS+5A47Ou+OK2uLrS1roecPhvm85OobIVUupNNphaxsmUn3PhjblytFDoX
b+5IVyw5Qqhvu1MHxorItQaMgK326v8yeFuUQ2McMjMTMkIK8bGVBP5XxANYp2Bn
JXjMWsFltd9cIo7LGs+T0wfGSwJbkpgVnCM1qCW3mSt5EgDRBI+wHDpPBQ/EJIOe
TpQVH3i4wIl/xeBaiA+/ClTYmPs8zWRNK2dCFnTUNJGvgm3Xsdhx0qjlAlAEXlZU
4Cu8TkdRZ8RttdeAqPvLziLf077gzLnUhKUjNg5Kyc1ViACLtptPqouuGcadsuGj
YkvZPR5KDMacSwWKznrr7f4QJngyE7XCInaD8eOk1Lk4GMEORP4P2xtVeiJHxDYd
jSE9toVZhOox92bwwFsgchiNHDdm0cxShSMKQtWnSWdsU2Q9oj+b2QfeotJuHckc
SpY7BvFzmuTBdPPmyUEwZMgduD7J6uUvvlQGN3EfBIL29w28B7+kXQdDr11+KJ7D
6KwHf+W/emU2kmKJyi9dc7jl+tDeCjl6GL8xfnTbBYYt+e7K7PNxkoSv2V5hpa2R
rXxZyWCl9giwPqS60rt6rT/mgtqKqBE+5+vlpMqZnwmpsFZtKfhrfFYzC2XBmlXi
3fBu7769qymjSqH3eOqR
=n652
-----END PGP SIGNATURE-----

--Apple-Mail=_880B9979-E0BB-49DE-A438-655B56220EB6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12559915-1715-40A4-B628-FFAFCD27ABDA>