[OnePlus X Q&A, Help & Troubleshooting] psychem:
[MENTION=7093179]YumeMichi[/MENTION]

using sultan camera source getting this error.

[ 82% 253/306] Building Kernel Config
make: Entering directory '/root/android/lineage/kernel/oneplus/onyx'
GEN /root/android/lineage/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/root/android/lineage/kernel/oneplus/onyx'
make: Entering directory '/root/android/lineage/kernel/oneplus/onyx'
GEN /root/android/lineage/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/root/android/lineage/kernel/oneplus/onyx'
[ 84% 260/306] build /root/android/lineage/out/t...file_contexts_intermediates/vendor_file_contexts
FAILED: /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
/bin/bash -c "(m4 -s system/sepolicy/vendor/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/qcom/sepolicy-legacy/common/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/qcom/sepolicy-legacy/msm8974/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/qcom/sepolicy-legacy/test/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/qcom/sepolicy-legacy/legacy-common/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/lineage/sepolicy/qcom/common/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/oneplus/onyx/sepolicy/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl device/lineage/sepolicy/common/vendor/file_contexts /root/android/lineage/out/target/product/onyx/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl > /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp ) && (/root/android/lineage/out/host/linux-x86/bin/checkfc /root/android/lineage/out/target/product/onyx/obj/ETC/sepolicy_intermediates/sepolicy /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp ) && (/root/android/lineage/out/host/linux-x86/bin/fc_sort /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts )"
/root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp: Multiple same specifications for /dev/block/platform/msm_sdcc\.1/by-name/persist.
Error: could not load context file from /root/android/lineage/out/target/product/onyx/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts.tmp
[ 86% 265/306] Building Kernel
make: Entering directory '/root/android/lineage/kernel/oneplus/onyx'
GEN /root/android/lineage/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /root/android/lineage/out/target/product/onyx/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Using /root/android/lineage/kernel/oneplus/onyx as source for kernel
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /root/android/lineage/kernel/oneplus/onyx/scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
CAT arch/arm/boot/zImage-dtb
Kernel: arch/arm/boot/zImage-dtb is ready
make: Leaving directory '/root/android/lineage/kernel/oneplus/onyx'
Building DTBs
make: Entering directory '/root/android/lineage/kernel/oneplus/onyx'
make[2]: Nothing to be done for 'arch/arm/boot/dtbs'.
make: Leaving directory '/root/android/lineage/kernel/oneplus/onyx'
ninja: build stopped: subcommand failed.
11:19:40 ninja failed with: exit status 1

#### failed to build some targets (02:04 (mm:ss)) ####

Also can you say something about integrating onyparts.apk into the rom? how to do it?