From owner-freebsd-questions@FreeBSD.ORG Mon Mar 30 11:07:29 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68FB650C for ; Mon, 30 Mar 2015 11:07:29 +0000 (UTC) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B992DF0 for ; Mon, 30 Mar 2015 11:07:29 +0000 (UTC) Received: by obvd1 with SMTP id d1so53786100obv.0 for ; Mon, 30 Mar 2015 04:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=onzGY8lzbAjPuIhwEt1X26y4EMgubvHUavGhN95los4=; b=C8hzhcEAnNu+Q82n6G27bu4dbZ4vQajNbq79IS0YQhxG++m4J60wcwIXhZo+4LqGlL tXDnbJeErDie9DJylTjyVj2WDGERbCOgqqwIarD2RrN3VddGDM9i+R2t4cTrOfRmiMml jAnJqjNfvt8JWCVTKRb9uDLHmeRisSLiL+gIVrn5V3dqkSsfvQJllmXFO67l3P3Z4RDt Nqw4fBs6PORo/qK4lOP6ly51WGStG26jgAxW522Mua9/33JxGte44RPuVPR1boz74LWj LUMJzqvuqG69tAokF/ShDxT6ctitDfm9+IqWup2Dir4Kq1n8o48M8wui1jK+LoZBwlLV TPDw== MIME-Version: 1.0 X-Received: by 10.202.81.78 with SMTP id f75mr19825219oib.120.1427713648568; Mon, 30 Mar 2015 04:07:28 -0700 (PDT) Received: by 10.202.188.132 with HTTP; Mon, 30 Mar 2015 04:07:28 -0700 (PDT) Date: Mon, 30 Mar 2015 12:07:28 +0100 Message-ID: Subject: Is running a buildworld harder these days? From: krad To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 11:07:29 -0000 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 ^ 1 error generated. /usr/src/lib/libc/../../sys/kern/subr_capability.c:45:10: fatal error: 'sys/capsicum.h' file not found #include ^ [root@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@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?