libbootloader_message_intermediates missing and no known rule to make it - Android Q&A, Help & Troubleshooting

this is my device_tree github.com/jk2K/android_device_meizu_mx4pro
kernel, github.com/meizuosc/m462
I got this error when i try to port lineageOS 14.1 to meizu mx4pro
HTML:
lineage make recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
Running kati to generate build-lineage_mx4pro.ninja...
device/meizu/mx4pro/BoardConfigCommon.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/meng/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/binary.mk:1253: hardware/samsung_slsi-cm/exynos5430/mobicore/common/LogWrapper/Android.mk: mcDriverDaemon: Unused source files: \
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/meng/android/lineage/out/target/product/mx4pro/obj/STATIC_LIBRARIES/libbootloader_message_intermediates/export_includes', needed by '/home/meng/android/lineage/out/target/product/mx4pro/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:00 (mm:ss)) ####
what can i do? thanks

Related

help with twrp build

hi i've setted up my pc for building but when i give the command
Code:
make -j3 recoveryimage
give me this error:
Code:
[email protected]:~/rom/cm7$ make -j3 recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:162: *** device/tass: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/tass. Arresto.
thanks at all for help!

[Q] Question on compile LG official ROM

Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.
amnik said:
Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.
Click to expand...
Click to collapse
ubuntu?i don't know……on windows may be easyer

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.

Android build ends with FAILED: bacon

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?

Categories

Resources