OS X EI Capitan(10.11.6)执行brew upgrade cmake 升级到cmake-3.14.2/cmake-3.17.3报告错误“make: *** [all] Error 2”

$ brew upgrade cmake
Updating Homebrew...
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this old version.

==> Upgrading 1 outdated package:
cmake 3.12.0 -> 3.14.2
==> Upgrading cmake 
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.14.2/cmake
Already downloaded: /Users/xxxx/Library/Caches/Homebrew/downloads/348cde1c4453dba1e5e72e9bb6ae7cd45fffb907d265cd06efd513841eda8541--cmake-3.14.2.tar.gz
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/3.14.2 --no-system-libs --paral
==> make
Last 15 lines from /Users/xxxx/Library/Logs/Homebrew/cmake/02.make:
[ 23%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/frm_req_name.c.o
[ 23%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/frm_scale.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/frm_sub.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/frm_user.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/frm_win.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_alnum.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_alpha.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_enum.c.o
[ 24%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_int.c.o
[ 25%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_ipv4.c.o
[ 25%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_num.c.o
[ 25%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fty_regex.c.o
[ 25%] Linking C static library libcmForm.a
[ 25%] Built target cmForm
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!


Error: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience, as you are running this old version.

查看日志`/Users/xxxx/Library/Logs/Homebrew/cmake/02.make`,内容如下:

继续阅读OS X EI Capitan(10.11.6)执行brew upgrade cmake 升级到cmake-3.14.2/cmake-3.17.3报告错误“make: *** [all] Error 2”