[AOSP] Missing STATIC_LIBRARIES - General Questions and Answers

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)) ####

Related

CM14 Building (fail?!)

Hey Guys,
im trying to build CM14 for the galaxy S6 (g920f/i).
I 'm on Ubuntu 16.04 64bit with virtaulbox. I already done with the most steps like setting up git and syncing the repo. Now i have to repo sync device specific files, but it fails every time with a fetching error:
Code:
Fetching projects: 99% (581/586) error: Cannot fetch CyanogenMod/android_device_samsung_zerofltexx
Warn: --force-broken, continuing to sync
Fatal: couldn't find remote ref refs/heads/cm-14
error: cannot fetch bmc08gt/kernel_samsung_exynos7420
Warn: --force-broken, continuing to sync
Fetching projects: 100% (586/586)
Error: exited sync due to fetch errors
I tryed to sync like 10000000 times with commands like:
repo sync -j4
repo sync -j4 -f
repo sync -j4 -f --force-broken
Any ideas?
The "couldn't find remote ref refs/heads/cm-14" part shows the actual error.
There's no such branch "cm-14". Check your xml files.
OK, i got all thing together, but now i have a new problem
Code:
[email protected]:~/android/system$ source 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-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ brunch zerofltexx
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
make: Verzeichnis „/home/spongebob/android/system“ wird betreten
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
Running kati to generate build-cm_zerofltexx.ninja...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.0
CM_VERSION=14.0-20161220-UNOFFICIAL-zerofltexx
TARGET_PRODUCT=cm_zerofltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NBD90Z
OUT_DIR=/home/spongebob/android/system/out
============================================
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1236: 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:1236: 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/spongebob/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates": Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE zerofltexx
vendor/cm/build/tasks/kernel.mk:160: ***************************************************************
vendor/cm/build/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:163: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:164: * source repository to kernel/samsung/exynos7420
vendor/cm/build/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
vendor/cm/build/tasks/kernel.mk:166: * for more information *
vendor/cm/build/tasks/kernel.mk:167: ***************************************************************
build/core/binary.mk:703: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:703: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:708: warning: overriding commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:708: warning: ignoring old commands for target `/home/spongebob/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/base_rules.mk:316: warning: overriding commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/spongebob/android/system/out/target/product/zerofltexx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/spongebob/android/system/out/target/product/zerofltexx/kernel', needed by '/home/spongebob/android/system/out/target/product/zerofltexx/boot.img', missing and no known rule to make it
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/spongebob/android/system“ wird verlassen
#### make failed to build some targets (21:13 (mm:ss)) ####
[email protected]:~/android/system$
i think my laptop trolls like a boss.
Code:
vendor/cm/build/tasks/kernel.mk:160: ***************************************************************
vendor/cm/build/tasks/kernel.mk:161: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:162: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:163: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:164: * source repository to kernel/samsung/exynos7420
vendor/cm/build/tasks/kernel.mk:165: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
vendor/cm/build/tasks/kernel.mk:166: * for more information *
vendor/cm/build/tasks/kernel.mk:167: ***************************************************************
Console output says everything
Sry i'm so stupid? its my first try to build from source.
ItzTazzy said:
Sry i'm so stupid its my first try to build from source.
Click to expand...
Click to collapse
hey bro can you share when is done? thx
When its done i will share it ?
ItzTazzy said:
When its done i will share it
Click to expand...
Click to collapse
Yes. Please

AOSP build FAILED

Hi, I'm trying to build an AOSP on Ubuntu 17.04 . I'm reading the tutorial in Embedded Android book. Everything was right until now:
Code:
[email protected]:/bin/repo_work_directory# make -j16
============================================
PLATFORM_VERSION_CODENAME=P
PLATFORM_VERSION=P
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-37-generic-x86_64-Ubuntu-17.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OC
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
[ 0% 1/60175] Yacc: ss <= external/iproute2/misc/ssfilter.y
FAILED: out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ssfilter.c
/bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d --defines=out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ssfilter.h -o out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ssfilter.c external/iproute2/misc/ssfilter.y"
external/iproute2/misc/ssfilter.y: 31 conflitti shift/riduzione
prebuilts/misc/linux-x86/bison/bison: Sotto-processo m4 non riuscito: File o directory non esistente
[ 0% 16/60175] target thumb C++: libvkjson <= external/vulkan-validation-layers/libs/vkjson/vkjson.cc
ninja: build stopped: subcommand failed.
13:24:39 ninja failed with: exit status 1
#### failed to build some targets (20 seconds) ####
What am I doing wrong? How can I fix this issue? Please help. Thanks in advance.
Hydrarian said:
Hi, I'm trying to build an AOSP on Ubuntu 17.04 . I'm reading the tutorial in Embedded Android book. Everything was right until now:...
Click to expand...
Click to collapse
I, personally, am not sure of an answer for you and though that was a challenge to locate a Guide/Tutorial/How-To for this, I do believe that one or more of the following threads should have an answer for you or, hopefully, a member there could provide some guidance for an answer.
https://forum.xda-developers.com/showthread.php?t=2814763
https://forum.xda-developers.com/showthread.php?t=1272270
https://forum.xda-developers.com/showthread.php?t=3573623
https://forum.xda-developers.com/showthread.php?t=3363669
https://forum.xda-developers.com/showthread.php?t=3272625
https://forum.xda-developers.com/showthread.php?t=2597220
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Building issue for camera QCamera2

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)) ####

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.

[HELP NEEDED] Build failure on Android 12: Undefined module 'WfdCommon' (PixelExperience)

Good day everyone!
Recently I have decided to try to compile PixelExperience myself, but I ran into some problems.
I have downloaded the ROM source according to the wiki (branch is twelve at https://github.com/PixelExperience/manifest). Everything went according to plan until I tried building the source with mka bacon -j8.
Here's the output of the command from above (using -j1 instead of -j8 in the command above gives the same error):
Code:
21:21:00 ************************************************************
21:21:00 You are building on a machine with 15.6GB of RAM
21:21:00
21:21:00 The minimum required amount of free memory is around 16GB,
21:21:00 and even with that, some configurations may not work.
21:21:00
21:21:00 If you run into segfaults or other errors, try reducing your
21:21:00 -j value.
21:21:00 ************************************************************
vendor/aosp/config/bootanimation.mk:9: warning: "TARGET_BOOT_ANIMATION_RES is undefined, assuming 1080p"
build/make/core/soong_config.mk:199: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
build/make/core/soong_config.mk:200: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
CUSTOM_VERSION=PixelExperience_raphael-12.1-20220811-1921-UNOFFICIAL
TARGET_PRODUCT=aosp_raphael
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.17.5-xanmod1-x86_64-Gentoo-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SQ3A.220705.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/raphael device/xiaomi/raphael hardware/xiaomi hardware/qcom-caf/sm8150 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
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd
/ && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp
error: frameworks/base/boot/Android.bp:44:1: "platform-bootclasspath" depends on undefined module "WfdCommon"
21:21:50 soong bootstrap failed with: exit status 1
From what I can gather "WfdCommon" is missing or is not registered. After a bit of digging I found out that maybe there should be a file called WfdCommon.jar, so I ran find -name WfdCommon.jar but it didn't find anything.
I want to build for my Xiaomi Mi 9T Pro (codenamed raphael) on Gentoo Linux (x86_64) by the way. I have an Intel Core i5 4590 running on 3.7 Ghz and 16 Gb of DDR3 RAM. Also an additional 149 Gb free space on the source partition (formatted as ext4).
What should I do? Why is it missing? Can I get this file from somewhere else?

Categories

Resources