[Bug 257168] tests/sys/netgraph/util.h:35:10: fatal error: 'netgraph.h' file not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jul 2021 01:52:23 +0000

            Bug ID: 257168
           Summary: tests/sys/netgraph/util.h:35:10: fatal error:
                    'netgraph.h' file not found
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: testing_at_FreeBSD.org
          Reporter: mi_at_FreeBSD.org

When building world (stable/12) on a FreeBSD-12.2 machine here, I get:

cc -target i386-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/i386.i386/tmp
-B/usr/obj/usr/src/i386.i386/tmp/usr/bin  -O2 -pipe -fno-common -march=nocona 
-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 -Winline
-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
/usr/src/tests/sys/netgraph/util.c -o util.o
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/unifdef ---
===> usr.bin/unifdef (all)
--- all_subdir_tests ---
In file included from /usr/src/tests/sys/netgraph/util.c:42:
/usr/src/tests/sys/netgraph/util.h:35:10: fatal error: 'netgraph.h' file not
#include <netgraph.h>
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/size ---
===> usr.bin/size (all)
--- all_subdir_lib ---
--- freopen_test ---
(cd /usr/src/lib/libc/tests/stdio && DEPENDFILE=.depend.freopen_test 
NO_SUBDIR=1 make -f /usr/src/lib/libc/tests/stdio/Makefile _RECURSING_PROGS=t
PROG=freopen_test )
--- all_subdir_tests ---
1 error generated.
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/rpcgen ---
--- all_subdir_tests ---
*** [util.o] Error code 1

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

Please, advise.

You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jul 14 2021 - 01:52:23 UTC

Original text of this message