Summary: | Build world failure at /usr/src/lib/libc/gen/cap_sandboxed.c: fatal error: 'sys/capsicum.h' file not found | ||
---|---|---|---|
Product: | Base System | Reporter: | Juan Ramón Molina Menor <info> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Unable to Reproduce | ||
Severity: | Affects Only Me | CC: | emaste, fbsd, forevel |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | i386 | ||
OS: | Any |
Description
Juan Ramón Molina Menor
2014-11-08 14:40:49 UTC
I have tried again today with a fresh checkout of HEAD after having deleted /usr/obj and /usr/src and make buildworld fails at the same place. Same to me. I have the same situation with these files too when trying to compile nanobsd buildworld. One funny thing is that this file, sys/capsicum.h, actually exist in the directory /usr/src/sys/ along with cdefs.h which is also included in cap_sandboxed.c. Why is compiler finds one .h file and can't find another, if I could know.. The system is: FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Try a slightly different make.conf: .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc) PATH=/usr/local/libexec/ccache/world:/sbin:/bin:/usr/sbin:/usr/bin #CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} #CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif .endif Actually that doesn't work :) Does it happen only with ccache? (In reply to Ed Maste from comment #5) This error seems to be gone with an updated source (as of today, rev. 285321). make buildworld still fails with ccache enabled, but works without it, so I think we could close this PR. Thanks for your work! Juan Submitter reports this specific issue is no longer reproducible. |