Q:

While I make the source of Android 6.0, it failed

When I execute the "make" command of source of Android 6.0, it failed. Here is the error message, I can't see and don't find any resolve method.
Please help me.

[ 31% 8837/27694] Build:
  out/host/darwin-x86/obj/EXECUTABLES/jack_intermediates/jack FAILED:
  /bin/bash -c "(true) && (out/host/darwin-x86/bin/jack-admin
  install-server out/host/darwin-x86/framework/jack-launcher.jar
  out/host/darwin-x86/framework/jack-server.jar  2>&1 || (exit 0)) &&
  (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8
  -XX:+TieredCompilation\" out/host/darwin-x86/bin/jack-admin start-server 2>&1 || exit 0) && (out/host/darwin-x86/bin/jack-admin
  update server out/host/darwin-x86/framework/jack-server.jar 4.1.ALPHA
  2>&1 || exit 0) && (out/host/darwin-x86/bin/jack-admin update jack
  prebuilts/sdk/tools/jacks/jack-2.23.RELEASE.jar 2.23.RELEASE || exit
  47; out/host/darwin-x86/bin/jack-admin update jack
  prebuilts/sdk/tools/jacks/jack-3.2.ALPHA.jar 3.2.ALPHA || exit 47) &&
  (mkdir -p out/host/darwin-x86/obj/EXECUTABLES/jack_intermediates/) &&
  (out/host/darwin-x86/bin/acp -fp prebuilts/sdk/tools/jack
  out/host/darwin-x86/obj/EXECUTABLES/jack_intermediates/jack)" Writing
  client settings in /Users/jon/.jack-settings Unsupported curl, please
  use a curl not based on SecureTransport Launching Jack server java
  -Djava.io.tmpdir=/var/folders/ym/_dhlr3xd0gz372gphbc0b37r0000gn/T/ -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /Users/jon/.jack-server/launcher.jar
  com.android.jack.launcher.ServerLauncher
  out/host/darwin-x86/bin/jack-admin: line 259:
  /Users/jon/.jack-server/logs/outputs.txt: No such file or directory
  Jack server failed to (re)start, see Jack server log Unsupported curl,
  please use a curl not based on SecureTransport Unsupported curl,
  please use a curl not based on SecureTransport ninja: build stopped:
  subcommand failed. make: *** [ninja.intermediate] Error 1
  
  make failed to build some targets (02:41:43 (hh:mm:ss))

A:

Easy alternative when using Homebrew:
brew install curl --with-openssl
export PATH=$(brew --prefix curl)/bin:$PATH
caffeinate make -j4

Note: caffeinate is just to prevent OS X from sleeping

