From owner-freebsd-testing@freebsd.org Thu Jun 8 12:01:58 2017 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 750CFBFD767 for ; Thu, 8 Jun 2017 12:01:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62A117F2CA for ; Thu, 8 Jun 2017 12:01:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v58C1wNm080768 for ; Thu, 8 Jun 2017 12:01:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 203094] Unable to make installworld without disabling tests and setting COMPILER_TYPE=clang Date: Thu, 08 Jun 2017 12:01:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chrysalis@chrysalisnet.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 12:01:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203094 Chris Collins changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrysalis@chrysalisnet.org --- Comment #15 from Chris Collins --- Something is still broken. Here is my situation. Base system is 10-STABLE dated Sep 26 2016 New src code is RELENG 11.0 P9 ccache is installed on the system I first couldnt even get buildworld to complete, very odd error rejecting cputype of nehalem, this error appeared even with no cputype set in make.co= nf. I proceeded to uncomment the CC=3D lines that set as below .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc) CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif .endif After I did this the buildworld proceeded but very slow, I discovered ccache was operating, as the misses were tallying up and I had disk thrashing from= the cache objects been written. So I then commented out WITH_CCACHE_BUILD=3DYES in make.conf, the line is n= ot present in src.conf at all. This time buildworld completed and at normal speed. But now I get the error on make installworld. So the question is if none of the cache lines are active in either make.con= f or src.conf and one gets this error. Is it a bug or operator error?=20=20 bmake[2]: "/usr/src/110/share/mk/bsd.compiler.mk" line 132: warning: "/usr/local/bin/ccache cc --version || echo 0.0.0" returned non-zero status bmake[2]: "/usr/src/110/share/mk/bsd.compiler.mk" line 145: Unable to deter= mine compiler type for CC=3D/usr/local/bin/ccache cc . Consider setting COMPILER_TYPE. So here is 2 observations. 1 - The compiler used during buildworld was not "/usr/local/bin/ccache cc"it was just "cc" 2 - Why is it showing "/usr/local/bin/ccache cc" when I have nothing enabli= ng ccache active in either src.conf or make.conf, is simply having the ccache = port installed enough to make the world tools try to use it? --=20 You are receiving this mail because: You are the assignee for the bug.=