[Android Software Development] r3muxd:
trying to compile PBRP for a Pixel 2

I am trying to compile PBRP for my Google Pixel 2. So far I've cloned in the TWRP device tree, msm8998 from omnirom, created a omni_wahoo.mk and AndroidProducts.mk, and added a lunch combo.

When I run lunch and

mka bootimage

, I get

[root@r3muxd-pc pbrp]# lunch omni_wahoo-eng
android-8.1
WARNING: device/google/wahoo/omni.dependencies file not found

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_wahoo
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.2.11-arch1-1-ARCH-x86_64-Arch-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3B.190801.002
OUT_DIR=/root/pbrp/out
============================================
[root@r3muxd-pc pbrp]# mka bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_wahoo
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.2.11-arch1-1-ARCH-x86_64-Arch-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3B.190801.002
OUT_DIR=/root/pbrp/out
============================================
11:33:35 Missing ninja log: stat /root/pbrp/out/.ninja_log: no such file or directory
[1/1] /root/pbrp/out/soong/.minibootstrap/minibp /root/pbrp/out/soong/.bootstrap/build.ninja
[38/39] glob prebuilts/ndk/stl.bp
[76/76] /root/pbrp/out/soong/.bootstrap/bin/soong_build /root/pbrp/out/soong/build.ninja
/root/pbrp/out/build-omni_wahoo-cleanspec.ninja is missing, regenerating...
/root/pbrp/out/build-omni_wahoo.ninja is missing, regenerating...
[83/157] including frameworks/base/Android.mk ...
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
[137/157] including system/core/Android.mk ...
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
[147/157] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[157/157] including vendor/qcom/opensource/commonsys/Android.mk ...
BOARD_KERNEL_IMAGE_NAME not defined.
[ 99% 1094/1095] glob vendor/qcom/opensource/commonsys/dpm-commonsys/src
ninja: error: 'out/target/product/system/lib64/android.hardware.boot@1.0.so', needed by '/root/pbrp/out/target/product/wahoo/obj_arm/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin', missing and no known rule to make it
11:34:45 ninja failed with: exit status 1

#### failed to build some targets (01:12 (mm:ss)) ####

What am I doing wrong?