after syncing the project , I can't even use the lunch command , nevertheless to build .. (fixed the issue of lunch , but the issues when building are piling ... non stop)

    it's a well working build env , I used to build A14 on it without any issues , just moved to A15 and these issues started to show up. ie :

    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=14
    TARGET_PRODUCT=aosp_oriole
    TARGET_BUILD_VARIANT=userdebug
    TARGET_ARCH=arm64
    TARGET_ARCH_VARIANT=armv8-2a-dotprod
    TARGET_CPU_VARIANT=cortex-a76
    TARGET_2ND_ARCH=arm
    TARGET_2ND_ARCH_VARIANT=armv8-2a
    TARGET_2ND_CPU_VARIANT=cortex-a76
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-6.8.0-1018-azure-x86_64-Ubuntu-22.04.5-LTS
    HOST_CROSS_OS=windows
    BUILD_ID=AP4A.241205.013
    PLATFORM_SECURITY_PATCH=2024-09-05
    OUT_DIR=out
    ============================================
    FAILED: ninja: '/dtbo.img', needed by 'out/target/product/oriole/dtbo.img', missing and no known rule to make it
    19:04:55 ninja failed with: exit status 1

      and after forcing the path in the makefile: another error :
      FAILED: ninja: 'out/target/product/oriole/dtb.img', needed by 'out/target/product/oriole/obj/PACKAGING/target_files_intermediates/aosp_oriole-target_files.zip.list', missing and no known rule to make it
      19:37:25 ninja failed with: exit status 1

      de0u also, when I see this:

      HOST_OS=linux
      HOST_OS_EXTRA=Linux-6.8.0-1018-azure-x86_64-Ubuntu-22.04.5-LTS
      HOST_CROSS_OS=windows

      it sounds like he is running the build env on Microsoft Azure? That introduces a whole other set of unknowns.

      eagle13 PLATFORM_VERSION=14

      I've never built from source, but should this be 15?

      well I was using it without any issues to build A14 , downloaded the latest manifest (15) and synced the project

      however , I am trying to build a specific manifest using the tag and syncing the project

      well , using the tag of the latest release doesn't make a difference ,
      this is the first error I see : lunch aosp_oriole-ap2a-userdebug
      cat: /vendor_boot.modules.load: No such file or directory
      In file included from build/make/core/config.mk:394:
      In file included from build/make/core/envsetup.mk:368:
      In file included from build/make/core/board_config.mk:239:
      In file included from device/google/raviole/oriole/BoardConfig.mk:41:
      device/google/gs101/BoardConfig-common.mk:347: error: vendor_boot.modules.load not found or empty.
      07:16:35 dumpvars failed with: exit status 1
      (PS : sync was successful and files are there)

      • de0u replied to this.

        same with AP4A or AP3A as release

        eagle13 cat: /vendor_boot.modules.load: No such file or directory

        But there should not be a file called vendor_boot.modules.load in the system's root directory! That output suggests that some environment variable may be unset.

        yes that's my suspicion, some env variables aren't set , or not being set when doing the lunch command
        I had to hardcode some paths though to bypass the lunch command and move to make command and get the error above

        even more , kinda hardcoded everything , I know it's risky , and ofc the image isn't booting , it's a bootloop

        Just did my first build and it worked fairly well (development branches). Hopefully the detail below help more than being annoying. It went surprisingly smooth, unlike compiling OpenWRT, except for one thing. I was a bit confused about signing and generating the certificates (I tried to explore the options); I will recompile after repo diff/ syncing and removing all the changes that I may or may not have done while trying to understand what I was doing. I was able to flash my phone with no issue. And I did made sure that the automated update were disabled as per the warning in the instruction.

        My setup is a debian 12 vm using virsh with no graphics installed. What I did was (after following the instructions specific for Debian 12 and yarnpkg) to download repo from Google (manual method) and the required packages listed in "Install required software". Then for adevtool I followed the instruction from (what I hope is the) official github page. Since it mentioned minimum I installed node.js 22 using npm.

        The repo tool and the .jar file from adevtool were all installed in the bin directory that I created in the home directory (~/bin). I then exported the path and added it to .bashrc . That's it. That and I found that I needed to restart from the beginning with lunch command if I were to exit the current session.

        https://source.android.com/docs/setup/start/requirements
        https://github.com/kdrag0n/adevtool/tree/main

        And with this setup (no windows involved) I also saw the HOST_CROSS_OS=windows .

        I am using ubuntu server on cloud computing , so it's not related to that as I have been using this server for 2 years now , ( 5 years of aosp experience here)

        I was building fine gOS android 14

        Then I am the only N00b here. And to correct myself I was better off using yarnpkg to install adevtool because I couldn't repeat what I just did. I tried before with a gui and the whole android studio installed (and some more) and I was stuck in a loop of error or missing packages that I couldn't understand. I thought that maybe you were in a similar situation.