You are not logged in.
Pages: 1
Topic closed
First, mods sorry if this is not the correct forum group to put this in.
I am trying to setup a build environment for compiling AOSP. I have followed the wiki and have the SDK and the AOSP tree setup. The problem I am running into is when I try and
. build/envsetup.shI get the following errors
bash: LUNCH_MENU_CHOICES[@]: unbound variable
bash: LUNCH_MENU_CHOICES[@]: unbound variable
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/htc/ace/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/moto/stingray/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/moto/wingray/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/samsung/crespo4g/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/samsung/crespo/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/samsung/maguro/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/samsung/toro/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/samsung/tuna/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including device/ti/panda/vendorsetup.sh
bash: LUNCH_MENU_CHOICES[@]: unbound variable
including sdk/bash_completion/adb.bashThen if you try and run lunch to get the menu it outputs
bash: $1: unbound variableI have tried making sure nothing is incorrect in my .bashrc I have tried searching for the errors I recieved and I guess my google skills on this are lacking as I am finding nothing related. If there are any Arch AOSP builders out there can you help out with a few tips as to what I can try looking for or searching for to help work this out. I am sure there are other issues I will need to sort out but as of now I can not build. I installed the SDK through AUR, ecplise works perfectly, repo is fully synced.
Not sure if this is needed but system info 3.2.4-1-ARCH, fully updated, nvidia blob, Qosmio x505-887 laptop.
Thanks in advance for any help/suggestions.
Offline
Remove set -u from your bashrc / automation script. See also: https://stackoverflow.com/questions/506 … 9#50601429
Offline
Thanks for sharing, cirosantilli. I doubt that vwyodajl is still having this issue, but it's nice to bring some closure to the thread.
I'm going to go ahead and close this old topic now.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed