[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lennon86:
[not sure if allowed post this here.. mods please move if not?]

hi [MENTION=2586080]andybones[/MENTION]

yes i'm very keen to build and try this but my attempts to builds fail.

i'm using your crdroid "build" script" to build crdroid_9.0 for HTC10 but it fails with ninja error:

FAILED: ninja: 'out/target/product/pme/kernel', needed by

'out/target/product/pme/boot.img', missing and no known rule to make it

Here is outout of build script:

$ brunch lineage_pme-userdebug
23:54:57 Build sandboxing disabled due to nsjail error. This may become
fatal in the future. 23:54:57 Please let us know why nsjail doesn't
work in your environment at: 23:54:57
https://groups.google.com/forum/#!forum/android-building 23:54:57
https://issuetracker.google.com/issues/new?component=381517 Trying
dependencies-only mode on a non-existing device tree? 23:54:58 Build
sandboxing disabled due to nsjail error. This may become fatal in the
future. 23:54:58 Please let us know why nsjail doesn't work in your
environment at: 23:54:58
https://groups.google.com/forum/#!forum/android-building 23:54:58
https://issuetracker.google.com/issues/new?component=381517

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
CR_VERSION=6.0
TARGET_DEVICE=pme
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-4.9.0-11-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.191105.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES= device/htc/pme/libshims
hardware/qcom-caf/msm8996 WITH_SU=true
============================================
23:55:00 Build sandboxing disabled due to nsjail error. This may become
fatal in the future. 23:55:00 Please let us know why nsjail doesn't
work in your environment at: 23:55:00
https://groups.google.com/forum/#!forum/android-building 23:55:00
https://issuetracker.google.com/issues/new?component=381517
============================================
PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10
CR_VERSION=6.0
TARGET_DEVICE=pme
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-4.9.0-11-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.191105.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES= device/htc/pme/libshims
hardware/qcom-caf/msm8996 WITH_SU=true
============================================
vendor/lineage/config/crdroid.mk was modified, regenerating...
vendor/lineage/config/crdroid.mk was modified, regenerating...
[ 98% 16119/16420] including device/htc/pme/Android.mk ...
device/htc/pme/vndk/Android.mk:2: warning: ************* BOARD VNDK is
not enabled - compiling vndk-sp *************************** [ 99%
16419/16420] finishing build rules ...
vendor/lineage/build/tasks/kernel.mk:109: warning:
***************************************************************
vendor/lineage/build/tasks/kernel.mk:110: warning: * Using prebuilt
kernel binary instead of source *
vendor/lineage/build/tasks/kernel.mk:111: warning: * THIS IS
DEPRECATED, AND WILL BE DISCONTINUED *
vendor/lineage/build/tasks/kernel.mk:112: warning: * Please configure
your device to download the kernel *
vendor/lineage/build/tasks/kernel.mk:113: warning: * source repository
to kernel/htc/msm8996 vendor/lineage/build/tasks/kernel.mk:114:
warning: * for more information
* vendor/lineage/build/tasks/kernel.mk:115: warning:
*************************************************************** [100%
16420/16420] writing build rules ... build/make/core/Makefile:28:
warning: overriding commands for target
`out/target/product/pme/system/vendor/lib/hw/audio.primary.msm8996.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for
target
`out/target/product/pme/system/vendor/lib/hw/audio.primary.msm8996.so'
build/make/core/Makefile:28: warning: overriding commands for target
`out/target/product/pme/system/vendor/lib64/hw/audio.primary.msm8996.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for
target
`out/target/product/pme/system/vendor/lib64/hw/audio.primary.msm8996.so'
FAILED: ninja: 'out/target/product/pme/kernel', needed by
'out/target/product/pme/boot.img', missing and no known rule to make it
23:58:10 ninja failed with: exit status 1

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

Here my local manifest:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- crdroid 8.0/LOS17 for HTC 10 - aka pme -->
<project path="vendor/htc" name="Fagyi/proprietary_vendor_htc" remote="github" revision="lineage-17.0" />
<project path="device/htc/pme" name="Fagyi/android_device_htc_pme" remote="github" revision="lineage-17.0" />
<project path="kernel/htc/msm8996-caf" name="Fagyi/android_kernel_htc_msm8996-caf" remote="github" revision="lineage-17.0" />

<!--
<project path="packages/apps/crDroidSettings" name="crdroidandroid/android_packages_apps_crDroidSettings" remote="github" revision="10.0" /> -->
<!--
<project path="packages/apps/FlipFlap" name="LineageOS/android_packages_apps_FlipFlap" remote="github" revision="lineage-17.0" />
-->
<!--
<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="lineage-17.0" />
-->
</manifest>

Here is my lineage.dependencies -- from fagyi device tree. (still uses oreo

huh???)'

$ cat device/htc/pme/lineage.dependencies
[
{
"repository": "Fagyi/android_kernel_htc_msm8996",
"target_path": "kernel/htc/msm8996"
"branch": "eas-o-dev"
},
{
"repository": "android_packages_apps_FlipFlap",
"target_path": "packages/apps/FlipFlap"
},
{
"repository": "android_packages_resources_devicesettings",
"target_path": "packages/resources/devicesettings"
}
]
$

I guess my local manifest is bad.

Could someone post a working local manifest(s) to help me out? Thanks all.