[OnePlus 5T  Questions & Answers] Jamie_oppo:
speaking of the awesome guy ^^^^^^^^^^^^

i hate to keep just posting errors and annoying you/s but it seems it just compiles for 1 second then errors with a new error. like it keep going and going and i dont want to keep posting errors that i dont know how to fix

jamie@jamie-Aspire-V3-371:~/AOSP$ make clobber
19:35:42 Entire build directory removed.

#### build completed successfully ####

jamie@jamie-Aspire-V3-371:~/AOSP$ make otapackage -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=nitrogen_dumpling
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
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.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM5.171019.017
OUT_DIR=/home/jamie/AOSP/out
============================================
[44/44] bootstrap /home/jamie/AOSP/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/jamie/AOSP/out/soong/.boot.../AOSP/out/soong/.bootstrap/build.ninja
[859/860] glob vendor/*/*/*/*/*/*/Android.bp
[54/54] /home/jamie/AOSP/out/soong/.bo.../home/jamie/AOSP/out/soong/build.ninja
/home/jamie/AOSP/out/build-nitrogen_dumpling.ninja is missing, regenerating...
[471/986] including ./hardware/qcom/camera/Android.mk ...
build/core/binary.mk:40: warning: hal3-test-app uses kernel headers, but does not depend on them!
[659/986] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:111: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[986/986] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
PRODUCT_COPY_FILES device/oneplus/msm8998-common/configs/perfboostsconfig.xml:system/vendor/etc/perf/perfboostsconfig.xml ignored.
build/core/Makefile:53: warning: Duplicate header copy: /home/jamie/AOSP/out/target/product/dumpling/obj/include/qcom/display/qd_utils.h
build/core/Makefile:53: warning: Defined in: hardware/qcom/display-caf/msm8998/libqdutils/../common.mk hardware/qcom/display-caf/msm8998/libqdutils/../common.mk
No private recovery resources for TARGET_DEVICE dumpling
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/framework/dpm.jar'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/framework/dpm.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/libmm-qcamera.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/libmm-qcamera.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/vendor.qti.hardware.camera.device@1.0.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib/vendor.qti.hardware.camera.device@1.0.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libjni_pacprocessor.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libjni_pacprocessor.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_abr.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_abr.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_enc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/libldacBT_enc.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/vendor.qti.hardware.camera.device@1.0.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/lib64/vendor.qti.hardware.camera.device@1.0.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/hw/camera.msm8998.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/hw/camera.msm8998.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmcamera_interface.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmcamera_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmjpeg_interface.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libmmjpeg_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libqomx_core.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `/home/jamie/AOSP/out/target/product/dumpling/system/vendor/lib/libqomx_core.so'

[ 90% 10/11] glob vendor/*/*/*/*/*/*/Android.bp
ninja: error: '/home/jamie/AOSP/out/target/product/dumpling/obj/STATIC_LIBRARIES/libinit_oneplus_msm8998_intermediates/export_includes', needed by '/home/jamie/AOSP/out/target/product/dumpling/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
19:46:17 ninja failed with: exit status 1

#### failed to build some targets (01:05 (mm:ss)) ####