[General Questions and Answers] Boom_Hacker:
Mod edit: Thread closed as duplicate of

Lineage OS 18.1 for kiwi UNOFFICIAL build failed

I tried to use the devicetree of lineage 17.1 to develop lineage 18.1(for kiwi), but it failed. The following information is displayed: boomhacker@boomhacker-iMac20-1:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$ source...

xdaforums.com

Oswald Boelcke, Senior Moderator

I tried to use the devicetree of lineage 17.1 to develop lineage 18.1(for kiwi), but it failed. The following information is displayed:

boomhacker@boomhacker-iMac20-1:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$ source build/envsetup.sh

boomhacker@boomhacker-iMac20-1:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$ breakfast kiwi

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

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=11

LINEAGE_VERSION=18.1-20211208-UNOFFICIAL-kiwi

TARGET_PRODUCT=lineage_kiwi

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.11.0-41-generic-x86_64-Zorin-OS-16

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=RQ3A.211001.001

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=vendor/huawei/kiwi device/huawei/kiwi/init device/huawei/kiwi/libshims device/huawei/kiwi/libwcnss_qmi device/huawei/kiwi/light hardware/qcom-caf/msm8916 vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices packages/apps/Bluetooth

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

boomhacker@boomhacker-iMac20-1:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$ brunch kiwi

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

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=11

LINEAGE_VERSION=18.1-20211208-UNOFFICIAL-kiwi

TARGET_PRODUCT=lineage_kiwi

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.11.0-41-generic-x86_64-Zorin-OS-16

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=RQ3A.211001.001

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=vendor/huawei/kiwi device/huawei/kiwi/init device/huawei/kiwi/libshims device/huawei/kiwi/libwcnss_qmi device/huawei/kiwi/light hardware/qcom-caf/msm8916 vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices packages/apps/Bluetooth

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

21:14:39 ************************************************************

21:14:39 You are building on a machine with 15.5GB of RAM

21:14:39

21:14:39 The minimum required amount of free memory is around 16GB,

21:14:39 and even with that, some configurations may not work.

21:14:39

21:14:39 If you run into segfaults or other errors, try reducing your

21:14:39 -j value.

21:14:39 ************************************************************

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=11

LINEAGE_VERSION=18.1-20211208-UNOFFICIAL-kiwi

TARGET_PRODUCT=lineage_kiwi

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.11.0-41-generic-x86_64-Zorin-OS-16

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=RQ3A.211001.001

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=vendor/huawei/kiwi device/huawei/kiwi/init device/huawe

i/kiwi/libshims device/huawei/kiwi/libwcnss_qmi device/huawei/kiwi/light hardwar

e/qcom-caf/msm8916 vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensourc

e/dataservices packages/apps/Bluetooth

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

[100% 41/41] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

FAILED: out/soong/build.ninja

out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b

out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build

-globs.ninja -o out/soong/build.ninja Android.bp

error: device/huawei/kiwi/touch/Android.bp:16:1: module "vendor.lineage.touch@1.

0-service.kiwi" variant "android_arm64_armv8-a_cortex-a53": depends on //system/

libhidl:libhidltransport which is not visible to this module

21:14:49 soong bootstrap failed with: exit status 1

#### failed to build some targets (10 seconds) ####

boomhacker@boomhacker-iMac20-1:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$

Can you help me? Thank you!