Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2019 07:17:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235107] 'make buildworld' of 12.0-RELEASE sources fails, pf.h not found
Message-ID:  <bug-235107-227-8jN7oYfLH6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235107-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235107-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235107

--- Comment #11 from oz42@oz42.eu ---
I have proven that make buildworld includes *.h files from /usr/include.

Long story short: please install a fresh 12.0-RELEASE system and add attach=
ed
src.conf and make.conf, then:

- make buildworld && make kernel (add your KERNCONF here)
- nextboot -o "-s" && reboot
- mergemaster -p
- cd /usr/src && make installworld
- mergemaster
- yes|make delete-old
- yes|make delete-old-libs
- reboot

Now you have a stripped down and happy system. But when you delete
/etc/src.conf and run "make buildworld" to get back a "generic" system,
building will fail.

I have tried once more. Result: another *.h file, same story:

=3D=3D=3D> bin/chio (all)
=3D=3D=3D> bin/chmod (all)
=3D=3D=3D> bin/cp (all)
=3D=3D=3D> bin/date (all)
=3D=3D=3D> bin/dd (all)
/usr/local/libexec/ccache/world/cc  -O2 -pipe   -DNDEBUG -MD  -MF.depend.dd=
.o
-MTdd.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri=
ngs
-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/bin/dd/dd.c -o dd.o
In file included from /usr/src/bin/dd/dd.c:60:
/usr/include/capsicum_helpers.h:42:10: fatal error: 'libcasper.h' file not
found
#include <libcasper.h>
         ^~~~~~~~~~~~~
1 error generated.


root@fb:~ # find /usr -name libcasper.h
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/libcasper.h
/usr/src/lib/libcasper/libcasper/libcasper.h

=3D> header files from /usr/src are not included, but from /usr/include

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235107-227-8jN7oYfLH6>