Is running a buildworld harder these days?

Herbert J. Skuhra herbert at oslo.ath.cx
Mon Mar 30 13:50:59 UTC 2015


On Mon, Mar 30, 2015 at 12:07:28PM +0100, krad wrote:
> Over the past 18 months or so I have had so many build issues when
> compiling world, which in the previous 10 years I didnt get unless I did
> something stupid. They are never the same, but mainly linking issues,
> or missing .h files. They also also seem to randomly clear themselves up.
> 
> Currently I'm running the builds in a jail built from the 10.1 base
> tarball, with just bash and svnup installed, and no nullfs bits so pretty
> clean.
> 
> Today I get the following with a make -j5 buildworld
> 
> /usr/src/lib/libc/gen/cap_sandboxed.c:33:10: fatal error: 'sys/capsicum.h'
> file not found
> #include <sys/capsicum.h>
>          ^
> 1 error generated.
> /usr/src/lib/libc/../../sys/kern/subr_capability.c:45:10: fatal error:
> 'sys/capsicum.h' file not found
> #include <sys/capsicum.h>
>          ^
> 
> [root at stable /usr/src]# find /usr/src/ -name capsicum.h -ls -exec sha256 {}
> \;
>  74503       33 -rw-r--r--    1 root                             wheel
>                           15587 Mar 30 08:38 /usr/src/sys/sys/capsicum.h
> SHA256 (/usr/src/sys/sys/capsicum.h) =
> 39be88c0bb614f09fc3c517293cef339186611affbde3b0190d81a05ab7851c4
> 
> I get the same with a straight "make buildworld"
> 
> 
> Is clang more picky than gcc? This has happened on multiple installs,
> including ones I have tried to keep as clean as possible
> 
> 
> 
> # cat /etc/make.conf
> USA_RESIDENT=NO
> SVN_UPDATE=YES
> XFREE8pro_VERSION=      4
> KERNCONF=me
> KERNCONFDIR=/etc/kernel
> BOOT_COMCONSOLE_SPEED="115200"
> FETCH_BEFORE_ARGS=-p
> 
> #DEBUG=-g
> LOADER_TFTP_SUPPORT=YES"
> LOADER_ZFS_SUPPORT=yes
> FTP_PASSIVE_MODE=1
> 
> #MAKE_JOBS_NUMBER=5
> #MAKE_JOBS_NUMBER?=8
> WITH_CTF=1
> STRIP=
> 
> CC=/usr/local/bin/clang35
> CXX=/usr/local/bin/clang++35
> CC=/usr/bin/clang
> CXX=/usr/bin/clang++

Try 'make buildworld SRCCONF=/dev/null __MAKE_CONF=/dev/null' or
without setting CC/CXX!

-- 
Herbert


More information about the freebsd-questions mailing list