[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] ektus:
My test build failed. Twice. Message re-formatted (was mostly one single line, replaced part of path with "~":

[ 84% 30006/35414] target R.java/Manifest.java: CMActions (~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src/R.stamp)
FAILED: /bin/bash -c "(rm -rf ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src/R.stamp &&
mkdir -p ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src/ ) &&
(mkdir -p ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src ) &&
(mkdir -p ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/ ) &&
(~/android/lineage/out/host/linux-x86/bin/aapt package --auto-add-overlay --auto-add-overlay -z
--extra-packages android.support.v14.preference:android.support.v7.appcompat:android.support.v7.preference:android.support.v7.recyclerview:com.android.settingslib
--pseudo-localize -m -J ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src
-M device/motorola/cedric/cmactions/AndroidManifest.xml -P
~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/public_resources.xml
-S device/motorola/cedric/cmactions/res -S device/motorola/cedric/cmactions/../../../../packages/resources/devicesettings/res
-S frameworks/support/v14/preference/res -S frameworks/support/v7/appcompat/res
-S frameworks/support/v7/preference/res -S frameworks/support/v7/recyclerview/res
-S frameworks/base/packages/SettingsLib/res -I ~/android/lineage/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk
-I ~/android/lineage/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/package-export.apk
-G ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/proguard_options
--min-sdk-version 25 --target-sdk-version 25 --version-code 25 --version-name 7.1.2
--skip-symbols-without-default-localization ) && (for GENERATED_MANIFEST_FILE in
\`find ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src
-name Manifest.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}'
\$GENERATED_MANIFEST_FILE\`; mkdir -p ~/android/lineage/out/target/common/R/\$dir; ~/android/lineage/out/host/linux-x86/bin/acp
-fp \$GENERATED_MANIFEST_FILE ~/android/lineage/out/target/common/R/\$dir; done ) && (for GENERATED_R_FILE in
\`find ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src -name R.java 2> /dev/null\`;
do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_R_FILE\`;
mkdir -p ~/android/lineage/out/target/common/R/\$dir; ~/android/lineage/out/host/linux-x86/bin/acp
-fp \$GENERATED_R_FILE ~/android/lineage/out/target/common/R/\$dir || exit 31; ~/android/lineage/out/host/linux-x86/bin/acp
-fp \$GENERATED_R_FILE ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src/R.stamp || exit 32; done )
&& (touch ~/android/lineage/out/target/common/obj/APPS/CMActions_intermediates/src/R.stamp )"
ERROR: resource directory 'device/motorola/cedric/cmactions/../../../../packages/resources/devicesettings/res' does not exist
[ 84% 30006/35414] Building bootanimation
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '~/android/lineage'

#### make failed to build some targets (03:28:15 (hh:mm:ss)) ####