[OnePlus 3 Questions & Answers] fiepi:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="CyanogenMod/android_kernel_oneplus_msm8996" path="kernel/oneplus/msm8996" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-14.1" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.1" />
</manifest>

brunch oneplus3
including vendor/cm/vendorsetup.sh
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
make: Entering directory '/home/android/cyanogenmod/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
Running kati to generate build-cm_oneplus3.ninja...
Environment variable BUILD_NUMBER was modified (fd1178d4b1 => 00ef3f6dc6), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.1-20161115-UNOFFICIAL-oneplus3
TARGET_PRODUCT=cm_oneplus3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.7-1-ARCH-x86_64-with-glibc2.2.5
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/home/android/cyanogenmod/system/out
============================================
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1231: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/android/cyanogenmod/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Atria.ogg:system/media/audio/ringtones/Atria.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/material/ogg/Pyxis.ogg:system/media/audio/ringtones/Pyxis.ogg ignored.
No private recovery resources for TARGET_DEVICE oneplus3
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_calib3d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_core.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_features2d.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_flann.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_highgui.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgcodecs.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_imgproc.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_ml.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_objdetect.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_photo.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_shape.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_stitching.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_superres.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videoio.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_video.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/lib/libopencv_videostab.so'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-brcm.conf'
build/core/Makefile:34: warning: overriding commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/android/cyanogenmod/system/out/target/product/oneplus3/system/etc/libnfc-nxp.conf'
Starting build with ninja
ninja: Entering directory `.'
[ 0% 22/50619] host C++: libaidl-common <= /home/android...IBRARIES/libaidl-common_intermediates/aidl_language_l.cpp
FAILED: /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o
/bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/gtest/include -I system/tools/aidl -I /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates -I /home/android/cyanogenmod/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaidl-common_intermediates -I libnativehelper/include/nativehelper \$(cat /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /home/android/cyanogenmod/system/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -Wsign-promo -Wno-inconsistent-missing-override --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -target x86_64-linux-gnu -fPIC -D_USING_LIBCXX -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unneeded-internal-declaration -Wno-deprecated-register -Wno-writable-strings -std=gnu++14 -nostdinc++ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d -o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.o /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp ) && (cp /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d >> /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.P; rm -f /home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.d )"
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:904:23: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
~~~ ^ ~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1395:3: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:731:18: note: expanded from macro 'YY_INPUT'
for ( n = 0; n < max_size && \
~ ^ ~~~~~~~~
/home/android/cyanogenmod/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp:1966:17: error: comparison of integers of different signs: 'yy_size_t' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare]
for ( i = 0; i < _yybytes_len; ++i )
~ ^ ~~~~~~~~~~~~
3 errors generated.
[ 0% 22/50619] target Java: libprotobuf-java-nano (/home...VA_LIBRARIES/libprotobuf-java-nano_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 22/50619] host Java: doclava (/home/android/cyanoge.../common/obj/JAVA_LIBRARIES/doclava_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/android/cyanogenmod/system'

#### make failed to build some targets (48 seconds) ####