https://ci.freebsd.org/job/FreeBSD-head-sparc64-build/13695/console --- 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
https://reviews.freebsd.org/D21295
A commit references this bug: Author: bdrewery Date: Fri Aug 16 22:34:11 UTC 2019 New revision: 351151 URL: https://svnweb.freebsd.org/changeset/base/351151 Log: Rework r339635 to fix .depend.tables.h handling. Avoid touching the tables.h file unless it has changed to avoid unneeded rebuilds. Also revert r350301's explicit dependencies. Reviewed by: emaste MFC after: 2 weeks X-MFC-With: r339635 (kevans request) PR: 238828 Sponsored by: DellEMC Differential Revision: https://reviews.freebsd.org/D21295 Changes: head/lib/libsysdecode/Makefile head/lib/libsysdecode/mktables
I believe we haven't seen this particular build failure in a long time.