From owner-freebsd-ports-bugs@freebsd.org Mon Sep 14 19:56:24 2015 Return-Path: Delivered-To: freebsd-ports-bugs@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 712F4A04907 for ; Mon, 14 Sep 2015 19:56:24 +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 42C9912FC for ; Mon, 14 Sep 2015 19:56:24 +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 t8EJuOET063331 for ; Mon, 14 Sep 2015 19:56:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203107] devel/ccache: installworld fails with ccache, mk/bsd.compiler.mk unable to determine compiler Date: Mon, 14 Sep 2015 19:56:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tony@git-pull.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bdrewery@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 19:56:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203107 Bug ID: 203107 Summary: devel/ccache: installworld fails with ccache, mk/bsd.compiler.mk unable to determine compiler Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bdrewery@FreeBSD.org Reporter: tony@git-pull.com Assignee: bdrewery@FreeBSD.org Flags: maintainer-feedback?(bdrewery@FreeBSD.org) Related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=173914 I was able to do `make buildworld` successfully. However, I had to `installworld` like this: sudo make installworld COMPILER_TYPE=clang Other relation: https://svnweb.freebsd.org/ports?view=revision&revision=316346 Maybe COMPILER_TYPE should have a helper for `installworld` too? $ freebsd-version -ku; uname -apKU 11.0-CURRENT 11.0-CURRENT FreeBSD z600 11.0-CURRENT FreeBSD 11.0-CURRENT #6: Sun Sep 13 22:16:54 CDT 2015 root@z600:/usr/obj/usr/src/sys/MYKERNEL amd64 amd64 1100079 1100079 $ pkg info ccache ccache-3.2.3 Name : ccache Version : 3.2.3 Installed on : Wed Sep 9 18:10:31 CDT 2015 Origin : devel/ccache Architecture : freebsd:11:x86:64 $ cat /etc/make.conf MALLOC_PRODUCTION=1 .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif .endif $ cat /etc/profile LANG=en_US.UTF-8; export LANG CHARSET=UTF-8; export CHARSET GDM_LANG=en_US.UTF-8; export GDM_LANG export CCACHE_DIR=/usr/.ccache export PATH=/usr/local/libexec/ccache:$PATH export CCACHE_PATH=/usr/bin:/usr/local/bin export CCACHE_MAXSIZE=10 -- You are receiving this mail because: You are the assignee for the bug.