[Nexus 5X Original Android Development] ocarinaz64:
DU Sources

Yes, the CarbonROM sources are based off of the DU sources. For now I'm using the following roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--Please do not manually edit this file-->
<manifest>
<project name="CarbonROM/android_device_lge_bullhead" path="device/lge/bullhead" remote="carbon" revision="cr-5.1" />
<project path="kernel/lge/bullhead" name="DirtyUnicorns/android_kernel_lge_bullhead" remote="gh" revision="n7x" />
<project name="DirtyUnicorns/android_vendor_lge" path="vendor/lge" remote="gh" revision="n7x" />
</manifest>

The only change I made from there was to update to the newest build fingerprint. I also found out what I was doing wrong before. I was executing a lunch command, but didn't continue with the "make carbon -j7" command. Unfortunately, for now I'm stuck with build errors saying:

[ 0% 77/45025] build TARGET_KERNEL_BINARIES
FAILED: TARGET_KERNEL_BINARIES
/bin/bash -c "(echo -e \"\\033[32m\"\"Building Kernel\"\"\\033[0m\" ) && (make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" Image.gz-dtb ) && (if grep -q 'CONFIG_OF=y' /home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ/.config ; then echo -e \"\\033[32m\"\"Building DTBs\"\"\\033[0m\" ; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" dtbs ; else echo \"DTBs not enabled\" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ/.config ; then echo -e \"\\033[32m\"\"Building Kernel Modules\"\"\\033[0m\" ; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" modules && make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" modules_install && mdpath=\`find /home/michael/android/carbon/out/target/product/bullhead/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do aarch64-linux-android-strip --strip-unneeded \$i; mv \$i /home/michael/android/carbon/out/target/product/bullhead/system/lib/modules/; done; fi && mdpath=\`find /home/michael/android/carbon/out/target/product/bullhead/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo \"Kernel Modules not enabled\" ; fi )"
Building Kernel
make: Entering directory '/home/michael/android/carbon/kernel/lge/bullhead'
GEN /home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/michael/android/carbon/out/target/product/bullhead/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /home/michael/android/carbon/kernel/lge/bullhead as source for kernel
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for 'dtbs'.
make[2]: Nothing to be done for 'dtbs'.
CALL /home/michael/android/carbon/kernel/lge/bullhead/scripts/checksyscalls.sh
CHK include/generated/compile.h
BC kernel/timeconst.h
/bin/sh: 1: bc: not found
/home/michael/android/carbon/kernel/lge/bullhead/kernel/Makefile:141: recipe for target 'kernel/timeconst.h' failed
make[2]: *** [kernel/timeconst.h] Error 127
/home/michael/android/carbon/kernel/lge/bullhead/Makefile:846: recipe for target 'kernel' failed
make[1]: *** [kernel] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/michael/android/carbon/kernel/lge/bullhead'
[ 0% 77/45025] build /home/michael/android/carbon/out/host/linux-x86/obj32/STATIC_LIBRARIES/libLLVMMC_intermediates/MCInst.o
host C++: libLLVMMC_32 <= external/llvm/lib/MC/MCInst.cpp
[ 0% 77/45025] build /home/michael/android/carbon/out/host/linux-x86/obj32/STATIC_LIBRARIES/libLLVMMC_intermediates/MCInstPrinter.o
host C++: libLLVMMC_32 <= external/llvm/lib/MC/MCInstPrinter.cpp
[ 0% 77/45025] build /home/michael/android/carbon/out/host/linux-x86/obj32/STATIC_LIBRARIES/libLLVMMC_intermediates/MCInstrAnalysis.o
host C++: libLLVMMC_32 <= external/llvm/lib/MC/MCInstrAnalysis.cpp
[ 0% 77/45025] build /home/michael/android/carbon/out/host/linux-x86/obj32/STATIC_LIBRARIES/libLLVMMC_intermediates/MCExpr.o
host C++: libLLVMMC_32 <= external/llvm/lib/MC/MCExpr.cpp
[ 0% 77/45025] build /home/michael/android/carbon/out/host/linux-x86/obj32/STATIC_LIBRARIES/libLLVMBitReader_intermediates/BitcodeReader.o
host C++: libLLVMBitReader_32 <= external/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
[ 0% 77/45025] build /home/michael/android/carbon/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk
target Export Resources: framework-res (/home/michael/android/carbon/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
ninja: build stopped: subcommand failed.
build/core/ninja.mk:166: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

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