[Android Q&A, Help & Troubleshooting] RicardoMullion:
I am working for lineageos 13.0 for my lg nitro hd (p930)

I try to make clobber and rebuild 4-5 times but still make this error (Just a unnormal syntax error)

My device repo https://github.com/Nitro-lineage

Please help me and sorry for my bad english :)

full error log: https://pastebin.com/uYsDzLBX

man1@man1-host0617:~/lineage$ brunch p930 2>&1 | tee build.logincluding vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
LINEAGE_VERSION=13.0-20170527-UNOFFICIAL-p930
TARGET_PRODUCT=lineage_p930
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=scorpion
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-53-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=MOB31T
OUT_DIR=/home/man1/lineage/out
============================================

make: Entering directory '/home/man1/lineage'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
LINEAGE_VERSION=13.0-20170527-UNOFFICIAL-p930
TARGET_PRODUCT=lineage_p930
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=scorpion
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-53-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=MOB31T
OUT_DIR=/home/man1/lineage/out
============================================
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/man1/lineage/out/target/product/p930/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/man1/lineage/out/target/product/p930/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/man1/lineage/out/target/product/p930/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/man1/lineage/out/target/product/p930/obj/include/qcom/display/copybit_priv.h'
build/core/base_rules.mk:559: warning: overriding recipe for target '/home/man1/lineage/out/target/product/p930/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/man1/lineage/out/target/product/p930/root/res/images/charger/battery_fail.png'
find: ‘dummy’: 沒有此一檔案或目錄
build/core/Makefile:46: warning: overriding recipe for target '/home/man1/lineage/out/target/product/p930/system/bin/rild'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/man1/lineage/out/target/product/p930/system/bin/rild'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
build/core/Makefile:46: warning: overriding recipe for target '/home/man1/lineage/out/target/product/p930/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/man1/lineage/out/target/product/p930/system/etc/wifi/wpa_supplicant.conf'
No private recovery resources for TARGET_DEVICE p930
target Symbolic: libm (/home/man1/lineage/out/target/product/p930/symbols/system/lib/libm.so)
external/sepolicy/zygote.te:3:ERROR 'syntax error' at token 'type' on line 10062:
type zygote, domain;
# zygote
checkpolicy: error(s) encountered while parsing configuration
/home/man1/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/man1/lineage/out/target/product/p930/obj/ETC/sepolicy_intermediates/policy.conf
external/sepolicy/Android.mk:85: recipe for target '/home/man1/lineage/out/target/product/p930/obj/ETC/sepolicy_intermediates/sepolicy' failed
make: *** [/home/man1/lineage/out/target/product/p930/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/man1/lineage'

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

man1@man1-host0617:~/lineage$