)]}'
{
  "commit": "6fccee7ebdb88de45e41eafd50a89436189de5c6",
  "tree": "d9da610b3eca75832b4ff5faefa0a964832ac75a",
  "parents": [
    "1d3a2f812e741b7dd4d128ae9df22dc702977c23"
  ],
  "author": {
    "name": "Googler",
    "email": "noreply@google.com",
    "time": "Fri Sep 30 09:00:17 2022 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Sep 30 09:01:45 2022 -0700"
  },
  "message": "Fix `unable to find library -lrt` on OpenBSD.\n\nThis change mirrors what is already done elsewhere in the same file for omitting `-lrt` on OpenBSD.\n\nAttempting to include `-lrt` results in the following error on OpenBSD:\n\n```\nERROR: /home/ad/tree/src/main/tools/BUILD:28:10: Linking src/main/tools/process-wrapper failed: (Exit 1): clang failed: error executing command (from target //src/main/tools:process-wrapper)\n  (cd /tmp/bazel_4ds6S24b/out/execroot/io_bazel \u0026\u0026 \\\n  exec env - \\\n    PATH\u003d/home/ad/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:/usr/local/jdk-11/bin \\\n    PWD\u003d/proc/self/cwd \\\n  /usr/bin/clang -o bazel-out/openbsd-opt/bin/src/main/tools/process-wrapper bazel-out/openbsd-opt/bin/src/main/tools/_objs/process-wrapper/process-wrapper.o bazel-out/openbsd-opt/bin/src/main/tools/_objs/process-wrapper/process-wrapper-legacy.o bazel-out/openbsd-opt/bin/src/main/tools/_objs/process-wrapper/process-wrapper-options.o bazel-out/openbsd-opt/bin/src/main/tools/libprocess-tools.a bazel-out/openbsd-opt/bin/src/main/protobuf/libexecution_statistics_proto.a bazel-out/openbsd-opt/bin/external/com_google_protobuf/libprotobuf.a bazel-out/openbsd-opt/bin/external/com_google_protobuf/libprotobuf_lite.a bazel-out/openbsd-opt/bin/third_party/zlib/libzlib_checked_in.a bazel-out/openbsd-opt/bin/src/main/tools/liblogging.a -lm -lrt -lpthread -lm -lpthread -lm -lstdc++ -Wl,-z,relro,-z,now -no-canonical-prefixes -Wl,--gc-sections)\n# Configuration: e195de8252629d94d6dacc8fcb187a6351c13c38490dddec78ec59d1c01f00f9\n# Execution platform: //:default_host_platform\nld: error: unable to find library -lrt\n```\nPiperOrigin-RevId: 478005927\nChange-Id: I7e37141d017d4128a7f37112c222b4194007af97\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03fdbf6274f01042519b335318c665c543eda1f2",
      "old_mode": 33188,
      "old_path": "src/main/tools/BUILD",
      "new_id": "8be0bb17339629ac1454a0719adc4bab76136763",
      "new_mode": 33188,
      "new_path": "src/main/tools/BUILD"
    }
  ]
}
