Bug 202394 - math/gringo: fix build with ccache
Summary: math/gringo: fix build with ccache
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vsevolod Stakhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-17 18:17 UTC by Dmitry Marakasov
Modified: 2015-09-15 17:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (vsevolod)


Attachments
Patch (751 bytes, patch)
2015-08-17 18:17 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-08-17 18:17:25 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-09-15 17:32:00 UTC
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