Ran into an error while building LineageOS 16.0 for karatep - Lenovo K6 / K6 Power / K6 Note Questions & Answers

Hi all,
I was just trying to build LOS16 for karatep during the lockdown. I already run LOS16.0, I'm just trying to figure out the process.
I got this error.
[1036/1036] including vendor/qcom/opensource/dataservices/Android.mk ...
system/core/init/Android.mk: error: "init (EXECUTABLES android-arm64) missing libinit_karatep (STATIC_LIBRARIES android-arm64)"
Click to expand...
Click to collapse
I have no idea what it means.
I had added the following repos to roomservice.xml
Device Tree: malfunchan/android_vendor_lenovo_karatep
Kernel: karthick111/android_kernel_lenovo_msm8937
Vendor: tunasahinn/android_device_lenovo_karatep
I had made necessary changes in the device tree and added vendorsetup.sh and AndroidProducts.mk which were missing in the repo.
Are these even the right repos?
Any help would be appreciated!
A portion of the log is below.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20200507-UNOFFICIAL-karatep
TARGET_PRODUCT=lineage_karatep
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-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-1020-azure-x86_64-Ubuntu-18.04.4-LTS
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/rah/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
============================================
[1/1] /home/rah/android/lineage/out/soong/.minibootstrap/...home/rah/android/lineage/out/soong/.bootstrap/build.ninja
[55/56] glob libcore/openjdk_java_files.bp
[80/80] /home/rah/android/lineage/out/soong/.bootstrap/bin/soong_build /home/rah/android/lineage/out/soong/build.ninja
/home/rah/android/lineage/out/build-lineage_karatep-cleanspec.ninja is missing, regenerating...
build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_2ND_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
/home/rah/android/lineage/out/build-lineage_karatep.ninja is missing, regenerating...
build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_2ND_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
[1036/1036] including vendor/qcom/opensource/dataservices/Android.mk ...
system/core/init/Android.mk: error: "init (EXECUTABLES android-arm64) missing libinit_karatep (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:844: error: exiting from previous errors.
14:43:22 ckati failed with: exit status 1
#### failed to build some targets (02:02 (mm:ss)) ####
Click to expand...
Click to collapse

Fixed the issue, problem with a library reference in the repo.
Raised an issue in git.

Related

Problem with start compilation

Hi I try to compile slimrom (MM) but I have this error
[email protected]:~/android/f70n/roms/slimrom$ . build/envsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/lge/vee7/vendorsetup.sh
including vendor/slim/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/f70n/roms/slimrom$ lunch slim_vee7-userdebug
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1948
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
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-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
[email protected]:~/android/f70n/roms/slimrom$ make -j2 bacon
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=6.0
SLIM_VERSION=Slim-6.0.alpha.0.1-UNOFFICIAL-20160402-1949
TARGET_PRODUCT=slim_vee7
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a5
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-34-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MRA59B
OUT_DIR=/home/vangreen/android/f70n/roms/slimrom/out
============================================
bionic/libc/arch-arm/arm.mk:55: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, denver. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
#### make failed to build some targets (01:13 (mm:ss)) ####
[email protected]:~/android/f70n/roms/slimrom$ ^C
[email protected]:~/android/f70n/roms/slimrom$
That's a toughy
Sent from my iPhone using Tapatalk
I fix it. Slim source not suported cortex a5 architecture. I paste folder from omni source and everything works
TT || LG F70
Cd slim/device/lge/f70n/patches && sh apply.sh
I've got this when compiling Slim6 for Huawei Y300
============================================
system/bt/Android.mk:18: extraneous text after 'ifeq' directive
build/core/tasks/kernel.mk:150: **********************************************************
build/core/tasks/kernel.mk:151: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:152: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:153: * BoardConfig.mk file *
build/core/tasks/kernel.mk:154: **********************************************************
Building with Jack: /home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack
Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar /home/android/android/y300/out/host/linux-x86/framework/jack-launcher.jar -cp /home/android/android/y300/out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Object cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:1: The type java.lang.Class cannot be found in source files, imported jack libs or the classpath
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:33: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:34: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:35: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:36: The import java.lang cannot be resolved
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java:37: The import java.lang cannot be resolved
. . .<3 pages of errors>
ERROR: /home/android/android/y300/external/protobuf/java/src/main/java/com/google/protobuf/nano/CodedOutputByteBufferNano.java:360: IllegalArgumentException cannot be resolved to a type
build/core/java.mk:636: recipe for target '/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack' failed
make: *** [/home/android/android/y300/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-nano_intermediates/classes.jack] Error 41
make: Leaving directory '/home/android/android/y300'
Click to expand...
Click to collapse

[help][building atomic os]

i am getting an error but i dont know why its generating....
Started by user Govind Pathak
Building on master in workspace /home/govind/a
[a] $ /bin/bash /tmp/hudson7060322579195071189.sh
Set cache size limit to 50.0 Gbytes
including device/oneplus/cheeseburger/vendorsetup.sh
including vendor/aos/vendorsetup.sh
including sdk/bash_completion/adb.bash
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
Trying dependencies-only mode on anon-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
Running kati to generate build-aos_cheeseburger.ninja...
Environment variable BUILD_NUMBER was modified (220 => 221), regenerating...
vendor/aos/config/common.mk:143: Root method is undefined, please use 'WITH_ROOT := true' to define it
=====Team DarkNess Presents=======
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
AOS_MOD_VERSION=Atomic-OS-1.5-cheeseburger-20170818-1644-LabMade
TARGET_PRODUCT=aos_cheeseburger
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/govind/a/out
============================================
mv: cannot stat '/home/govind/a/out/target/product/cheeseburger/clean_steps.mk.tmp': No such file or directory
Disabling ART_BUILD_TARGET_DEBUG
Disabling ART_BUILD_HOST_DEBUG
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1267: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1267: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/govind/a/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
PRODUCT_COPY_FILES device/oneplus/cheeseburger/rootdir/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-brcm.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/etc/libnfc-nxp.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/govind/a/out/target/product/cheeseburger/system/lib64/libjni_latinime.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/govind/a/out/target/product/cheeseburger/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by '/home/govind/a/out/target/product/cheeseburger/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
yes i synced device/qcom/common
any help will be appriciated
"Trying dependencies-only mode on anon-existing device tree?"
The above error is the real error if my memory serves .. Sometthing to do with roomservice.xml or what its called in the ROM you are trying to build.. Sorry I'm a bit rusty, haven't build since Lollipop but Check the dependencies.

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.

[Q] Issues with porting OmniROM to Nubia Z18 (NX606J)

Hi,
since last week I've been trying to port Omni to the ZTE nubia Z18 (NX606J) with more or less success but a few more obstacles to clear.
Basically, what I'm stuck at at the moment is the final make to build the actual ROM itself, but it's a bit more than that.. but first things first:
- I initialized the repo from OmniRom's android repository on GitHub and successfully ran repo sync
Code:
repo init -u git://github.com/omnirom/android.git -b android-9.0 && repo sync -j `nproc` -c -f --no-clone-bundle
- I cloned the device's config from youyim123's GitHub into device/nubia/nx606j, as per the envsetup.mk (so it finds the appropriate vendorsetup)
Code:
git clone https://github.com/youyim123/android_device_nubia_nx609j.git -b master
- I run . build/envsetup.sh and then lunch omni-nx606j-eng which produces
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_nx606j
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
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.18.16-96.current-x86_64-Solus-3.9999
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PD1A.180720.031
OUT_DIR=/run/media/curtisy/Solus-Data/Omni_NX606J/out
============================================
- I run make clean && make -j4, this works for a while and then exits with of the following error:
Code:
ninja: error: 'prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libunwind.a', needed by '/run/media/curtisy/Solus-Data/Omni_NX606J/out/soong/.intermediates/external/boringssl/libcrypto/android_arm_armv8-a_cortex-a53_core_shared/libcrypto.so', missing and no known rule to make it
20:00:44 ninja failed with: exit status 1
I see it's missing some files, but repo sync again, doesn't help either, so I'm lost.
One pretty weird thing I noticed is that the second ninja step is only showing 55/56 as done but still continues. Is this normal?
Code:
[1/1] /run/media/curtisy/Solus-Data/Om...X606J/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[77/77] /run/media/curtisy/Solus-Data/...Data/Omni_NX606J/out/soong/build.ninja
Running make recoveryimage worked once, but when I tried flashing that, my device said it wasn't trusted and I had to reflash the source image again.
I'm really hitting a dead end with my little knowledge here, so it would be cool if anyone could point me in the right direction so I could at least get TWRP to work.
The phone has a Snapdragon 845. If you need any additional information, feel free to ask as I'm happy about any straw I can grab here.
Update: I somehow got around this issue doing another repo sync but now I'm prompted with another issue.
Code:
[945/945] including vendor/omni/Android.mk ...
packages/apps/Bluetooth/Android.mk: error: Bluetooth (APPS android-arm) missing libbluetooth_jni (SHARED_LIBRARIES android-arm)
Available variants:
libbluetooth_jni (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:833: error: exiting from previous errors.
03:34:57 ckati failed with: exit status 1
Or with ALLLOW_MISSING_DEPENDENCIES=true
Code:
[ 99% 1390/1391] glob vendor/omni/overlay/common/**/*
ninja: error: '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj_arm/SHARED_LIBRARIES/libbluetooth_jni_intermediates/link_type', needed by '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj/APPS/Bluetooth_intermediates/2ND_jni_link_type', missing and no known rule to make it
03:39:28 ninja failed with: exit status 1
For reference, this is the kernel source and this is the device specific source I'm currently using.
curtisy said:
Update: I somehow got around this issue doing another repo sync but now I'm prompted with another issue.
Code:
[945/945] including vendor/omni/Android.mk ...
packages/apps/Bluetooth/Android.mk: error: Bluetooth (APPS android-arm) missing libbluetooth_jni (SHARED_LIBRARIES android-arm)
Available variants:
libbluetooth_jni (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:833: error: exiting from previous errors.
03:34:57 ckati failed with: exit status 1
Or with ALLLOW_MISSING_DEPENDENCIES=true
Code:
[ 99% 1390/1391] glob vendor/omni/overlay/common/**/*
ninja: error: '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj_arm/SHARED_LIBRARIES/libbluetooth_jni_intermediates/link_type', needed by '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj/APPS/Bluetooth_intermediates/2ND_jni_link_type', missing and no known rule to make it
03:39:28 ninja failed with: exit status 1
For reference, this is the kernel source and this is the device specific source I'm currently using.
Click to expand...
Click to collapse
How do for fix?

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

Categories

Resources