$ sudo port -v test ccache ---> Computing dependencies for ccache. ---> Testing ccache Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build" && /usr/bin/make test Running tests... /opt/local/bin/ctest --force-new-ctest-process --output-on-failure Test project /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build Start 1: unittest 1/36 Test #1: unittest ......................... Passed 0.95 sec Start 2: test.base 2/36 Test #2: test.base ........................***Failed 11.13 sec Compiler: gcc (/usr/bin/gcc) Compiler version: powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) CUDA compiler: not available Running test suite base............................../opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.2/test/suites/base.bash: line 1: seq: command not found FAILED Test suite: base Test case: stats file forward compatibility Failure reason: Expected "cache miss" to be 5, actual 0 ccache -s: cache directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/14393/.ccache primary config /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/14393/.ccache/ccache.conf secondary config (readonly) stats updated Tue Mar 23 11:41:03 2021 cache hit (direct) 0 cache hit (preprocessed) 0 cache miss 0 cache hit rate 0.00 % cleanups performed 0 files in cache 0 cache size 0.0 kB max cache size 5.0 GB Test data and log file have been left in testdir/14393 / testdir/failed Start 3: test.basedir 3/36 Test #3: test.basedir ..................... Passed 18.62 sec Start 4: test.cache_levels 4/36 Test #4: test.cache_levels ................ Passed 3.54 sec Start 5: test.cleanup 5/36 Test #5: test.cleanup ..................... Passed 15.34 sec Start 6: test.color_diagnostics 6/36 Test #6: test.color_diagnostics ...........***Skipped 0.66 sec Start 7: test.cpp1 7/36 Test #7: test.cpp1 ........................***Skipped 0.66 sec Start 8: test.debug_prefix_map 8/36 Test #8: test.debug_prefix_map ............***Skipped 0.66 sec Start 9: test.depend 9/36 Test #9: test.depend ......................***Failed 6.65 sec Compiler: gcc (/usr/bin/gcc) Compiler version: powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) CUDA compiler: not available Running test suite depend....... FAILED Test suite: depend Test case: Source file with special characters Failure reason: file with$special#characters.d and reference.d differ ccache -s: cache directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/17617/.ccache primary config /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/17617/.ccache/ccache.conf secondary config (readonly) stats updated Tue Mar 23 11:41:49 2021 cache hit (direct) 1 cache hit (preprocessed) 0 cache miss 1 cache hit rate 50.00 % cleanups performed 0 files in cache 2 cache size 8.2 kB max cache size 5.0 GB Test data and log file have been left in testdir/17617 / testdir/failed Start 10: test.direct 10/36 Test #10: test.direct ...................... Passed 45.13 sec Start 11: test.direct_gcc 11/36 Test #11: test.direct_gcc .................. Passed 4.57 sec Start 12: test.fileclone 12/36 Test #12: test.fileclone ...................***Skipped 0.65 sec Start 13: test.hardlink 13/36 Test #13: test.hardlink .................... Passed 2.98 sec Start 14: test.inode_cache 14/36 Test #14: test.inode_cache ................. Passed 3.50 sec Start 15: test.input_charset 15/36 Test #15: test.input_charset ............... Passed 1.42 sec Start 16: test.masquerading 16/36 Test #16: test.masquerading ................ Passed 1.58 sec Start 17: test.modules 17/36 Test #17: test.modules .....................***Skipped 0.64 sec Start 18: test.multi_arch 18/36 Test #18: test.multi_arch .................. Passed 2.81 sec Start 19: test.no_compression 19/36 Test #19: test.no_compression .............. Passed 2.42 sec Start 20: test.nocpp2 20/36 Test #20: test.nocpp2 ......................***Failed 10.23 sec Compiler: gcc (/usr/bin/gcc) Compiler version: powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) CUDA compiler: not available Running test suite nocpp2............................../opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.2/test/suites/base.bash: line 1: seq: command not found FAILED Test suite: nocpp2 Test case: stats file forward compatibility Failure reason: Expected "cache miss" to be 5, actual 0 ccache -s: cache directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/24125/.ccache primary config /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/24125/.ccache/ccache.conf secondary config (readonly) stats updated Tue Mar 23 11:43:05 2021 cache hit (direct) 0 cache hit (preprocessed) 0 cache miss 0 cache hit rate 0.00 % cleanups performed 0 files in cache 0 cache size 0.0 kB max cache size 5.0 GB Test data and log file have been left in testdir/24125 / testdir/failed Start 21: test.nvcc 21/36 Test #21: test.nvcc ........................***Skipped 0.65 sec Start 22: test.nvcc_direct 22/36 Test #22: test.nvcc_direct .................***Skipped 0.64 sec Start 23: test.nvcc_ldir 23/36 Test #23: test.nvcc_ldir ...................***Skipped 0.65 sec Start 24: test.nvcc_nocpp2 24/36 Test #24: test.nvcc_nocpp2 .................***Skipped 0.64 sec Start 25: test.pch 25/36 Test #25: test.pch ......................... Passed 20.29 sec Start 26: test.profiling 26/36 Test #26: test.profiling ...................***Skipped 0.71 sec Start 27: test.profiling_clang 27/36 Test #27: test.profiling_clang .............***Skipped 0.64 sec Start 28: test.profiling_gcc 28/36 Test #28: test.profiling_gcc ...............***Failed 1.67 sec Compiler: gcc (/usr/bin/gcc) Compiler version: powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) CUDA compiler: not available Running test suite profiling_gcc..cc1: error: unrecognized command line option "-fprofile-dir=data" FAILED Test suite: profiling_gcc Test case: -fprofile-dir=dir + -fprofile-use Failure reason: Expected "cache miss" to be 1, actual 0 ccache -s: cache directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/26860/.ccache primary config /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/testdir/26860/.ccache/ccache.conf secondary config (readonly) stats updated Tue Mar 23 11:43:31 2021 cache hit (direct) 0 cache hit (preprocessed) 0 cache miss 0 cache hit rate 0.00 % preprocessor error 1 cleanups performed 0 files in cache 0 cache size 0.0 kB max cache size 5.0 GB Test data and log file have been left in testdir/26860 / testdir/failed Start 29: test.profiling_hip_clang 29/36 Test #29: test.profiling_hip_clang .........***Skipped 0.65 sec Start 30: test.readonly 30/36 Test #30: test.readonly .................... Passed 1.61 sec Start 31: test.readonly_direct 31/36 Test #31: test.readonly_direct ............. Passed 1.45 sec Start 32: test.sanitize_blacklist 32/36 Test #32: test.sanitize_blacklist ..........***Skipped 0.66 sec Start 33: test.serialize_diagnostics 33/36 Test #33: test.serialize_diagnostics .......***Skipped 0.67 sec Start 34: test.source_date_epoch 34/36 Test #34: test.source_date_epoch ...........***Skipped 0.68 sec Start 35: test.split_dwarf 35/36 Test #35: test.split_dwarf .................***Skipped 0.66 sec Start 36: test.upgrade 36/36 Test #36: test.upgrade ..................... Passed 10.02 sec 89% tests passed, 4 tests failed out of 36 Total Test time (real) = 176.59 sec The following tests did not run: 6 - test.color_diagnostics (Skipped) 7 - test.cpp1 (Skipped) 8 - test.debug_prefix_map (Skipped) 12 - test.fileclone (Skipped) 17 - test.modules (Skipped) 21 - test.nvcc (Skipped) 22 - test.nvcc_direct (Skipped) 23 - test.nvcc_ldir (Skipped) 24 - test.nvcc_nocpp2 (Skipped) 26 - test.profiling (Skipped) 27 - test.profiling_clang (Skipped) 29 - test.profiling_hip_clang (Skipped) 32 - test.sanitize_blacklist (Skipped) 33 - test.serialize_diagnostics (Skipped) 34 - test.source_date_epoch (Skipped) 35 - test.split_dwarf (Skipped) The following tests FAILED: 2 - test.base (Failed) 9 - test.depend (Failed) 20 - test.nocpp2 (Failed) 28 - test.profiling_gcc (Failed)