Created attachment 159962 [details] Patch gringo does not build with ccache: http://poudriere.amdmi3.ru/data/10-amd64-default/all_2015_08_11/logs/errors/gringo-4.4.0_1.log because scons doesn't pass enviroment to tools it calls (and thus does not pass required CCACHE_DIR). Attached patch fixes this by passing the environment.
A commit references this bug: Author: amdmi3 Date: Tue Sep 15 17:31:21 UTC 2015 New revision: 397007 URL: https://svnweb.freebsd.org/changeset/ports/397007 Log: - Fix build with ccache by making SCons preserve environment PR: 202394 Submitted by: amdmi3 Approved by: maintainer timeout (vsevolod, 1 month) Changes: head/math/gringo/files/patch-SConstruct