Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 19:56:24 +0000
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
Message-ID:  <bug-203107-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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
<chop>

$ 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203107-13>