+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ccache-4.10.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ccache-4.10.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ccache-4.10.2
[  1%] Building CXX object src/third_party/cxxurl/CMakeFiles/dep_cxxurl.dir/cxxurl/url.cpp.o
[  2%] Linking CXX static library libdep_cxxurl.a
[  2%] Built target dep_cxxurl
[  3%] Building C object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3.c.o
[  4%] Building C object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_dispatch.c.o
[  6%] Building C object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_portable.c.o
[  7%] Building ASM object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_sse2_x86-64_unix.S.o
[  8%] Building ASM object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_sse41_x86-64_unix.S.o
[  9%] Building ASM object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_avx2_x86-64_unix.S.o
[ 11%] Building ASM object src/third_party/blake3/CMakeFiles/dep_blake3.dir/blake3/blake3_avx512_x86-64_unix.S.o
[ 12%] Linking C static library libdep_blake3.a
[ 12%] Built target dep_blake3
[ 13%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/Args.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 14%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/Config.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 16%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/Context.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 17%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/Depfile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 18%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/Hash.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 19%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/ProgressBar.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 20%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/argprocessing.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 22%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/ccache.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 23%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/compopt.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 24%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/execute.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 25%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/hashutil.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 27%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/language.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 28%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/version.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 29%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/SignalHandler.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 30%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/AtomicFile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 32%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/CacheEntry.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 33%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/FileRecompressor.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 34%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/Manifest.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 35%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/MsvcShowIncludesOutput.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 37%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/Result.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 38%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/ResultExtractor.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 39%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/ResultInspector.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 40%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/ResultRetriever.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 41%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/Statistics.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 43%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/StatisticsCounters.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 44%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/StatsLog.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 45%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/common.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 46%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/mainoptions.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 48%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/core/types.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 49%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 50%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/local/StatsFile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 51%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/local/util.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 53%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/remote/FileStorage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 54%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/remote/HttpStorage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 55%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/remote/RemoteStorage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 56%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/remote/RedisStorage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 58%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/storage/Storage.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 59%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/Bytes.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 60%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/DirEntry.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 61%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/LockFile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 62%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/LongLivedLockFileManager.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 64%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/MemoryMap.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 65%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/TemporaryFile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 66%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/TextTable.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 67%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/ThreadPool.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 69%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/TimePoint.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 70%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/Tokenizer.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 71%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/UmaskScope.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 72%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/assertions.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 74%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/cpu.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 75%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/environment.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 76%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/error.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 77%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/file.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 79%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/filesystem.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 80%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/logging.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 81%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/path.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 82%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/process.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 83%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/string.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 85%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/time.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 86%] Building CXX object src/ccache/CMakeFiles/ccache_framework.dir/util/zstd.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 87%] Linking CXX static library libccache_framework.a
[ 87%] Built target ccache_framework
[ 88%] Building CXX object src/ccache/CMakeFiles/test-lockfile.dir/test_lockfile.cpp.o
In file included from <command-line>:
/home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build/config.h:48: warning: "_XOPEN_SOURCE" redefined
   48 | #  define _XOPEN_SOURCE
      | 
<built-in>: note: this is the location of the previous definition
[ 90%] Linking CXX executable test-lockfile
Undefined			first referenced
 symbol  			    in file
sendfile                            libccache_framework.a(file.cpp.o)
ld: fatal: symbol referencing errors. No output written to test-lockfile
collect2: error: ld returned 1 exit status
*** [src/ccache/test-lockfile] Error code 1

bmake[2]: stopped making "src/ccache/CMakeFiles/test-lockfile.dir/build" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
bmake[2]: 1 error

bmake[2]: stopped making "src/ccache/CMakeFiles/test-lockfile.dir/build" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
*** [src/ccache/CMakeFiles/test-lockfile.dir/all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/devel/ccache/work/ccache-4.10.2/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ccache
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ccache