--- all_subdir_lib/libsysdecode ---
In file included from /usr/src/lib/libsysdecode/flags.c:90:
/usr/obj/usr/src/sparc64.sparc64/lib/libsysdecode/tables.h:948: error: 'IPV6_MIN_MEMBERSHIPS' undeclared here (not in a function)
Build will succeed after removing the temporary copy - /usr/obj/usr/src/sparc64.sparc64/lib/libsysdecode/tables.h
I also encountered the same error and removed to proceed.
Has there been any progress on this issue? During buildworld it's merely an annoyance, but it renders "make universe" nearly impossible.
r350301 (and r350322) is trying to workaround this.
350301 (and followon fixes) should be a partial workaround for this issue but as pointed out in the 350301 commit message we need a way to add a dependency on all of the headers it uses.
My approach in https://reviews.freebsd.org/D21069
A commit references this bug:
Date: Fri Aug 16 22:34:11 UTC 2019
New revision: 351151
Rework r339635 to fix .depend.tables.h handling.
Avoid touching the tables.h file unless it has changed to avoid unneeded
Also revert r350301's explicit dependencies.
Reviewed by: emaste
MFC after: 2 weeks
X-MFC-With: r339635 (kevans request)
Sponsored by: DellEMC
Differential Revision: https://reviews.freebsd.org/D21295