Android x86 - FIrst Build: ninja: build stopped: subcommand failed. - Android Software Development
I'm trying to compile android for the first time. I'm using Ubuntu 18.10 x64. I'm attempting to build Android x86_64 Oreo (I also attempted a couple other of their branches with the same problem).
ninja: build stopped: subcommand failed.
06:50:54 soong failed with: exit status 1
I've searched the forums and googled for a few hours. I installed some new software and added environment variables suggested by different threads, but nothing seems to get me past this error.
Full Output:
Code:
[email protected]:/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android$ m -j2 iso_img
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=android_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.18.0-10-generic-x86_64-with-Ubuntu-18.10-cosmic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM8.181005.003
OUT_DIR=out
============================================
ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0x8107e2, 0x16)
prebuilts/go/linux-x86/src/runtime/panic.go:596 +0x95
runtime.sysMap(0xc4dd210000, 0x45ae0000, 0x116b6000, 0xa2dd78)
prebuilts/go/linux-x86/src/runtime/mem_linux.go:216 +0x1d0
runtime.(*mheap).sysAlloc(0xa15be0, 0x45ae0000, 0x7ff520cf1800)
prebuilts/go/linux-x86/src/runtime/malloc.go:428 +0x374
runtime.(*mheap).grow(0xa15be0, 0x22d6b, 0x0)
prebuilts/go/linux-x86/src/runtime/mheap.go:774 +0x62
runtime.(*mheap).allocSpanLocked(0xa15be0, 0x22d6b, 0x1)
prebuilts/go/linux-x86/src/runtime/mheap.go:678 +0x44f
runtime.(*mheap).alloc_m(0xa15be0, 0x22d6b, 0x100000000, 0x0)
prebuilts/go/linux-x86/src/runtime/mheap.go:562 +0xe2
runtime.(*mheap).alloc.func1()
prebuilts/go/linux-x86/src/runtime/mheap.go:627 +0x4b
runtime.systemstack(0xc4208e7f10)
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:343 +0xab
runtime.(*mheap).alloc(0xa15be0, 0x22d6b, 0x10100000000, 0xc4200001a0)
prebuilts/go/linux-x86/src/runtime/mheap.go:628 +0xa0
runtime.largeAlloc(0x45ad5152, 0x450401, 0x10000c4203dac30)
prebuilts/go/linux-x86/src/runtime/malloc.go:795 +0x93
runtime.mallocgc.func1()
prebuilts/go/linux-x86/src/runtime/malloc.go:690 +0x3e
runtime.systemstack(0xc42002f300)
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
prebuilts/go/linux-x86/src/runtime/proc.go:1132
goroutine 1 [running]:
runtime.systemstack_switch()
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:281 fp=0xc443151410 sp=0xc443151408
runtime.mallocgc(0x45ad5152, 0x77c5a0, 0x821801, 0xc4dd01f0d0)
prebuilts/go/linux-x86/src/runtime/malloc.go:691 +0x930 fp=0xc4431514b0 sp=0xc443151410
runtime.makeslice(0x77c5a0, 0x45ad5152, 0x45ad5152, 0x441657, 0x34398539fc8, 0x0)
prebuilts/go/linux-x86/src/runtime/slice.go:54 +0x7b fp=0xc443151500 sp=0xc4431514b0
bytes.makeSlice(0x45ad5152, 0x0, 0x0, 0x0)
prebuilts/go/linux-x86/src/bytes/buffer.go:201 +0x77 fp=0xc443151540 sp=0xc443151500
bytes.(*Buffer).grow(0xc452d54c40, 0x96, 0x450401)
prebuilts/go/linux-x86/src/bytes/buffer.go:109 +0x177 fp=0xc443151590 sp=0xc443151540
bytes.(*Buffer).WriteString(0xc452d54c40, 0xc475b96c80, 0x96, 0x7ff52119ebb8, 0xc452d54c40, 0x1)
prebuilts/go/linux-x86/src/bytes/buffer.go:146 +0x41 fp=0xc4431515c0 sp=0xc443151590
io.WriteString(0x9f17a0, 0xc452d54c40, 0xc475b96c80, 0x96, 0x96, 0x0, 0x0)
prebuilts/go/linux-x86/src/io/io.go:289 +0x76 fp=0xc443151608 sp=0xc4431515c0
github.com/google/blueprint.(*ninjaWriterWithWrap).writeString(0xc4431516c0, 0xc475b96c80, 0x96, 0xc4dd01f001)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/ninja_writer.go:238 +0x8b fp=0xc443151658 sp=0xc443151608
github.com/google/blueprint.(*ninjaWriterWithWrap).WriteStringWithSpace(0xc4431516c0, 0xc475b96c80, 0x96)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/ninja_writer.go:247 +0x44 fp=0xc443151688 sp=0xc443151658
github.com/google/blueprint.(*ninjaWriter).Build(0xc427f505a0, 0x0, 0x0, 0xc4dd01f016, 0x7, 0xc4dd01f0a0, 0x1, 0x1, 0xa2cf98, 0x0, ...)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/ninja_writer.go:157 +0x21c fp=0xc4431516f8 sp=0xc443151688
github.com/google/blueprint.(*buildDef).WriteTo(0xc475a23440, 0xc427f505a0, 0xc46d740f30, 0xc44db9ac00, 0x59)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/ninja_defs.go:375 +0x3aa fp=0xc443151ac8 sp=0xc4431516f8
github.com/google/blueprint.(*Context).writeLocalBuildActions(0xc420108280, 0xc427f505a0, 0xc4344ce720, 0x0, 0x0)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/context.go:3152 +0x2bc fp=0xc443151b60 sp=0xc443151ac8
github.com/google/blueprint.(*Context).writeAllModuleActions(0xc420108280, 0xc427f505a0, 0x0, 0x0)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/context.go:3036 +0x923 fp=0xc443151d10 sp=0xc443151b60
github.com/google/blueprint.(*Context).WriteBuildFile(0xc420108280, 0x9f17a0, 0xc452d54c40, 0x87f, 0xc46dad2000)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/context.go:2712 +0x19a fp=0xc443151d48 sp=0xc443151d10
github.com/google/blueprint/bootstrap.Main(0xc420108280, 0x7fc040, 0xc42007c580, 0xc420409f58, 0x2, 0x2)
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/blueprint/bootstrap/command.go:150 +0x73e fp=0xc443151ed0 sp=0xc443151d48
main.main()
/media/individual/66d2ccb6-7fc1-4c9d-aa2e-abb553bf4ca3/android/build/soong/cmd/soong_build/main.go:48 +0x235 fp=0xc443151f88 sp=0xc443151ed0
runtime.main()
prebuilts/go/linux-x86/src/runtime/proc.go:185 +0x20a fp=0xc443151fe0 sp=0xc443151f88
runtime.goexit()
prebuilts/go/linux-x86/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc443151fe8 sp=0xc443151fe0
ninja: build stopped: subcommand failed.
06:50:54 soong failed with: exit status 1
#### failed to build some targets (07:40:37 (hh:mm:ss)) ####
Any help would be greatly appreciated.
Related
Can pls someone help me with this building error
Hi, i wanna build cm13 for our beloved nexus 4 on my own (i know there is already a build) but i wanna do it. i did everything as the cyanogen wiki said but im faceing this eroor [email protected]:~/android/system# croot [email protected]:~/android/system# brunch mako including vendor/cm/vendorsetup.sh Looking for dependencies ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=6.0 CM_VERSION=13.0-20151109-UNOFFICIAL-mako TARGET_PRODUCT=cm_mako 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-2.6.32-042stab108.2-x86_64-with-debian-7.9 HOST_BUILD_TYPE=release BUILD_ID=MDB08M OUT_DIR=/root/android/system/out ============================================ ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=6.0 CM_VERSION=13.0-20151109-UNOFFICIAL-mako TARGET_PRODUCT=cm_mako 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-2.6.32-042stab108.2-x86_64-with-debian-7.9 HOST_BUILD_TYPE=release BUILD_ID=MDB08M OUT_DIR=/root/android/system/out ============================================ "ebtables is disabled on this build" find: `dummy': No such file or directory find: `dummy': No such file or directory find: `dummy': No such file or directory find: `dummy': No such file or directory find: `dummy': No such file or directory find: `dummy': No such file or directory find: `dummy': No such file or directory No private recovery resources for TARGET_DEVICE mako make: Entering directory `/root/android/system' host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang) prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang) prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so) make: *** [/root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1 make: *** Waiting for unfinished jobs.... prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang) prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by prebuilts/clang/linux-x86/host/3.6/bin/clang) prebuilts/clang/linux-x86/host/3.6/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/android/system/prebuilts/clang/linux-x86/host/3.6/bin/../lib64/libc++.so) make: *** [/root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 1 make: *** wait: No child processes. Stop. #### make failed to build some targets (03:31 (mm:ss)) ####
Trouble compiling omnirom for existing device
Hello all, I'm getting started with Omnirom and wanted to compile a new device. After reading up on how this should be done, I tried a to set up a new device and compile but that resulted in errors. I figured it would be better to start out by trying to compile an existing device, however I get the same error message. Figuring this might be due to my set up, I ran the compilation in a clean docker instance with freshly installed openjdk-8-jdk and build tools, but same problem. I tried to find information about the error but there is not much to find online, so therefore I'm requesting your help. The error I keep getting is: Code: Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/platform-test-annotations-host_intermediates/javalib.jar', needed by '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/compatibility-common-util-hostsidelib_intermediates/classes-full-debug.jar', missing and no known rule to make it build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 Details about the steps and error are below: Init and sync: Code: repo init -u git://github.com/omnirom/android.git -b android-7.1 repo sync Add device in .repo/local_manifests: Code: <?xml version="1.0" encoding="UTF-8"?> <manifest> <project path="device/xiaomi/kenzo" name="android_device_xiaomi_kenzo" remote="omnirom" revision="android-7.1" /> </manifest> Compile: Code: [email protected]:~/dev/doit2$ . build/envsetup.sh including device/xiaomi/kenzo/vendorsetup.sh including sdk/bash_completion/adb.bash [email protected]:~/dev/doit2$ lunch You're building on Linux Lunch menu... pick a combo: 1. aosp_arm-eng 2. aosp_arm64-eng 3. aosp_mips-eng 4. aosp_mips64-eng 5. aosp_x86-eng 6. aosp_x86_64-eng 7. omni_kenzo-userdebug Which would you like? [aosp_arm-eng] 7 Looking for dependencies on: device/xiaomi/msm8956-common ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.2 TARGET_PRODUCT=omni_kenzo TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=cortex-a53 TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv7-a-neon TARGET_2ND_CPU_VARIANT=cortex-a53.a57 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.13.0-32-generic-x86_64-with-Ubuntu-17.10-artful HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NJH47F OUT_DIR=/home/floeperd/dev/doit2/out ============================================ but I always end up with this error: Code: Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/platform-test-annotations-host_intermediates/javalib.jar', needed by '/home/floeperd/dev/doit2/out/host/common/obj/JAVA_LIBRARIES/compatibility-common-util-hostsidelib_intermediates/classes-full-debug.jar', missing and no known rule to make it build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 I would appreciate any help. Thank you.
Error when compiling RR rom
So, since I couldn't boot the GSI image of Resurrection Remix rom, I tried to build it using the sources of lineage 16 rom from @Raghu varma . but I have got the following error! any suggestion to fix it ? Code: make -j 16 ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=lineage_DRG_sprout 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=cortex-a73 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.0.0-26-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=/mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out ============================================ [1/1] /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.miniboo...03a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.bootstrap/build.ninja [55/56] glob prebuilts/ndk/cpufeatures.bp [80/80] /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.boots...ld /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja FAILED: /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/.bootstrap/bin/soong_build -t -l /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/.module_paths/Android.bp.list -b /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong -n /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out -d /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja.d -o /mnt/d0203a8b-835b-4f36-b1fa-6fe0b3dad217/drg/RR/out/soong/build.ninja Android.bp error: vendor/rr/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)' ninja: build stopped: subcommand failed. 15:31:13 soong bootstrap failed with: exit status 1 #### failed to build some targets (01:18 (mm:ss)) ####
How did you resolve this? I am getting the same thing [1/1] /rom/tb8504/out/soong/.minibootstrap/minibp /rom/tb8504/out/soong/.bootstrap/build.ninja [55/56] glob prebuilts/ndk/stl.bp [80/80] /rom/tb8504/out/soong/.bootstrap/bin/soong_build /rom/tb8504/out/soong/build.ninja FAILED: /rom/tb8504/out/soong/build.ninja /rom/tb8504/out/soong/.bootstrap/bin/soong_build -t -l /rom/tb8504/out/.module_paths/Android.bp.list -b /rom/tb8504/out/soong -n /rom/tb8504/out -d /rom/tb8504/out/soong/build.ninja.d -o /rom/tb8504/out/soong/build.ninja Android.bp error: vendor/lineage/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)' ninja: build stopped: subcommand failed. 18:08:14 soong bootstrap failed with: exit status 1
Xperia XA2 H3133/H3113 Android 10 AOSP Not Building / Compiling
Hi I have an issue when building AOSP, it fails to build some targets, as well as ninja fails with exit status 1. I have followed the guide provided by sony and i dont know why it happens. Log below. Thanks ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 TARGET_PRODUCT=aosp_h3113 TARGET_BUILD_VARIANT=eng 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-4.15.0-62-generic-x86_64-Linux-Mint-19.2 HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.190711.019 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/sony/nile ============================================ hardware/qcom/gps/sdm845/etc/Android.mk was modified, regenerating... [ 25% 113/441] including device/sony/common/Android.mk ... IDisplayConfig version: DISPLAY_CONFIG_1_8 [ 99% 440/441] 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' FAILED: ninja: 'kernel/sony/msm-4.14/common-kernel/kernel-dtb-pioneer', needed by 'out/target/product/pioneer/kernel', missing and no known rule to make it 02:03:49 ninja failed with: exit status 1 #### failed to build some targets (02:22 (mm:ss)) ####
FAILED: ninja: 'kernel/sony/msm-4.14/common-kernel/kernel-dtb-pioneer no prebuilt kernel in repo! u need to compile kernel from source 1st or change "/device/sony/nile/platform.mk" to use source code for kernel, not prebuilt.
Now u can do it =) They updated sources & make prebuild kernels https://github.com/sonyxperiadev/kernel-sony-msm-4.14-common
Can developers help me to build rom ?
Hi everyone , I have faced problems. Before telling the problems ; I want to learn how to build LineageOS on Ubuntu 18.04. I create the virtual device which is Ubuntu 18.04 64 Bit, 110GB 4 core 8GB. And search the source on internet how to build custom rom Then I had installed the java jdk 8 I have created the rom file which is lineage , cd lineage repo init -u git://github.com/LineageOS/android.git -b lineage-17.1 repo sync git clone https://github.com/sm6150-dev/android_device_xiaomi_davinci/tree/lineage-17.1 -b lineage-17.1 device/xiaomi/davinci git clone https://github.com/mishamyrt/davinci-pancake-kernel -b ten kernel/xiaomi/davinci Some sources say you have to export/repo common tree but I did not find this, and you have to replace name, device name in some mk files which are the AndroidProducts.mk when I see these files and open their, it seems ok I did not change anything. croot brunch davinci and I faced this problem : [100% 139/139] 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 internal error: failed to find dex jar path for module "WfdCommon" internal error: failed to find dex jar path for module "WfdCommon" 13:52:32 soong bootstrap failed with: exit status 1 #### failed to build some targets (02:42 (mm:ss)) #### Could you please tell me what can I do, How can I build unoffical LineageOS 17.1, I want to build. What trees do I use ? Thanks
I also have the same problem 06:51:32 Build sandboxing disabled due to nsjail error. PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.1-20200618-UNOFFICIAL-lmi TARGET_PRODUCT=lineage_lmi TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=cortex-a75 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-4.19.0-9-cloud-amd64-x86_64-Debian-GNU/Linux-10-(buster) HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QQ3A.200605.001 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/lmi device/xiaomi/lmi hardware/qcom-caf/kona ============================================ [100% 2/2] 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/bu ild.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp internal error: failed to find dex jar path for module "WfdCommon" internal error: failed to find dex jar path for module "WfdCommon" 06:52:34 soong bootstrap failed with: exit status 1 ninja: build stopped: subcommand failed. #### failed to build some targets (01:01 (mm:ss)) #### Click to expand... Click to collapse
I think something wrong with your local manifest.