[Google Pixel 8 Pro] karenmcd:
I was following this guide: https://wiki.lineageos.org/devices/husky/build/

I used this once to initialize:

repo init -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs

The only change I made because of my previous post was to sub out "repo sync" with:

repo sync -j1 -c -f

I had to run it 2x to get it to complete with a success message, but it did work eventually.

I had errors and had to extract the binaries, but that also appears to have worked properly... here's the last few lines:

Cleaning firmware output directory (/home/karen-workstation/android/lineage/device/google/husky/../shusky/husky/../../../../vendor/google/husky/radio)..
Extracting 11 files in /home/karen-workstation/android/lineage/device/google/husky/../shusky/husky/proprietary-firmware.txt from adb:
- radio/abl.img
/dev/block/by-name/abl_a: 1 file pulled, 0 skipped. 31.0 MB/s (4194304 bytes in 0.129s)
- radio/bl1.img
/dev/block/by-name/bl1_a: 1 file pulled, 0 skipped. 2.6 MB/s (16384 bytes in 0.006s)
- radio/bl2.img
/dev/block/by-name/bl2_a: 1 file pulled, 0 skipped. 25.9 MB/s (552960 bytes in 0.020s)
- radio/bl31.img
/dev/block/by-name/bl31_a: 1 file pulled, 0 skipped. 23.7 MB/s (262144 bytes in 0.011s)
- radio/gcf.img
/dev/block/by-name/gcf_a: 1 file pulled, 0 skipped. 24.2 MB/s (360448 bytes in 0.014s)
- radio/gsa.img
/dev/block/by-name/gsa_a: 1 file pulled, 0 skipped. 31.1 MB/s (1048576 bytes in 0.032s)
- radio/gsa_bl1.img
/dev/block/by-name/gsa_bl1_a: 1 file pulled, 0 skipped. 14.8 MB/s (98304 bytes in 0.006s)
- radio/ldfw.img
/dev/block/by-name/ldfw_a: 1 file pulled, 0 skipped. 34.1 MB/s (4194304 bytes in 0.117s)
- radio/modem.img
/dev/block/by-name/modem_a: 1 file pulled, 0 skipped. 36.2 MB/s (209715200 bytes in 5.524s)
- radio/pbl.img
/dev/block/by-name/pbl_a: 1 file pulled, 0 skipped. 12.9 MB/s (81920 bytes in 0.006s)
- radio/tzsw.img
/dev/block/by-name/tzsw_a: 1 file pulled, 0 skipped. 36.5 MB/s (20971520 bytes in 0.548s)
   ~/a/lineage/device/google/husky   @3a0a5a57  cd ~/android/lineage  ✔  2m 18s 

Then finally at the end it failed. I've tried searching the errors, and I'm unsure how to procede - It reads something like a build file is missing, but i have no idea how to make a build file that it's asking for, and thought that it was supposed to be made automatically when you breakfast? do I need to re-run repo sync without the -c? it's like it's missing files, so that's the only other thing I can think of. Any help would be appreaciated thanks! (o:

Last builds I did for my other devices went flawlessly following the steps, so it's surprising this one has been such a pain compared to my experiences in the past. :( I also gave up on trying to do it through a VM because I wasn't able to get adb/fastboot to passthrough the usb devices with gnome boxes to the Ubuntu 23.10 VM with 64gb RAM. So now I'm using the host: Linux 6.1.77-2-MANJARO Gnome 45.4 w/AMD 5800X & 128gb RAM. I installed the https://aur.archlinux.org/packages/lineageos-devel to meet the build dependencies and mounted the VM drive and copied the repo sync to the same destination it to my host machine, and resumed from there to pull the propietary blobs.

This error also looks relevant: https://stackoverflow.com/questions...-bazel-tools-tools-androiddatabinding-annotat

~/android/lineage  croot  ✔
~/android/lineage  brunch husky  ✔
Looking for dependencies in device/google/husky
Looking for dependencies in device/google/shusky
Looking for dependencies in device/google/zuma
Looking for dependencies in device/google/gs101
Looking for dependencies in device/google/gs-common
device/google/gs-common has no additional dependencies.
Looking for dependencies in device/google/shusky-kernel
device/google/shusky-kernel has no additional dependencies.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a
TARGET_CPU_VARIANT=cortex-a55
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.77-2-MANJARO-x86_64-Manjaro-Linux
HOST_CROSS_OS=windows
BUILD_ID=UQ1A.240205.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/gs-common/powerstats device/google/gs-common/gs_watchdogd hardware/google/av hardware/google/gchips hardware/google/gchips/gralloc4 hardware/google/graphics/common hardware/google/graphics/zuma hardware/google/interfaces hardware/google/pixel device/google/zuma device/google/zuma/powerstats system/chre/host/hal_generic vendor/google/whitechapel/tools vendor/google/interfaces vendor/google_devices/common/proprietary/confirmatioui_hal vendor/google_nos/host/android vendor/google_nos/test/system-test-harness vendor/google/camera vendor/samsung_slsi/telephony/ vendor/arm/mali/valhall hardware/google/camera device/google/gs-common/battery_mitigation vendor/google_nos/init/dauntless vendor/google/media/bigwave vendor/samsung_slsi/codec2 vendor/google/trusty/common vendor/google/whitechapel/audio/hal vendor/google/whitechapel/audio/interfaces vendor/google/whitechapel/aoc vendor/google/tools/subsystem-coredump vendor/google/tools/ril-extension-service vendor/google/tools/ril-mem-monitor vendor/google/input/twoshay vendor/broadcom/bluetooth device/google/shusky/powerstats/husky device/google/shusky vendor/google_devices/shusky/prebuilts vendor/broadcom/gps/bcm47765 vendor/goodix/udfps/fp_utils vendor/goodix/udfps/g7_trusty vendor/goodix/udfps/g7_aidl_trusty vendor/google/interfaces vendor/google/husky
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=21.0-20240303-UNOFFICIAL-husky
PRODUCT_INCLUDE_TAGS=com.android.mainline
TARGET_PRODUCT=lineage_husky
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a
TARGET_CPU_VARIANT=cortex-a55
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.77-2-MANJARO-x86_64-Manjaro-Linux
HOST_CROSS_OS=windows
BUILD_ID=UQ1A.240205.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/gs-common/powerstats device/google/gs-common/gs_watchdogd hardware/google/av hardware/google/gchips hardware/goog
le/gchips/gralloc4 hardware/google/graphics/common hardware/google/graphics/zuma hardware/google/interfaces hardware/google/pixel device/google/zuma dev
ice/google/zuma/powerstats system/chre/host/hal_generic vendor/google/whitechapel/tools vendor/google/interfaces vendor/google_devices/common/proprietar
y/confirmatioui_hal vendor/google_nos/host/android vendor/google_nos/test/system-test-harness vendor/google/camera vendor/samsung_slsi/telephony/ vendor
/arm/mali/valhall hardware/google/camera device/google/gs-common/battery_mitigation vendor/google_nos/init/dauntless vendor/google/media/bigwave vendor/
[100% 415/415] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out"
-o out/soong/build.ninja --bazel-mode --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/s
oong/soong.environment.used.build Android.bp
internal error: bazel command failed: exit status 1
---command---
./build/bazel/bin/bazel --output_base=/home/karen-workstation/android/lineage/out/bazel/output cquery deps(@soong_injection//mixed_builds:buildroot, 2) --profile=/home/karen-workstation/android/lineage/out/bazel
_metrics/cquery-buildroot_bazel_profile.gz --experimental_repository_disable_download --ui_event_filters=-INFO --noshow_progress --norun_validations --output=starlark --starlark:file=/home/karen-workstation/andr
oid/lineage/out/soong/soong_injection/buildroot.cquery
---env---
HOME=/home/karen-workstation/android/lineage/out/bazel/bazelhome
PWD=/proc/self/cwd
BUILD_DIR=/home/karen-workstation/android/lineage/out/soong
OUT_DIR=/home/karen-workstation/android/lineage/out
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
---stderr---
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
ERROR: /home/karen-workstation/android/lineage/out/soong/workspace/build/bazel/rules/apex/BUILD:153:15: no such package 'frameworks/base/tools/aapt2': BUILD file not found in any of the following directories. Ad
d a BUILD file to a directory to mark it as a package.
- /home/karen-workstation/android/lineage/out/soong/workspace/frameworks/base/tools/aapt2 and referenced by '//build/bazel/rules/apex:apex_toolchain'
ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed; build aborted:
ERROR: Build did NOT complete successfully
---
03:54:11 soong bootstrap failed with: exit status 1

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

   ~/android/lineage 