I am on Manjaro Linux(KDE) x64. I am trying to set up a build environment for Android/LineageOS 15.1. I have 2 issues though.
1. I prefer to use zsh as my default shell but I get an error if I try building with zsh as my shell. The same error does not occur when using bash as my shell. Is there a way to keep zsh as my primary shell but force bash to be used when building from source?
Build log:
https://pastebin.com/ND5XLFMt
2. I need to python2 to be used to compile source code. I have pyenv installed, which is under active development, and it works for the most part. However I have done more research and realized python(3) had pyvenv function but this is replaced now with venv. Does venv support building with python2? The documentation is a bit confusing in this regard. Also, I assume venv is a better and more reliable method then pyenv?