From nobody Fri Oct 11 23:48:32 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQNcS22Mgz5YNGb for ; Fri, 11 Oct 2024 23:48:40 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Received: from 101d.relay.hey.com (101d.relay.hey.com [204.62.115.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQNcR1WY0z4fjn for ; Fri, 11 Oct 2024 23:48:39 +0000 (UTC) (envelope-from nathan.nasby@hey.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hey.com header.s=heymail header.b=T+tRjs0Q; spf=pass (mx1.freebsd.org: domain of nathan.nasby@hey.com designates 204.62.115.198 as permitted sender) smtp.mailfrom=nathan.nasby@hey.com; dmarc=pass (policy=quarantine) header.from=hey.com Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 101.relay.hey.com (Postfix) with ESMTP id 0299984CCE; Fri, 11 Oct 2024 23:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1728690513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=1tVhk1CwRQgxPGwayk+kwS3/7wap2h/3YrdAqIduzOY=; b=T+tRjs0QS95KnPQWEfLgi2LBtVXpyKbH0S/1UwmMX4VVHuwT/UCTh9yEwcuZTi7bFiNLBD UEzya/NHI0n/7hkXSKDnQ5Q3uHc3WSRKkC+n+hywtKL1CIGJtW7Cxp1tdJYG6pv3Rg9WIW 9UZlIUAnkVNEZZlPqn34HeNQN2h4/nHdTu9n+LhB7Ocdyc6gluh9Nc9TpBhxlaquf0UmwC TArAD8nbpp0xu0nqUXyzyl1efyeZnjScam2N7wQgPiowY1IhUdGs7vzRaa9cM8iYGii4U3 R0UDEtE48gqo1SFVKpJzz4C4YFVoArBgJT3U8Vpv+18Y23gRMQVONipyn0FYJQ== Date: Fri, 11 Oct 2024 19:48:32 -0400 From: Nathan Nasby To: Konstantin Belousov Cc: freebsd-current@freebsd.org Message-ID: In-Reply-To: <6c3c140c52ee272fd7c85c843bc50506e9c5a32a@hey.com> Subject: Re: Buildworld stops build - undeclaired identifier List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6709b950f3c6c_5d4c018214647"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-5.40 / 15.00]; DWL_DNSWL_MED(-2.00)[hey.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[hey.com,quarantine]; R_DKIM_ALLOW(-0.20)[hey.com:s=heymail]; R_SPF_ALLOW(-0.20)[+ip4:204.62.114.0/23]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[hey.com:+]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:25657, ipnet:204.62.115.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4XQNcR1WY0z4fjn X-Spamd-Bar: ----- ----==_mimepart_6709b950f3c6c_5d4c018214647 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ok I re-cloned the repository and then made sure every single file is up to date. Now I'm getting this. Why is everything getting corrupted after multiple times of pulling and confirming that the repo is up to date? =3D=3D=3D> lib/libpfctl (all) --- libpfctl.o --- cc=C2=A0 -O2 -pipe -fno-common -fpic =C2=A0 -g -gz=3Dzlib -MD=C2=A0 -MF.d= epend.libpfctl.o -MTlibpfctl.o -std=3Dgnu99 -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=3Dunused-but-set-parameter=C2=A0 -Qunused-arguments=C2= =A0 =C2=A0 =C2=A0-c /usr/src/lib/libpfctl/libpfctl.c -o libpfctl.o /usr/src/lib/libpfctl/libpfctl.c:2922:12: error: use of undeclared identifier 'PF_RS_NR'; did you mean 'PF_RT_NR'? =C2=A02922 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NR, .off = =3D _OUT(nr), .cb =3D snl_attr_get_uint32 }, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0^~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0PF_RT_NR /usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR' declared here =C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u32 */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2923:12: error: use of undeclared identifier 'PF_RS_NAME' =C2=A02923 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NAME, .of= f =3D _OUT(name), .arg =3D (void *)PF_ANCHOR_NAME_SIZE, .cb =3D snl_attr_copy_string }, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2926:1: error: invalid application of 'sizeof' to an incomplete type 'const struct snl_attr_parser[]' =C2=A02926 | SNL_DECLARE_PARSER(ruleset_parser, struct genlmsghdr, fp_ruleset, ap_ruleset); =C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ /usr/include/netlink/netlink_snl.h:175:2: note: expanded from macro 'SNL_DECLARE_PARSER' =C2=A0 175 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SNL_DECLARE_PARSER_EXT(_nam= e, sizeof(_t), 0, _fp, _np, NULL) =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netlink/netlink_snl.h:170:13: note: expanded from macro 'SNL_DECLARE_PARSER_EXT' =C2=A0 170 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.np_size =3D NL_ARRAY_LEN(_= np),=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~~~ /usr/include/netlink/netlink_snl.h:71:33: note: expanded from macro 'NL_ARRAY_LEN' =C2=A0 =C2=A071 | #define NL_ARRAY_LEN(_a)=C2=A0 =C2=A0 =C2=A0 =C2=A0 (si= zeof(_a) / sizeof((_a)[0])) =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 ^~~~ /usr/src/lib/libpfctl/libpfctl.c:2944:52: error: use of undeclared identifier 'PFNL_CMD_GET_RULESETS'; did you mean 'PFNL_CMD_GETRULES'? =C2=A02944 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create_genl_msg= _request(&nw, family_id, PFNL_CMD_GET_RULESETS); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES /usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here =C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D = 6, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2946:31: error: use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF_CS_NAT'? =C2=A02946 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw= , PF_RS_PATH, path); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 ^~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 PF_CS_NAT /usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here =C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2980:52: error: use of undeclared identifier 'PFNL_CMD_GET_RULESET'; did you mean 'PFNL_CMD_GETRULES'? =C2=A02980 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create_genl_msg= _request(&nw, family_id, PFNL_CMD_GET_RULESET); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^~~~~~~~~~~~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES /usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here =C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D = 6, =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2982:31: error: use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF_CS_NAT'? =C2=A02982 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw= , PF_RS_PATH, path); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 ^~~~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 PF_CS_NAT /usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here =C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ /usr/src/lib/libpfctl/libpfctl.c:2983:28: error: use of undeclared identifier 'PF_RS_NR'; did you mean 'PF_RT_NR'? =C2=A02983 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_u32(&nw, P= F_RS_NR, nr); =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^~~~~~~~ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= PF_RT_NR /usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR' declared here =C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u32 */ =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ 8 errors generated. *** [libpfctl.o] Error code 1 make[5]: stopped making "all" in /usr/src/lib/libpfctl make[5]: 1 error make[5]: stopped making "all" in /usr/src/lib/libpfctl make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/googletest --- make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/libomp --- make[4]: stopped making "all" in /usr/src/lib --- all_subdir_lib/clang --- make[5]: stopped making "all" in /usr/src/lib/clang make[4]: stopped making "all" in /usr/src/lib make[3]: stopped making "_generic_libs" in /usr/src make[2]: stopped making "libraries" in /usr/src =C2=A0 =C2=A0 =C2=A0 375.76 real=C2=A0 =C2=A0 =C2=A0 1368.14 user=C2=A0 =C2= =A0 =C2=A0 =C2=A0121.33 sys make[1]: stopped making "buildworld" in /usr/src make: stopped making "buildworld" in /usr/src On October 10, 2024, Nathan Nasby wrote: > So will doing git reset =E2=80=94hard solve it? > > - Nathan > > On October 10, 2024, Konstantin Belousov > wrote:On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan Nasby wrote: > > > Hello, > > >=C2=A0 > > > When I try to compile world with the latest source, I get error of > > > undeclared identifiers > > >=C2=A0 > > > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > > =C2=A0 > > > 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80= =9D); > > > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > >=C2=A0 > > > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0) > > >=C2=A0 > > > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of > > undeclared > > > identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99 > > >=C2=A0 > > > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0) > > > > You have the corrupted checkout. sys/sys/user.h is out of date. > ----==_mimepart_6709b950f3c6c_5d4c018214647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok I re-cloned the repository and then made sure every single file= is up to date. Now I'm getting this.

Why is everything gettin= g corrupted after multiple times of pulling and confirming that the repo = is up to date?

=3D=3D=3D> lib/libpfctl (all)
--- libpfctl.o = ---
cc=C2=A0 -O2 -pipe -fno-common -fpic =C2=A0 -g -gz=3Dzlib -MD=C2=A0= -MF.depend.libpfctl.o -MTlibpfctl.o -std=3Dgnu99 -Wno-format-zero-length= -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpoint= er-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wun= used-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-styl= e-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declaration= s -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-= variable -Wno-error=3Dunused-but-set-parameter=C2=A0 -Qunused-arguments=C2= =A0 =C2=A0 =C2=A0-c /usr/src/lib/libpfctl/libpfctl.c -o libpfctl.o
/us= r/src/lib/libpfctl/libpfctl.c:2922:12: error: use of undeclared identifie= r 'PF_RS_NR'; did you mean 'PF_RT_NR'?
=C2=A02922 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ .type =3D PF_RS_NR, .off =3D _OUT(nr), .= cb =3D snl_attr_get_uint32 },
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~
=C2=A0 =C2=A0= =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0PF_RT_NR
/usr/include/netpfil/pf/pf_nl.h:210:2: note: 'PF_RT_NR= ' declared here
=C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_R= T_NR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 23, /* u3= 2 */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr= /src/lib/libpfctl/libpfctl.c:2923:12: error: use of undeclared identifier= 'PF_RS_NAME'
=C2=A02923 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ = .type =3D PF_RS_NAME, .off =3D _OUT(name), .arg =3D (void *)PF_ANCHOR_NAM= E_SIZE, .cb =3D snl_attr_copy_string },
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/= lib/libpfctl/libpfctl.c:2926:1: error: invalid application of 'sizeof= ' to an incomplete type 'const struct snl_attr_parser[]'
=C2= =A02926 | SNL_DECLARE_PARSER(ruleset_parser, struct genlmsghdr, fp_rulese= t, ap_ruleset);
=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netlink/ne= tlink_snl.h:175:2: note: expanded from macro 'SNL_DECLARE_PARSER'=
=C2=A0 175 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SNL_DECLARE_PARSER_EXT(= _name, sizeof(_t), 0, _fp, _np, NULL)
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~
/usr/include/netlink/netlink_snl.h:170:13: note: expanded = from macro 'SNL_DECLARE_PARSER_EXT'
=C2=A0 170 |=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0.np_size =3D NL_ARRAY_LEN(_np),=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~~~
/u= sr/include/netlink/netlink_snl.h:71:33: note: expanded from macro 'NL= _ARRAY_LEN'
=C2=A0 =C2=A071 | #define NL_ARRAY_LEN(_a)=C2=A0 =C2=A0= =C2=A0 =C2=A0 (sizeof(_a) / sizeof((_a)[0]))
=C2=A0 =C2=A0 =C2=A0 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~
/= usr/src/lib/libpfctl/libpfctl.c:2944:52: error: use of undeclared identif= ier 'PFNL_CMD_GET_RULESETS'; did you mean 'PFNL_CMD_GETRULES&= #39;?
=C2=A02944 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hdr =3D snl_create= _genl_msg_request(&nw, family_id, PFNL_CMD_GET_RULESETS);
=C2=A0 =C2= =A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^~~~~~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES
/usr/include/netp= fil/pf/pf_nl.h:44:2: note: 'PFNL_CMD_GETRULES' declared here
=C2= =A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFNL_CMD_GETRULES =3D 6,<= br>=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/= lib/libpfctl/libpfctl.c:2946:31: error: use of undeclared identifier '= ;PF_RS_PATH'; did you mean 'PF_CS_NAT'?
=C2=A02946 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_string(&nw, PF_RS_PATH, = path);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^~~~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PF_CS_NAT
/usr/include/netpfil/= pf/pf_nl.h:295:2: note: 'PF_CS_NAT' declared here
=C2=A0 295 |= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_CS_NAT=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bool */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/usr/src/lib/libpfctl/libpfctl.c:2980:52= : error: use of undeclared identifier 'PFNL_CMD_GET_RULESET'; did= you mean 'PFNL_CMD_GETRULES'?
=C2=A02980 |=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0hdr =3D snl_create_genl_msg_request(&nw, family_id, PFN= L_CMD_GET_RULESET);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~
=C2=A0 =C2=A0 = =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PFN= L_CMD_GETRULES
/usr/include/netpfil/pf/pf_nl.h:44:2: note: 'PFNL_C= MD_GETRULES' declared here
=C2=A0 =C2=A044 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PFNL_CMD_GETRULES =3D 6,
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0^
/usr/src/lib/libpfctl/libpfctl.c:2982:31: error= : use of undeclared identifier 'PF_RS_PATH'; did you mean 'PF= _CS_NAT'?
=C2=A02982 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_ms= g_attr_string(&nw, PF_RS_PATH, path);
=C2=A0 =C2=A0 =C2=A0 |=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~
=C2=A0= =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= PF_CS_NAT
/usr/include/netpfil/pf/pf_nl.h:295:2: note: 'PF_CS_NAT= ' declared here
=C2=A0 295 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PF_C= S_NAT=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D 12, /* bo= ol */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
/us= r/src/lib/libpfctl/libpfctl.c:2983:28: error: use of undeclared identifie= r 'PF_RS_NR'; did you mean 'PF_RT_NR'?
=C2=A02983 |=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0snl_add_msg_attr_u32(&nw, PF_RS_NR, nr= );
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0^~~~~~~~
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0PF_RT_NR
/usr/include/netpfil/pf/pf_nl.h:210:2: note:= 'PF_RT_NR' declared here
=C2=A0 210 |=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0PF_RT_NR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D 23, /* u32 */
=C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0^
8 errors generated.
*** [libpfctl.o] Error code 1

make[= 5]: stopped making "all" in /usr/src/lib/libpfctl
make[5]: 1= error

make[5]: stopped making "all" in /usr/src/lib/lib= pfctl

make[4]: stopped making "all" in /usr/src/lib
-= -- all_subdir_lib/googletest ---

make[4]: stopped making "all= " in /usr/src/lib
--- all_subdir_lib/libomp ---

make[4]: s= topped making "all" in /usr/src/lib
--- all_subdir_lib/clang= ---

make[5]: stopped making "all" in /usr/src/lib/clang=

make[4]: stopped making "all" in /usr/src/lib

ma= ke[3]: stopped making "_generic_libs" in /usr/src

make[2= ]: stopped making "libraries" in /usr/src
=C2=A0 =C2=A0 =C2=A0= 375.76 real=C2=A0 =C2=A0 =C2=A0 1368.14 user=C2=A0 =C2=A0 =C2=A0 =C2=A01= 21.33 sys

make[1]: stopped making "buildworld" in /usr/s= rc

make: stopped making "buildworld" in /usr/src

=
On October 10, 2024, Nathan Nasby <nathan.nasby@hey.com>= wrote:
So will doing git reset =E2=80=94hard solve it?<= br>
- Nathan

On October 10, 2024, Konstantin Belousov <kosti= kbel@gmail.com> wrote:On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan= Nasby wrote:
> Hello,
>=C2=A0
> When I try to = compile world with the latest source, I get error of
> undeclared i= dentifiers
>=C2=A0
> /usr/src/usr.bin/procstat/procstat_vm.c:= 118:7: error: use of undeclared
> identifier =E2=80=98KVME_FLAG_SYS= VSHM=E2=80=99
> =C2=A0
> 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80= =9Ctrue : =E2=80=9Cfalse=E2=80=9D);
> /usr/src/usr.bin/procstat/pro= cstat_vm.c:169:25: error: use of undeclared
> identifier =E2=80=98K= VME_FLAG_SYSVSHM=E2=80=99
>=C2=A0
> 169 | if ((kve->kve_fl= ags & KVME_FLAG_SYSVSHM) !=3D 0)
>=C2=A0
> /usr/src/usr.b= in/procstat/procstat_vm.c:173:25: error: use of undeclared
> identi= fier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99
>=C2=A0
> 173 | if = ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)

You have the= corrupted checkout. sys/sys/user.h is out of date.
----==_mimepart_6709b950f3c6c_5d4c018214647--