looks like you're using WSL --- use real Linux instead. (or https://github.com/android/ndk/issues/1755 suggests that WSL2 might work better than WSL1.)
On Mon, Sep 18, 2023 at 7:16 PM Kiran Kaur <[email protected]> wrote: > > hi Team, > > I am new to AOSP and trying to build android for raspberry pi 4b but while > running make command > "make bootimage systemimage vendorimage -j$(nproc) " > for > "lunch rpi4_car-eng" > I am getting following error. > 09:30:53 Build sandboxing disabled due to nsjail error. > PLATFORM_VERSION=13 > TARGET_PRODUCT=rpi4_car > TARGET_BUILD_VARIANT=eng > TARGET_BUILD_TYPE=release > TARGET_ARCH=arm64 > TARGET_ARCH_VARIANT=armv8-a > TARGET_CPU_VARIANT=cortex-a72 > HOST_ARCH=x86_64 > HOST_2ND_ARCH=x86 > HOST_OS=linux > HOST_OS_EXTRA=Linux-4.4.0-22621-Microsoft-x86_64-Ubuntu-22.04.3-LTS > HOST_CROSS_OS=windows > HOST_CROSS_ARCH=x86 > HOST_CROSS_2ND_ARCH=x86_64 > HOST_BUILD_TYPE=release > BUILD_ID=TQ3C.230805.001.B2 > OUT_DIR=out > ============================================ > FAILED: ninja: out/soong/bootstrap.ninja:12: loading > 'out/soong/globs-build.ninja': Exec format error > subninja out/soong/globs-build.ninja > ^ near here > 09:31:47 soong bootstrap failed with: exit status 1 > > #### failed to build some targets (19 seconds) #### > > > I tried to search for this error but with no solution. > > Any suggestions on this can solve my problem. > > Thanks & Regards > Kirandeep Kaur > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/fef802bc-9f0f-44dd-ae55-962958b3a840n%40googlegroups.com. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAJgzZopvjHwV_DVtAYKDvtN0syAgPKgP%2BbmtWRYV%2B_S4uvbqMg%40mail.gmail.com.
