PotatoProject / manifest

The potato tracker
81 stars 34 forks source link

Build for emulator. #10

Open PeterHindes opened 3 years ago

PeterHindes commented 3 years ago

I'm getting errors when I try to build full-eng. How should I go about building this for the emulator? Is this repo stable?

PeterHindes commented 3 years ago

Heres the error Screenshot from 2021-01-06 00-00-05

PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=11 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.10.3-arch1-1-x86_64-Arch-Linux HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=RQ1D.210105.003 OUT_DIR=/home/peter/nvme1/posp/out PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl

[ 99% 408/409] finishing build rules ... FAILED: external/wpa_supplicant_8/hostapd/Android.mk: error: "hostapd (EXECUTABLES android-arm) missing lib_driver_cmd_simulated (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. external/wpa_supplicant_8/hostapd/Android.mk: error: "hostapd_nohidl (EXECUTABLES android-arm) missing lib_driver_cmd_simulated (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. external/wpa_supplicant_8/wpa_supplicant/Android.mk: error: "wpa_supplicant (EXECUTABLES android-arm) missing lib_driver_cmd_simulated (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 libwifi-hal-emu (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. build/make/core/main.mk:946: error: exiting from previous errors. 23:54:03 ckati failed with: exit status 1

Lyceris-chan commented 3 years ago

POSP has proper product/board variable seperation. Please see other device trees at https://github.com/PotatoDevices for more.

REF: https://github.com/Daisy-R-sources/device_xiaomi_daisy/blob/f907b6c678ec1bd680c6ccef860f0322282ec817/device.mk#L41

PeterHindes commented 3 years ago

POSP has proper product/board variable seperation. Please see other device trees at https://github.com/PotatoDevices for more.

REF: https://github.com/Daisy-R-sources/device_xiaomi_daisy/blob/f907b6c678ec1bd680c6ccef860f0322282ec817/device.mk#L41

Does that mean I won't be able to build for the emulator?

AgentFabulous commented 3 years ago

POSP has proper product/board variable seperation. Please see other device trees at https://github.com/PotatoDevices for more.

REF: https://github.com/Daisy-R-sources/device_xiaomi_daisy/blob/f907b6c678ec1bd680c6ccef860f0322282ec817/device.mk#L41

That's odd, this shouldn't happen on emulator. I'll check emulator build this weekend.