)]}' { "commit": "d5fba00a6d1e233434eaef38927f8a8b58bc830a", "tree": "5dbc15a0f61ec1e572561d1f06e47ffb871fdbac", "parents": [ "32012fb81fd1e047d30a7f9092c12ce1c40a7aa6" ], "author": { "name": "Jacek Centkowski", "email": "geminica.programs@gmail.com", "time": "Tue Nov 23 19:02:37 2021 +0100" }, "committer": { "name": "Jacek Centkowski", "email": "geminica.programs@gmail.com", "time": "Wed Nov 24 17:28:52 2021 +0100" }, "message": "fix: cannot build \u0027gerrit-3.2\u0027 on MacOS\n\nWhen `bazel build release` is called the following issue is being\nthrown:\n ERROR: /Users/jacek.centkowski/workspace/open/open-source/gerrit/plugins/gitiles/BUILD:23:9: Executing genrule //plugins/gitiles:gitiles-servlet-resources failed: (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)\n\n Use --sandbox_debug to see verbose messages from the sandbox\n sed: -I or -i may not be used with stdin\n Target //plugins/gitiles:gitiles failed to build\n\nIt seems that \u0027Load fonts directly from Gerrit instead of 3rd party\ndomains\u0027 introduced the `sed` transformation that is not supported under\nMacOS. As suggested in [1] the most portable way is to handle the backup\nfile in the command line (at least it works on MacOS ;)).\n\n[1] https://stackoverflow.com/a/21243111\n\nBug: Issue 15307\nChange-Id: I3c40bc42d0a0d1a25aacd1cd2687af03970f88b4\n", "tree_diff": [ { "type": "modify", "old_id": "6aa6df557caa3d03974be654aca3e28dbb48069f", "old_mode": 33188, "old_path": "BUILD", "new_id": "057d3d245adbdd0a36717005c16969f1d6729c2b", "new_mode": 33188, "new_path": "BUILD" } ] }