[Bug 256986] tests/sys/netgraph attempts to build with WITHOUT_NETGRAPH= and fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jul 2021 06:58:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256986

            Bug ID: 256986
           Summary: tests/sys/netgraph attempts to build with
                    WITHOUT_NETGRAPH= and fails
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: john@jmarshall.id.au

rwsrv08> grep NETGRAPH /etc/src.conf
WITHOUT_NETGRAPH=               # Do not build ATM or BLUETOOTH

rwsrv08> make buildworld

--- util.o ---
cc -target x86_64-unknown-freebsd13.0
--sysroot=/build/obj/john/kits/src/rwsrv08/amd64.amd64/tmp
-B/build/obj/john/kits/src/rwsrv08/amd64.amd64/tmp/usr/bin  -O2 -pipe
-fno-common -march=sandybridge  -g  -std=gnu99 -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 -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
 -Qunused-arguments    -c /kits/src/rwsrv08/tests/sys/netgraph/util.c -o util.o
In file included from /kits/src/rwsrv08/tests/sys/netgraph/util.c:42:
/kits/src/rwsrv08/tests/sys/netgraph/util.h:35:10: fatal error: 'netgraph.h'
file not found
#include <netgraph.h>
         ^~~~~~~~~~~~
1 error generated.
*** [util.o] Error code 1

make[5]: stopped in /kits/src/rwsrv08/tests/sys/netgraph

-- 
You are receiving this mail because:
You are the assignee for the bug.