Is running a buildworld harder these days?

krad kraduk at gmail.com
Mon Mar 30 11:33:55 UTC 2015


hmm dropping the CC and CXX lines from my make file seems to have cured the
problem. Does running clang as "clang" vs "cc" make a difference to how it
works are is it a simple case of the command line getting to long ?

On 30 March 2015 at 12:07, krad <kraduk at gmail.com> 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++
> #CC="/usr/local/libexec/ccache/world/cc"
> #CXX="/usr/local/libexec/ccache/world/c++"
> CCACHE_LOGFILE=/root/.ccache/log
>
> WITH_PKGNG=     yes
> PF_ENABLE_FILTER_RULES=yes
>
>
> # 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++
> #CC="/usr/local/libexec/ccache/world/cc"
> #CXX="/usr/local/libexec/ccache/world/c++"
> CCACHE_LOGFILE=/root/.ccache/log
>
> WITH_PKGNG=     yes
> PF_ENABLE_FILTER_RULES=yes
> [root at stable /usr/src]# cat /etc/src.conf
> WITHOUT_FREEBSD_UPDATE="yes"
> WITHOUT_GAMES="yes"
> WITHOUT_HTML="yes"
> WITHOUT_IPFILTER="yes"
> WITHOUT_IPFW="yes"
> WITHOUT_IPX="yes"
> WITHOUT_LIB32="YES"
> WITHOUT_PORTSNAP="YES"
> WITHOUT_ATM="YES"
> WITHOUT_BLUETOOTH=YES
> WITHOUT_BSNMP="YES"
> WITHOUT_SENDMAIL=YES
> WITHOUT_INFO=yes
> WITHOUT_AMD=yes
> WITH_UNBOUND=yes
>
>
> Is it just me, or are others seeing this?
>
>


More information about the freebsd-questions mailing list