>>
>> This would be too easy :)
>> Without libncurses5 you will get build failures very early on, even with recent AOSP versions like 14 QPR1 (If needed, I can provide the failure logs...)
>
> yes please, so i can see if that's also a dependency we can just fix.
Ok, I did some more experiments on my side, and I can confirm that both the main and android14-qpr2-release branches can actually be built without libncurses5 (For the record, I used the sdk_phone64_x86_64 lunch target for my tests).
However, when going back to earlier 14 release tags, like android-14.0.0_r22, I still get some build errors (see attached): I try to dig inside the Android.bp and Android.mk related to the failing component, but I did not found anything relevant, and also no real mention of a hardware dependency or linker flag related to libncurses.so.5. I would suspect an issue with the prebuit clang, but that's nothing more than a rough guess....
Long story short, I would assume that the libncurses5 dependency is not anymore, but only if you plan to build the main or a very recent Android 14 release branch/tag.
>> My solution here was to install the 22.04 package. From my side, this fixed my builds.
>
> you mean libncurses6?