Building issue for camera QCamera2 - General Questions and Answers

I'm getting this error. which I assume I am missing a few library/hal that is needed. Where can I find these files?
[971/971] including vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Androi
device/oneplus/oneplus2/camera/QCamera2/Android.mk: error: camera.msm8994 (SHARED_LIBRARIES android-arm) missing libqdMetaData (SHARED_LIBRARIES android-arm)
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.
device/oneplus/oneplus2/camera/QCamera2/Android.mk: error: camera.msm8994 (SHARED_LIBRARIES android-arm) missing libqdutils (SHARED_LIBRARIES android-arm)
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.
01:35:39 ckati failed with: exit status 1
#### failed to build some targets (03:06 (mm:ss)) ####

Related

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.

Lineage16 Compilation error

[ 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?

[AOSP] Missing STATIC_LIBRARIES

Hello everyone, this error occurs in building.
I have cloned repo to "qcom/wlan" and "qcom-caf/wlan", but this problem have not been solved.
Hope anyone could help me.
The error information
Fully information:
Code:
17:06:42 ************************************************************
17:06:42 You are building on a machine with 15.5GB of RAM
17:06:42
17:06:42 The minimum required amount of free memory is around 16GB,
17:06:42 and even with that, some configurations may not work.
17:06:42
17:06:42 If you run into segfaults or other errors, try reducing your
17:06:42 -j value.
17:06:42 ************************************************************
date: bad date 2022-05-21 09:06 UTC
build/make/core/soong_config.mk:195: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
build/make/core/soong_config.mk:196: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
TARGET_PRODUCT=ouvrir_dipper
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a
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.16.0-kali7-amd64-x86_64-Kali-GNU/Linux-Rolling
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SP2A.220405.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/dipper vendor/xiaomi/sdm845-common device/xiaomi/sdm845-common hardware/google/interfaces hardware/google/pixel hardware/xiaomi vendor/nxp/opensource/pn5xx hardware/qcom-caf/sdm845 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices vendor/qcom/opensource/commonsys/packages/apps/Bluetooth vendor/qcom/opensource/commonsys/system/bt/conf vendor/qcom/opensource/commonsys/system/bt/main hardware/nxp hardware/qcom-caf/common/fwk-detect
============================================
date: bad date 2022-05-21 09:10 UTC
[100% 253/253] initializing build system ...
date: bad date 2022-05-21 09:10 UTC
[ 75% 420/557] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[ 99% 556/557] finishing build rules ...
FAILED:
external/wpa_supplicant_8/hostapd/Android.mk: error: "hostapd (EXECUTABLES android-arm64) missing lib_driver_cmd_qcwcn (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.
external/wpa_supplicant_8/hostapd/Android.mk: error: "hostapd_nohidl (EXECUTABLES android-arm64) missing lib_driver_cmd_qcwcn (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.
external/wpa_supplicant_8/wpa_supplicant/Android.mk: error: "wpa_supplicant (EXECUTABLES android-arm64) missing lib_driver_cmd_qcwcn (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.
frameworks/opt/net/wifi/libwifi_hal/Android.mk: error: "libwifi-hal (SHARED_LIBRARIES android-arm64) missing libwifi-hal-qcom (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.
frameworks/opt/net/wifi/libwifi_hal/Android.mk: error: "libwifi-hal (SHARED_LIBRARIES android-arm64) missing libcld80211 (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.
frameworks/opt/net/wifi/libwifi_hal/Android.mk: error: "libwifi-hal (SHARED_LIBRARIES android-arm) missing libwifi-hal-qcom (STATIC_LIBRARIES android-arm)"
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.
frameworks/opt/net/wifi/libwifi_hal/Android.mk: error: "libwifi-hal (SHARED_LIBRARIES android-arm) missing libcld80211 (SHARED_LIBRARIES android-arm)"
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:1118: error: exiting from previous errors.
17:11:06 ckati failed with: exit status 1
#### failed to build some targets (04:24 (mm:ss)) ####

[GKI] [android13-5.10] [Bazel] build failed Differences between ksymtab and symbol list detected!

I following this instruction:https://source.android.com/docs/setup/build/building-kernels
I initialized repo and synced
Using Bazel to build (with build/build.sh same error)
Using this command:tools/bazel run --lto=none //common:kernel_aarch64_dist -- --dist_dir=out/android13-5.10/dist
And get this error:
ERROR: /home/aaron/Builds/android-kernel/common/BUILD.bazel:26:22: Checking for kmi_symbol_list_
strict_mode //common:kernel_aarch64 failed: (Exit 1): bash failed: error executing command (from
target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root f
or debugging
ERROR: Differences between ksymtab and symbol list detected!
Symbols missing from ksymtab:
- __cfi_slowpath
Symbols missing from symbol list:
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3572,647s, Critical Path: 3535,69s
INFO: 7 processes: 3 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Hello, I also encountered this problem, how did you solve it?

Categories

Resources