Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for emulator. #10

Open
PeterHindes opened this issue Jan 5, 2021 · 4 comments
Open

Build for emulator. #10

PeterHindes opened this issue Jan 5, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@PeterHindes
Copy link

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
Copy link
Author

PeterHindes commented Jan 6, 2021

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
Copy link

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
Copy link
Author

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
Copy link
Member

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.

@AgentFabulous AgentFabulous self-assigned this Jan 15, 2021
@AgentFabulous AgentFabulous added the bug Something isn't working label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants