[LG G7 ThinQ  ROMs, Kernels, Recoveries, & Other De] kswis12:
Can anyone help me if I know a lot about ROM build? Where did I go wrong?

kswis12@ubuntu:~/lineage$ export USE_CCACHE=1

kswis12@ubuntu:~/lineage$ croot

kswis12@ubuntu:~/lineage$ brunch judyln

including vendor/lineage/vendorsetup.sh

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

LINEAGE_VERSION=16.0-20190925-UNOFFICIAL-judyln

TARGET_PRODUCT=lineage_judyln

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo300

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a75

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.0.0-29-generic-x86_64-Ubuntu-19.04

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/kswis12/lineage/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

LINEAGE_VERSION=16.0-20190925-UNOFFICIAL-judyln

TARGET_PRODUCT=lineage_judyln

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo300

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a75

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.0.0-29-generic-x86_64-Ubuntu-19.04

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/kswis12/lineage/out

============================================

ninja: no work to do.

ninja: no work to do.

No need to regenerate ninja file

No need to regenerate ninja file

[ 0% 340/46932] build /home/kswis12/l...ows_intermediates/reqd_policy_mask.cil

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/reqd_policy_mask.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/reqd_policy_mask.cil

[ 0% 366/46932] build /home/kswis12/l...lows_intermediates/plat_pub_policy.cil

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_policy.cil.tmp

[ 1% 844/46932] build /home/kswis12/l...ows_intermediates/sepolicy_neverallows

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows

[ 2% 975/46932] build /home/kswis12/l...intermediates/built_26.0_plat_sepolicy

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/treble_sepolicy_tests_26.0_intermediates/26.0_plat_policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/treble_sepolicy_tests_26.0_intermediates/built_26.0_plat_sepolicy

[ 2% 1003/46932] build /home/kswis12/...intermediates/built_27.0_plat_sepolicy

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/treble_sepolicy_tests_27.0_intermediates/27.0_plat_policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/treble_sepolicy_tests_27.0_intermediates/built_27.0_plat_sepolicy

[ 2% 1194/46932] build /home/kswis12/...licy_intermediates/built_plat_sepolicy

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/built_plat_sepolicy_intermediates/base_plat_policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy

[ 2% 1253/46932] build /home/kswis12/...cy.cil_intermediates/plat_sepolicy.cil

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kswis12/lineage/out/target/product/judyln/obj/ETC/plat_sepolicy.cil_intermediates/plat_policy.conf

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: policy configuration loaded

/home/kswis12/lineage/out/host/linux-x86/bin/checkpolicy: writing CIL to /home/kswis12/lineage/out/target/product/judyln/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil

[ 6% 3184/46932] target C++: libgptu.../sdm845-common/gpt-utils/gpt-utils.cpp

device/lge/sdm845-common/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]

struct stat ufs_dir_stat;

^

device/lge/sdm845-common/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]

int r, fd;

^

device/lge/sdm845-common/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]

int r, fd;

^

In file included from device/lge/sdm845-common/gpt-utils/gpt-utils.cpp:49:

In file included from out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/asm/byteorder.h:22:

In file included from out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:12:

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/swab.h:241:29: warning: unused function '__swab32s' [-Wunused-function]

static __always_inline void __swab32s(__u32 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/swab.h:254:29: warning: unused function '__swab64s' [-Wunused-function]

static __always_inline void __swab64s(__u64 *p)

^

In file included from device/lge/sdm845-common/gpt-utils/gpt-utils.cpp:49:

In file included from out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/asm/byteorder.h:22:

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:43:31: warning: unused function '__cpu_to_le64p' [-Wunused-function]

static __always_inline __le64 __cpu_to_le64p(const __u64 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:47:30: warning: unused function '__le64_to_cpup' [-Wunused-function]

static __always_inline __u64 __le64_to_cpup(const __le64 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:51:31: warning: unused function '__cpu_to_le32p' [-Wunused-function]

static __always_inline __le32 __cpu_to_le32p(const __u32 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:55:30: warning: unused function '__le32_to_cpup' [-Wunused-function]

static __always_inline __u32 __le32_to_cpup(const __le32 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:59:31: warning: unused function '__cpu_to_le16p' [-Wunused-function]

static __always_inline __le16 __cpu_to_le16p(const __u16 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:63:30: warning: unused function '__le16_to_cpup' [-Wunused-function]

static __always_inline __u16 __le16_to_cpup(const __le16 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:67:31: warning: unused function '__cpu_to_be64p' [-Wunused-function]

static __always_inline __be64 __cpu_to_be64p(const __u64 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:71:30: warning: unused function '__be64_to_cpup' [-Wunused-function]

static __always_inline __u64 __be64_to_cpup(const __be64 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:75:31: warning: unused function '__cpu_to_be32p' [-Wunused-function]

static __always_inline __be32 __cpu_to_be32p(const __u32 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:79:30: warning: unused function '__be32_to_cpup' [-Wunused-function]

static __always_inline __u32 __be32_to_cpup(const __be32 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:83:31: warning: unused function '__cpu_to_be16p' [-Wunused-function]

static __always_inline __be16 __cpu_to_be16p(const __u16 *p)

^

out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/usr/include/linux/byteorder/little_endian.h:87:30: warning: unused function '__be16_to_cpup' [-Wunused-function]

static __always_inline __u16 __be16_to_cpup(const __be16 *p)

^

17 warnings generated.

[ 12% 5881/46932] Yacc: ss <= external/iproute2/misc/ssfilter.y

external/iproute2/misc/ssfilter.y: conflicts: 35 shift/reduce

[ 20% 9527/46932] Check module type: /...S/Gallery2_intermediates/jni_link_type

packages/apps/Gallery2/Android.mk: warning: Gallery2 (app:platform) should not link to libjni_gallery_jpegstream (native:ndk:libc++:static)

[ 20% 9538/46932] AAPT2 link /home/ksw.../LGEDoze_intermediates/package-res.apk

FAILED: /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2.srcjar /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/src/R.stamp /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/proguard_options

/bin/bash -c "(rm -rf /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 ) && (mkdir -p /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 ) && (rm -f /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-list ) && (touch /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-list ) && (rm -f /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-overlay-list ) && (touch /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-overlay-list ) && (echo -n '/home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-preference_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-preference_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/package-res.apk /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/color_switch_bar_bg.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/color_switchbar_switch_thumb_tint.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/color_switchbar_switch_track_tint.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/drawable_switchbar_background.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/layout_doze.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/layout_switch_bar.xml.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/values_styles.arsc.flat /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/flat-res/device/lge/sdm845-common/doze/res/xml_doze_settings.xml.flat ' >> /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-overlay-list ) && (/home/kswis12/lineage/out/host/linux-x86/bin/aapt2 link -o /home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/package-res.apk -z --no-static-lib-packages --auto-add-overlay \$(cat /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-preference_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-preference_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/extra_packages /home/kswis12/lineage/out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/extra_packages) --manifest device/lge/sdm845-common/doze/AndroidManifest.xml -I /home/kswis12/lineage/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk -I /home/kswis12/lineage/out/target/common/obj/APPS/org.lineageos.platform-res_intermediates/package-export.apk --java /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 --proguard /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/proguard_options --min-sdk-version 28 --target-sdk-version 28 --product default -c en_US,en_US,af_ZA,am_ET,ar_EG,ar_XB,as_IN,az_AZ,be_BY,bg_BG,bn_BD,bs_BA,ca_ES,cs_CZ,da_DK,de_DE,el_GR,en_AU,en_CA,en_GB,en_IN,en_XA,en_XC,es_ES,es_US,et_EE,eu_ES,fa_IR,fi_FI,fr_CA,fr_FR,gl_ES,gu_IN,hi_IN,hr_HR,hu_HU,hy_AM,in_ID,is_IS,it_IT,iw_IL,ja_JP,ka_GE,kk_KZ,km_KH,kn_IN,ko_KR,ky_KG,lo_LA,lt_LT,lv_LV,mk_MK,ml_IN,mn_MN,mr_IN,ms_MY,my_MM,nb_NO,ne_NP,nl_NL,or_IN,pa_IN,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,si_LK,sk_SK,sl_SI,sq_AL,sr_Latn_RS,sr_RS,sv_SE,sw_TZ,ta_IN,te_IN,th_TH,tl_PH,tr_TR,uk_UA,ur_PK,uz_UZ,vi_VN,zh_CN,zh_HK,zh_TW,zu_ZA,ast_ES,gd_GB,cy_GB,normal --preferred-density 560dpi --version-code 28 --version-name 9 -R \\@/home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-overlay-list \\@/home/kswis12/lineage/out/target/product/judyln/obj/APPS/LGEDoze_intermediates/aapt2-flat-list ) && (/home/kswis12/lineage/out/soong/host/linux-x86/bin/soong_zip -o /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2.srcjar -C /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 -D /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 ) && (/home/kswis12/lineage/out/soong/host/linux-x86/bin/extract_jar_packages -i /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2.srcjar -o /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/extra_packages --prefix '--extra-packages ' ) && (rm -f /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/src/R.stamp ) && (for GENERATED_MANIFEST_FILE in \`find /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 -name Manifest.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,"/",\$2);gsub(/;/,"",\$2);print \$2;exit}' \$GENERATED_MANIFEST_FILE\`; mkdir -p /home/kswis12/lineage/out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_MANIFEST_FILE /home/kswis12/lineage/out/target/common/R/\$dir; done ) && (for GENERATED_R_FILE in \`find /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/aapt2 -name R.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,"/",\$2);gsub(/;/,"",\$2);print \$2;exit}' \$GENERATED_R_FILE\`; mkdir -p /home/kswis12/lineage/out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/kswis12/lineage/out/target/common/R/\$dir || exit 31; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/src/R.stamp || exit 32; done ) && (touch /home/kswis12/lineage/out/target/common/obj/APPS/LGEDoze_intermediates/src/R.stamp )"

device/lge/sdm845-common/doze/res/values/styles.xml:33: error: resource layout/preference_category_material_settings (aka org.lineageos.settings.doze:layout/preference_category_material_settings) not found.

device/lge/sdm845-common/doze/res/values/styles.xml:44: error: resource layout/preference_material_settings (aka org.lineageos.settings.doze:layout/preference_material_settings) not found.

error: failed linking references.

[ 20% 9542/46932] AAPT2 link /home/ksw...S/Dialer_intermediates/package-res.apk

warn: removing resource com.android.dialer:string/main_send_feedback without required default value.

warn: removing resource com.android.dialer:string/now without required default value.

warn: removing resource com.android.dialer:string/spam_notification_dialog_was_not_spam_action_text without required default value.

warn: removing resource com.android.dialer:string/spam_notification_not_spam_action_text without required default value.

warn: removing resource com.android.dialer:string/spam_notification_spam_call_expanded_text without required default value.

[ 20% 9543/46932] Building bootanimation

ninja: build stopped: subcommand failed.

16:04:50 ninja failed with: exit status 1

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