David, I tested updating the ccache packaging to 3.1.11 (released on 3-7-15) and while it passes 'fink -m', it does so by not running most of the tests...
test/main PASSED: 204 assertions, 60 tests, 9 suites CC='gcc' ./test.sh WARNING: Compiler gcc not supported (version: Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)) -- not running tests phase test: passed So I suspect the current packaging for 3.1.9 likewise isn't really validating properly against the newer clang compilers from Xcode 6,2. Jack On Thu, Apr 2, 2015 at 10:12 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote: > David, > I noticed we are missing a 10.10 variant for ccache. Was this > intentional? The attached packaging updates ccache to the latest 3.2.1 > release with a patch to eliminate the clang warnings about.... > > In file included from conf.c:200: > confitems.gperf:33:35: warning: static function 'parse_bool' is used > in an inline function with external linkage [-Wstatic-in-inline] > {"stats", 23, ITEM(stats, bool)}, > ^ > conf.c:196:2: note: expanded from macro 'ITEM' > parse_##type, offsetof(struct conf, name), NULL > ^ > <scratch space>:70:1: note: expanded from here > parse_bool > ^ > confitems.gperf:54:1: note: use 'static' to give inline function > 'confitems_get' internal linkage > __inline > ^ > static > > However the InfoTest shows a cryptic failure of... > > SUITE: "pch", TEST: "create .gch, -c, no -o" - Expected "cache miss" > to be 1, got 0 > cache directory > /sw/src/fink.build/ccache-3.2.1-1/ccache-3.2.1/testdir.90933/.ccache > primary config > /sw/src/fink.build/ccache-3.2.1-1/ccache-3.2.1/testdir.90933/.ccache/ccache.conf > secondary config (readonly) /sw/etc/ccache.conf > cache hit (direct) 0 > cache hit (preprocessed) 0 > cache miss 0 > can't use precompiled header 1 > files in cache 0 > cache size 0.0 kB > max cache size 5.0 GB > TEST FAILED > Test data and log file have been left in testdir.90933 > Makefile:84: recipe for target 'test' failed > make: *** [test] Error 1 > make: Target 'check' not remade because of errors. > > Any ideas on how to fix that? > Jack > ps MacPorts has their ccache at 3.2.1 but don't have the tests enabled. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel