[Android] Bidyadhar:
2017/12/01 11:43:51.250330 cmd/soong_ui/main.go:88: Took 358ms to start up.
2017/12/01 11:43:51.250609 ui/build/build.go:66: Starting build with args: [bacon]
2017/12/01 11:43:51.250846 ui/build/build.go:67: Environment: [XDG_VTNR=7 ANDROID_DEV_SCRIPTS=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/development/scripts:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/devtools/tools:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/external/selinux/prebuilts/bin XDG_SESSION_ID=c2 ANDROID_PRE_BUILD_PATHS=/usr/lib/jvm/java-8-oracle/bin: CLUTTER_IM_MODULE=xim XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/vicky TRACE_BEGIN_SOONG=1512108830892091136 ANDROID_JAVA_TOOLCHAIN=/usr/lib/jvm/java-8-oracle/bin SESSION=ubuntu ANDROID_PRODUCT_OUT=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/target/product/z2_plus ANDROID_BUILD_TOP=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal CARDINAL_BUILD=z2_plus GPG_AGENT_INFO=/home/vicky/.gnupg/S.gpg-agent:0:1 SHELL=/bin/bash VTE_VERSION=4205 XDG_MENU_PREFIX=gnome- TERM=xterm-256color ANDROID_TARGET_OUT_TESTCASES=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/target/product/z2_plus/testcases DERBY_HOME=/usr/lib/jvm/java-8-oracle/db QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 WINDOWID=56623114 GNOME_KEYRING_CONTROL= UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1529 OUT=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/target/product/z2_plus GTK_MODULES=gail:atk-bridge:unity-gtk-module TARGET_BUILD_VARIANT=userdebug USER=vicky LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: ASAN_OPTIONS=detect_leaks=0 QT_ACCESSIBILITY=1 BUILD_ENV_SEQUENCE_NUMBER=13 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 ANDROID_HOST_OUT_TESTCASES=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/host/linux-x86/testcases ANDROID_BUILD_PATHS=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/host/linux-x86/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/host/linux-x86/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/development/scripts:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/devtools/tools:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/external/selinux/prebuilts/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/android-emulator/linux-x86_64: XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 MAKE_TERMOUT=/dev/pts/18 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SESSION_MANAGER=local/vicky-GL552VX:@/tmp/.ICE-unix/1917,unix/vicky-GL552VX:/tmp/.ICE-unix/1917 DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path TOP=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal TARGET_BUILD_APPS= MFLAGS=-w -j --jobserver-fds=3,4 XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg DESKTOP_SESSION=ubuntu TARGET_BUILD_TYPE=release PATH=/usr/lib/jvm/java-8-oracle/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/host/linux-x86/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/host/linux-x86/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/development/scripts:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/devtools/tools:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/external/selinux/prebuilts/bin:/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/android-emulator/linux-x86_64:/home/vicky/bin:/home/vicky/bin:/home/vicky/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin QT_QPA_PLATFORMTHEME=appmenu-qt5 QT_IM_MODULE=ibus XDG_SESSION_TYPE=x11 JOB=dbus PWD=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal XMODIFIERS=@im=ibus JAVA_HOME=/usr/lib/jvm/java-8-oracle GNOME_KEYRING_PID= LANG=en_IN GDM_LANG=en_US MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path ANDROID_TOOLCHAIN=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin ANDROID_TOOLCHAIN_2ND_ARCH=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin IM_CONFIG_PHASE=1 COMPIZ_CONFIG_PROFILE=ubuntu GCC_COLORS=error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01 GDMSESSION=ubuntu TARGET_PLATFORM_VERSION=OPR1 SESSIONTYPE=gnome-session GTK2_MODULES=overlay-scrollbar HOME=/home/vicky XDG_SEAT=seat0 SHLVL=2 LANGUAGE=en_IN:en GNOME_DESKTOP_SESSION_ID=this-is-deprecated XDG_SESSION_DESKTOP=ubuntu LOGNAME=vicky PYTHONPATH=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/development/python-packages: ANDROID_EMULATOR_PREBUILTS=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/prebuilts/android-emulator/linux-x86_64 MAKE_TERMERR=/dev/pts/18 XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-F64ACbIHUe J2SDKDIR=/usr/lib/jvm/java-8-oracle QT4_IM_MODULE=xim TARGET_GCC_VERSION=4.9 LESSOPEN=| /usr/bin/lesspipe %s USE_CCACHE=1 PROMPT_COMMAND=echo -ne "\033]0;[arm64-cardinal_z2_plus-userdebug] vicky@vicky-GL552VX: /media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal\007" BUILD_NUMBER=24211dbcd9 INSTANCE= XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 TARGET_PRODUCT=cardinal_z2_plus ANDROID_HOST_OUT=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/host/linux-x86 GTK_IM_MODULE=ibus J2REDIR=/usr/lib/jvm/java-8-oracle/jre XDG_CURRENT_DESKTOP=Unity LESSCLOSE=/usr/bin/lesspipe %s %s XAUTHORITY=/home/vicky/.Xauthority OUT_DIR=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out PYTHONDONTWRITEBYTECODE=1]
2017/12/01 11:43:51.254951 ui/build/make.go:55: /usr/bin/make [make --no-print-directory -f build/core/config.mk dump-many-vars CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core MAKECMDGOALS=bacon DUMP_MANY_VARS=NINJA_GOALS KATI_GOALS TARGET_PRODUCT CC_WRAPPER CXX_WRAPPER CCACHE_COMPILERCHECK CCACHE_SLOPPINESS CCACHE_BASEDIR CCACHE_CPP2 PLATFORM_VERSION_CODENAME PLATFORM_VERSION TARGET_PRODUCT TARGET_BUILD_VARIANT TARGET_BUILD_TYPE TARGET_BUILD_APPS TARGET_ARCH TARGET_ARCH_VARIANT TARGET_CPU_VARIANT TARGET_2ND_ARCH TARGET_2ND_ARCH_VARIANT TARGET_2ND_CPU_VARIANT HOST_ARCH HOST_2ND_ARCH HOST_OS HOST_OS_EXTRA HOST_CROSS_OS HOST_CROSS_ARCH HOST_CROSS_2ND_ARCH HOST_BUILD_TYPE BUILD_ID OUT_DIR AUX_OS_VARIANT_LIST TARGET_BUILD_PDK PDK_FUSION_PLATFORM_ZIP OUT_DIR=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out /media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/soong.variables]
2017/12/01 11:43:56.039217 ui/build/make.go:70: NINJA_GOALS bacon
2017/12/01 11:43:56.039482 ui/build/make.go:70: KATI_GOALS
2017/12/01 11:43:56.039626 ui/build/make.go:70: TARGET_PRODUCT cardinal_z2_plus
2017/12/01 11:43:56.039713 ui/build/make.go:70: CC_WRAPPER /usr/bin/ccache
2017/12/01 11:43:56.039798 ui/build/make.go:70: CXX_WRAPPER /usr/bin/ccache
2017/12/01 11:43:56.039879 ui/build/make.go:70: CCACHE_COMPILERCHECK content
2017/12/01 11:43:56.039960 ui/build/make.go:70: CCACHE_SLOPPINESS time_macros,include_file_mtime,file_macro
2017/12/01 11:43:56.040048 ui/build/make.go:70: CCACHE_BASEDIR /
2017/12/01 11:43:56.040125 ui/build/make.go:70: CCACHE_CPP2 true
2017/12/01 11:43:56.040214 ui/build/make.go:70: PLATFORM_VERSION_CODENAME REL
2017/12/01 11:43:56.040291 ui/build/make.go:70: PLATFORM_VERSION 8.0.0
2017/12/01 11:43:56.040373 ui/build/make.go:70: TARGET_PRODUCT cardinal_z2_plus
2017/12/01 11:43:56.040452 ui/build/make.go:70: TARGET_BUILD_VARIANT userdebug
2017/12/01 11:43:56.040532 ui/build/make.go:70: TARGET_BUILD_TYPE release
2017/12/01 11:43:56.040611 ui/build/make.go:70: TARGET_BUILD_APPS
2017/12/01 11:43:56.040700 ui/build/make.go:70: TARGET_ARCH arm64
2017/12/01 11:43:56.040775 ui/build/make.go:70: TARGET_ARCH_VARIANT armv8-a
2017/12/01 11:43:56.040853 ui/build/make.go:70: TARGET_CPU_VARIANT generic
2017/12/01 11:43:56.040940 ui/build/make.go:70: TARGET_2ND_ARCH arm
2017/12/01 11:43:56.041018 ui/build/make.go:70: TARGET_2ND_ARCH_VARIANT armv7-a-neon
2017/12/01 11:43:56.041105 ui/build/make.go:70: TARGET_2ND_CPU_VARIANT krait
2017/12/01 11:43:56.041181 ui/build/make.go:70: HOST_ARCH x86_64
2017/12/01 11:43:56.041268 ui/build/make.go:70: HOST_2ND_ARCH x86
2017/12/01 11:43:56.041345 ui/build/make.go:70: HOST_OS linux
2017/12/01 11:43:56.041443 ui/build/make.go:70: HOST_OS_EXTRA Linux-4.10.0-40-generic-x86_64-with-Ubuntu-16.04-xenial
2017/12/01 11:43:56.041522 ui/build/make.go:70: HOST_CROSS_OS windows
2017/12/01 11:43:56.041617 ui/build/make.go:70: HOST_CROSS_ARCH x86
2017/12/01 11:43:56.041694 ui/build/make.go:70: HOST_CROSS_2ND_ARCH x86_64
2017/12/01 11:43:56.041781 ui/build/make.go:70: HOST_BUILD_TYPE release
2017/12/01 11:43:56.041859 ui/build/make.go:70: BUILD_ID OPR6.170623.023
2017/12/01 11:43:56.041945 ui/build/make.go:70: OUT_DIR /media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out
2017/12/01 11:43:56.042021 ui/build/make.go:70: AUX_OS_VARIANT_LIST
2017/12/01 11:43:56.042107 ui/build/make.go:70: TARGET_BUILD_PDK
2017/12/01 11:43:56.042185 ui/build/make.go:70: PDK_FUSION_PLATFORM_ZIP
2017/12/01 11:43:56.042825 ui/build/soong.go:32: ./bootstrap.bash [./bootstrap.bash]
2017/12/01 11:43:56.326582 ui/build/soong.go:56: /media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/soong [/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/soong -w dupbuild=err]
2017/12/01 11:44:08.597694 ui/build/kati.go:103: prebuilts/build-tools/linux-x86/bin/ckati [prebuilts/build-tools/linux-x86/bin/ckati --ninja --ninja_dir=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out --ninja_suffix=-cardinal_z2_plus --regen --ignore_optional_include=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/%.P --color_warnings --gen_all_targets -f build/core/main.mk --use_find_emulator BUILDING_WITH_NINJA=true SOONG_ANDROID_MK=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/Android-cardinal_z2_plus.mk SOONG_MAKEVARS_MK=/media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/soong/make_vars-cardinal_z2_plus.mk]
2017/12/01 11:55:21.645503 ui/build/ninja.go:75: prebuilts/build-tools/linux-x86/bin/ninja [prebuilts/build-tools/linux-x86/bin/ninja -d keepdepfile bacon -j 16 -f /media/vicky/AC1A4AA31A4A6A82/androidrom/cardinal/out/combined-cardinal_z2_plus.ninja -w dupbuild=err]
2017/12/01 12:12:54.134448 ui/build/ninja.go:80: ninja failed with: exit status 1

Please help me fix this error....The above is the soong.log file