Android build ends with FAILED: bacon - Android Q&A, Help & Troubleshooting

Hello there,
Today i tried Porting LineageOS 17.1 for ZTE Nubia X:
- I did my source code setup as described on wiki.lineageos.org
- I took the device tree from Mokee OS, and modified the files to fit Lineage
- I pulled the vendor files from the Phone using proprietary-files.txt
- I ran breakfast
- I ran brunch
So i got a few questions, and i think they are about Porting in general so i hope i'm right here.
Question #1:
The lineage/device/nubia/nx616j makefiles of the mokee source do point to lineage/device/nubia/sdm845-common makefiles, also the bash scripts for pulling vendor blobs from the device.
Does that maybe have tho do with my second problem, because my particular phone just don't needs these proprietary files?
Question #2:
When i pulled the vendor files, some(a lot of) files couldn't be found. Is that bad or maybe the cause of my third problem?
Question #3:
When i run breakfast, it suceeds(I think):
Code:
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20201106-UNOFFICIAL-nx616j
TARGET_PRODUCT=lineage_nx616j
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Linux-Mint-20
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/nubia/sdm845-common device/nubia/sdm845-common hardware/qcom-caf/sdm845
============================================
But when i run brunch, it fails:
Code:
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20201106-UNOFFICIAL-nx616j
TARGET_PRODUCT=lineage_nx616j
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Linux-Mint-20
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/nubia/sdm845-common device/nubia/sdm845-common hardware/qcom-caf/sdm845
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20201106-UNOFFICIAL-nx616j
TARGET_PRODUCT=lineage_nx616j
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Linux-Mint-20
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ3A.200805.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/nubia/sdm845-common device/nubia/sdm845-common h
ardware/qcom-caf/sdm845
============================================
[100% 545/545] build bacon
FAILED: bacon
/bin/bash -c "(ln -f out/target/product/nx616j/lineage-17.1-20201106-UNOFFICIAL
-nx616j.zip ) && (md5sum out/target/product/nx616j/lineage-17.1-20201106-UNOFFIC
IAL-nx616j.zip | sed \"s|out/target/product/nx616j/||\" > out/target/product/nx6
16j/lineage-17.1-20201106-UNOFFICIAL-nx616j.zip.md5sum ) && (echo \"Package Comp
lete: out/target/product/nx616j/lineage-17.1-20201106-UNOFFICIAL-nx616j.zip\" >&
2 )"
ln: cannot create hard link from 'out/target/product/nx616j/lineage-17.1-2020110
6-UNOFFICIAL-nx616j.zip' to './lineage-17.1-20201106-UNOFFICIAL-nx616j.zip': No
such file or directory
19:18:14 ninja failed with: exit status 1
#### failed to build some targets (4 seconds) ####
Any suggestions?

Related

OnePlus Lollipop Development Help

Please I need serious help
I am trying to build lollipop for oneplus one.
I have followed multiple guides to get this correct.
However I am stuck at [email protected]:~/bin/WORKING_DIRECTORY$ make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=aosp_bacon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
Checking build tools versions...
build/core/dex_preopt.mk:47: *** target pattern contains no '%'. Stop.
However if i use "sudo make -j 16"
I get this
Which would you like? [aosp_arm-eng] 15
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=aosp_bacon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
[email protected]:~/bin/WORKING_DIRECTORY$ sudo make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
Checking build tools versions...
What happens is the target product and everything changes so the output is a generic build.
Please help
Thanks

Error while building CM 13 ROM: Don't have a product spec for: cm_I9515

Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
triplecan said:
Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
Click to expand...
Click to collapse
It means that the device tree you are using is not detected by the compiler. It cant find the product cm_I9515. So check the device tree and try again

Lineageos 16 - Sagit - MI6 - file name too long - failed to build some targets

including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/xiaomi/sagit
Looking for dependencies in device/xiaomi/msm8998-common
Looking for dependencies in kernel/xiaomi/msm8998
kernel/xiaomi/msm8998 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190706-UNOFFICIAL-sagit
TARGET_PRODUCT=lineage_sagit
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-148-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190605.003
OUT_DIR=/aout/lin16
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190706-UNOFFICIAL-sagit
TARGET_PRODUCT=lineage_sagit
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-148-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190605.003
OUT_DIR=/aout/lin16
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
============================================
ninja: no work to do.
[1/1] /aout/lin16/soong/.bootstrap/bin/soong_build /aout/lin16/soong/build.ninja
FAILED: /aout/lin16/soong/build.ninja
/aout/lin16/soong/.bootstrap/bin/soong_build -t -l /aout/lin16/.module_paths/Android.bp.list -b /aout/lin16/soong -n /aout/lin16 -d /aout/lin16/soong/build.ninja.d -o /aout/lin16/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:27:1: module "generated_kernel_includes": unable to glob kernel/xiaomi/msm8998/include/**/*: IsDir(kernel/xiaomi/msm8998/include/linux/in6.h): unexpected error after glob: stat kernel/xiaomi/msm8998/include/linux/in6.h: file name too long
ninja: build stopped: subcommand failed.
#### failed to build some targets (10 seconds) ####
Newbie - Have downloaded the lineageos 16 officially supported image . For fun wanted to build the image for my new device. Need community help / support .(Have run breakfast sagit and downloaded the files from github/themuppets for sagit)
Thanks

[Semi ported][LOS17] - "brunch tiare" with "Failed: bacon" error.

I semi ported device tree for xiaomi redmi go (tiare) and facing error after running brunch tiare
Code:
[email protected]:/home/danio/Pulpit/lineage17# brunch tiare
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.0-20190915-UNOFFICIAL-tiare
TARGET_PRODUCT=lineage_tiare
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-25-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=QP1A.190711.020
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.0-20190915-UNOFFICIAL-tiare
TARGET_PRODUCT=lineage_tiare
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-25-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=QP1A.190711.020
OUT_DIR=out
============================================
device/xiaomi/tiare/AndroidProducts.mk was modified, regenerating...
device/xiaomi/tiare/AndroidProducts.mk was modified, regenerating...
[ 99% 874/875] finishing build rules ...
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherOutOfProcTests'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherDebug'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherTests'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'LauncherRotationStressTest'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'PlatformScenarioTests'
[100% 876/876] build bacon
FAILED: bacon
/bin/bash -c "(ln -f out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip ) && (md5sum out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip | sed \"s|out/target/product/tiare/||\" > out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip.md5sum ) && (echo \"Package Complete: out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip\" >&2 )"
ln: cannot create hard link from 'out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip' to './lineage-17.0-20190915-UNOFFICIAL-tiare.zip': No such file or directory
22:58:39 ninja failed with: exit status 1
#### failed to build some targets (01:00 (mm:ss)) ####
[email protected]:/home/danio/Pulpit/lineage17#
I was looking on google, but I couldn't find any solution, so I'm writing here for help
I leave the my device tree in the attachment.

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:
[email protected]:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$ source build/envsetup.sh
[email protected]:/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
============================================
[email protected]:/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 "[email protected]
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) ####
[email protected]:/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi$
Can you help me? Thank you!
I make a devicetree myself.But the following information is displayed:
[email protected]:/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-20211211-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
============================================
16:17:45 ************************************************************
16:17:45 You are building on a machine with 15.5GB of RAM
16:17:45
16:17:45 The minimum required amount of free memory is around 16GB,
16:17:45 and even with that, some configurations may not work.
16:17:45
16:17:45 If you run into segfaults or other errors, try reducing your
16:17:45 -j value.
16:17:45 ************************************************************
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
LINEAGE_VERSION=18.1-20211211-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
============================================
[ 0% 36/23508] Copy init script: out/target/product/kiwi/obj/ETC/init.target.rc
FAILED: out/target/product/kiwi/obj/ETC/init.target.rc_intermediates/init.target
.rc
/bin/bash -c "(out/host/linux-x86/bin/host_init_verifier -p out/target/product/k
iwi/obj/ETC/passwd_system_intermediates/passwd_system -p out/target/product/kiwi
/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p out/target/product/kiwi/ob
j/ETC/passwd_odm_intermediates/passwd_odm -p out/target/product/kiwi/obj/ETC/pas
swd_product_intermediates/passwd_product --property-contexts=out/target/product/
kiwi/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --prope
rty-contexts=out/target/product/kiwi/obj/ETC/system_ext_property_contexts_interm
ediates/system_ext_property_contexts --property-contexts=out/target/product/kiwi
/obj/ETC/product_property_contexts_intermediates/product_property_contexts --pro
perty-contexts=out/target/product/kiwi/obj/ETC/vendor_property_contexts_intermed
iates/vendor_property_contexts --property-contexts=out/target/product/kiwi/obj/E
TC/odm_property_contexts_intermediates/odm_property_contexts device/huawei/kiwi/
rootdir/etc/init.target.rc ) && (mkdir -p out/target/product/kiwi/obj/ETC/init.t
arget.rc_intermediates/ ) && (rm -f out/target/product/kiwi/obj/ETC/init.target.
rc_intermediates/init.target.rc ) && (cp \"device/huawei/kiwi/rootdir/etc/init.t
arget.rc\" \"out/target/product/kiwi/obj/ETC/init.target.rc_intermediates/init.t
arget.rc\" )"
host_init_verifier: Command 'load_system_props' (device/huawei/kiwi/rootdir/etc/
init.target.rc:159) failed: 'load_system_props' is deprecated
host_init_verifier: Failed to parse init script 'device/huawei/kiwi/rootdir/etc/
init.target.rc' with 1 errors
[ 0% 49/23508] Building Kernel Config
make: 进入目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
GEN /media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi/out
/target/product/kiwi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: 离开目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
make: 进入目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
GEN /media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi/out
/target/product/kiwi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: 离开目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
16:17:48 ninja failed with: exit status 1
#### failed to build some targets (3 seconds) ####
Boom_Hacker said:
Boom_Hacker said:
I make a devicetree myself.But the following information is displayed:
[email protected]:/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-20211211-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
============================================
16:17:45 ************************************************************
16:17:45 You are building on a machine with 15.5GB of RAM
16:17:45
16:17:45 The minimum required amount of free memory is around 16GB,
16:17:45 and even with that, some configurations may not work.
16:17:45
16:17:45 If you run into segfaults or other errors, try reducing your
16:17:45 -j value.
16:17:45 ************************************************************
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
LINEAGE_VERSION=18.1-20211211-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
============================================
[ 0% 36/23508] Copy init script: out/target/product/kiwi/obj/ETC/init.target.rc
FAILED: out/target/product/kiwi/obj/ETC/init.target.rc_intermediates/init.target
.rc
/bin/bash -c "(out/host/linux-x86/bin/host_init_verifier -p out/target/product/k
iwi/obj/ETC/passwd_system_intermediates/passwd_system -p out/target/product/kiwi
/obj/ETC/passwd_vendor_intermediates/passwd_vendor -p out/target/product/kiwi/ob
j/ETC/passwd_odm_intermediates/passwd_odm -p out/target/product/kiwi/obj/ETC/pas
swd_product_intermediates/passwd_product --property-contexts=out/target/product/
kiwi/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts --prope
rty-contexts=out/target/product/kiwi/obj/ETC/system_ext_property_contexts_interm
ediates/system_ext_property_contexts --property-contexts=out/target/product/kiwi
/obj/ETC/product_property_contexts_intermediates/product_property_contexts --pro
perty-contexts=out/target/product/kiwi/obj/ETC/vendor_property_contexts_intermed
iates/vendor_property_contexts --property-contexts=out/target/product/kiwi/obj/E
TC/odm_property_contexts_intermediates/odm_property_contexts device/huawei/kiwi/
rootdir/etc/init.target.rc ) && (mkdir -p out/target/product/kiwi/obj/ETC/init.t
arget.rc_intermediates/ ) && (rm -f out/target/product/kiwi/obj/ETC/init.target.
rc_intermediates/init.target.rc ) && (cp \"device/huawei/kiwi/rootdir/etc/init.t
arget.rc\" \"out/target/product/kiwi/obj/ETC/init.target.rc_intermediates/init.t
arget.rc\" )"
host_init_verifier: Command 'load_system_props' (device/huawei/kiwi/rootdir/etc/
init.target.rc:159) failed: 'load_system_props' is deprecated
host_init_verifier: Failed to parse init script 'device/huawei/kiwi/rootdir/etc/
init.target.rc' with 1 errors
[ 0% 49/23508] Building Kernel Config
make: 进入目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
GEN /media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi/out
/target/product/kiwi/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: 离开目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
make: 进入目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
GEN /media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiwi/out
/target/product/kiwi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: 离开目录“/media/boomhacker/9095972d-2b3b-4b05-a695-92bd6035c910/lineagekiw
i/kernel/huawei/kiwi”
16:17:48 ninja failed with: exit status 1
#### failed to build some targets (3 seconds) ####
Click to expand...
Click to collapse
Click to expand...
Click to collapse
The above content contains Chinese. Let me explain here:
进入目录 : enter directory
离开目录 : leave directory

Categories

Resources