[Nexus 6  General] Tanksteel:
I am now getting

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=8.0.0

TARGET_PRODUCT=aosp_arm

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

TARGET_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=darwin

HOST_OS_EXTRA=Darwin-17.0.0-x86_64-i386-64bit

HOST_BUILD_TYPE=release

BUILD_ID=OPR6.170623.013

OUT_DIR=out

============================================

ninja: no work to do.

[1/2] glob vendor/*/*/Android.bp

ninja: no work to do.

$(shell build/core/find-jdk-tools-jar.sh) was changed, regenerating...

[2/974] including ./art/Android.mk ...

art/build/Android.common.mk:50: warning: unsupported HOST_ARCH=x86_64

[9/974] including ./cts/Android.mk ...

cts/apps/CtsVerifier/Android.mk:72: warning: FindEmulator: find: `cts/apps/CtsVerifier/src/com/android/cts/verifier/backup': No such file or directory

build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/res: No such file or directory

build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/backup/assets: No such file or directory

cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory

cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory

cts/tests/tests/contactsproviderwipe/Android.mk:33: warning: FindEmulator: find: `cts/tests/tests/contactsproviderwipe/common/src': No such file or directory

cts/tests/tests/telecom3/Android.mk:37: warning: FindEmulator: find: `cts/tests/tests/telecom/src/android/telecom/cts/MockDialerActivity.java': No such file or directory

[323/974] including ./external/toybox/Android.mk ...

awk: syntax error at source line 1

context is

match($0, >>> /TOYBOX_VERSION.*"(.*)"/, <<<

awk: bailing out at source line 1

[355/974] including ./frameworks/av/media/libaaudio/Android.mk ...

\e[1mframeworks/av/media/libaaudio/examples/input_monitor/static/Android.mk: \e[35mwarning:\e[0m\e[1m input_monitor: unusual tags examples \e[0m

\e[1mframeworks/av/media/libaaudio/examples/write_sine/static/Android.mk: \e[35mwarning:\e[0m\e[1m write_sine: unusual tags examples \e[0m

[389/974] including ./frameworks/base/Android.mk ...

./frameworks/base/Android.mk:865: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory

./frameworks/base/Android.mk:874: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory

./frameworks/base/Android.mk:879: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory

./frameworks/base/Android.mk:884: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory

[717/974] including ./system/sepolicy/Android.mk ...

./system/sepolicy/Android.mk:107: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version

[974/974] including ./tools/tradefederation/core/Android.mk ...

\e[1mplatform_testing/build/tasks/tests/instrumentation_metric_test_list.mk: \e[35mwarning:\e[0m\e[1m continuous_instrumentation_metric_tests: Unknown installed file for module perf-setup.sh \e[0m

\e[1mplatform_testing/build/tasks/tests/instrumentation_test_list.mk: \e[35mwarning:\e[0m\e[1m continuous_instrumentation_tests: Unknown installed file for module RecyclerViewTests \e[0m

\e[1mplatform_testing/build/tasks/tests/instrumentation_test_list.mk: \e[35mwarning:\e[0m\e[1m continuous_instrumentation_tests: Unknown installed file for module SettingsFunctionalTests \e[0m

\e[1mplatform_testing/build/tasks/tests/instrumentation_test_list.mk: \e[35mwarning:\e[0m\e[1m continuous_instrumentation_tests: Unknown installed file for module LauncherFunctionalTests \e[0m

\e[1mplatform_testing/build/tasks/tests/native_metric_test_list.mk: \e[35mwarning:\e[0m\e[1m continuous_native_metric_tests: Unknown installed file for module perf-setup.sh \e[0m

test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory

test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory

test/vts/tools/build/tasks/vts_package.mk:216: warning: FindEmulator: cd: vendor/google_vts/testcases: No such file or directory

./test/vts/utils/python/archive/Android.mk:28: warning: overriding commands for target `default'

./test/vts/runners/host/tcp_server/Android.mk:19: warning: ignoring old commands for target `default'

./test/vts/utils/python/coverage/Android.mk:28: warning: overriding commands for target `default'

./test/vts/utils/python/archive/Android.mk:28: warning: ignoring old commands for target `default'

[ 50% 1/2] glob vendor/*/*/Android.bp

[ 0% 82/58207] yacc out/soong/.interm.../system/tools/aidl/aidl_language_y.cpp

FAILED: out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86_64_static/gen/yacc/system/tools/aidl/aidl_language_y.cpp out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86_64_static/gen/yacc/system/tools/aidl/aidl_language_y.h

BISON_PKGDATADIR=external/bison/data prebuilts/misc/darwin-x86/bison/bison -d --defines=out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86_64_static/gen/yacc/system/tools/aidl/aidl_language_y.h -o out/soong/.intermediates/system/tools/aidl/libaidl-common/darwin_x86_64_static/gen/yacc/system/tools/aidl/aidl_language_y.cpp system/tools/aidl/aidl_language_y.yy

ninja: build stopped: subcommand failed.

10:27:13 ninja failed with: exit status 1

make: *** [run_soong_ui] Error 1

#### make failed to build some targets (17:46 (mm:ss)) ####

Does anyone know how to fix this?

the command I ran was make dist DIST_DIR=dist_output