Lineage16 Compilation error - General Questions and Answers

[ 99% 1249/1250] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: '/home/tinyhour/data/source/lineage16/out/target/common/obj/JAVA_LIBRARIES/WfdCommon_intermediates/javalib.jar', needed by '/home/tinyhour/data/source/lineage16/out/target/product/enchilada/dex_bootjars/system/framework/boot.prof', missing and no known rule to make it
11:47:45 ninja failed with: exit status 1
#### failed to build some targets (01:51 (mm:ss)) ####
android 9.0.0_r46
OnePlus 6
Lineage16.
OpenJdk11.
Compilation error,Do you have similar problems? How to solve it?

Related

Build error when compiling lineageos 15 - org.cyanogenmod.hardware_intermediates

Trying to compile lineageos 15 but can't work out how to get pass the following error
Code:
ninja: error: 'out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/classes.dex.toc', needed by 'out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates/with-local/classes.dex', missing and no known rule to make it
18:28:05 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/****/****'
#### make failed to build some targets (10:10 (mm:ss)) ####
Anyone know what I am missing to build

Android oreo comppiling error

HTML:
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[791/792] glob vendor/*/*/Android.bp
[47/47] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_c6903.ninja is missing, regenerating...
[9/1001] including ./cts/Android.mk ...
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
[151/1001] including ./device/sony/common/Android.mk ...
./device/sony/common/Android.mk:104: error: /Android.mk: No such file or directory
17:08:27 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (06:07 (mm:ss)) ####
i am trying to build aosp oreo for my Xperia z1 but getting this strange error.The error specifies android.mk file does not exist but when i checked it is there.i have no idea why this is happening as I am new to building rom.Any help is appreciated.
Thanx in advance.

Lineage 16 for Violet

I am trying to build Lineage 16 for Violet Device and it ends up with below error, any tips on how ot fix it. I am not that expert and hence asking.
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/psbhullar/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/sm8150 hardware/qcom/display-caf/sm8150 hardware/qcom/media-caf/sm8150
============================================
[1/1] /home/psbhullar/android/lineage/out/soong/.minibootstrap/minibp /home/psbhullar/android/lineage/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/cpufeatures.bp
[80/80] /home/psbhullar/android/lineage/out/soong/.bootstrap/bin/soong_build /home/psbhullar/android/lineage/out/soong/build.ninja
/home/psbhullar/android/lineage/out/build-lineage_violet-cleanspec.ninja is missing, regenerating...
/home/psbhullar/android/lineage/out/build-lineage_violet.ninja is missing, regenerating...
[1035/1035] including vendor/qcom/opensource/dataservices/Android.mk ...
external/ant-wireless/ant_native/Android.mk: error: "antradio_app (EXECUTABLES android-arm64) missing libantradio (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:844: error: exiting from previous errors.
00:27:10 ckati failed with: exit status 1
#### failed to build some targets (45 seconds) ####
psbhullar said:
I am trying to build Lineage 16 for Violet Device and it ends up with below error, any tips on how ot fix it. I am not that expert and hence asking.
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/psbhullar/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/sm8150 hardware/qcom/display-caf/sm8150 hardware/qcom/media-caf/sm8150
============================================
[1/1] /home/psbhullar/android/lineage/out/soong/.minibootstrap/minibp /home/psbhullar/android/lineage/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/cpufeatures.bp
[80/80] /home/psbhullar/android/lineage/out/soong/.bootstrap/bin/soong_build /home/psbhullar/android/lineage/out/soong/build.ninja
/home/psbhullar/android/lineage/out/build-lineage_violet-cleanspec.ninja is missing, regenerating...
/home/psbhullar/android/lineage/out/build-lineage_violet.ninja is missing, regenerating...
[1035/1035] including vendor/qcom/opensource/dataservices/Android.mk ...
external/ant-wireless/ant_native/Android.mk: error: "antradio_app (EXECUTABLES android-arm64) missing libantradio (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:844: error: exiting from previous errors.
00:27:10 ckati failed with: exit status 1
#### failed to build some targets (45 seconds) ####
Click to expand...
Click to collapse
Followed method wiki.lineageos.org/devices/violet, however seems it has flaws.

error compiling

hello , i try to build aicp for my hammerhead and after a short time i lhave this message that i don't understand. someone can help me .
including frameworks/av/drm/mediacas/plugins/clearkey/Android.mk
FAILED:
build/make/core/binary.mk:1337: error: frameworks/av/drm/mediacas/plugins/cleark
ey/Android.mk: libclearkeycasplugin: C_INCLUDES must be under the source or outup
directories: /proto.
12:15:57 ckati failed with: exit status 1
#### failed to build some targets (01:21 (mm:ss)) ####

Help building lineage 16!!!

Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
04:39:57 ninja failed with: exit status 1
What is the problem?

Categories

Resources