I build RR following the Lineage OS wiki and Github Repo ResurrectionRemix/platform_manifest/readme.mkdn.
Env : Ubuntu 16.04 LTS on Linode (DC: Dallas)
Build scriptsNewbies, don't mind) https://bitbucket.org/kmahyyg/android-build-env
BTW, the envvar-copyonly.sh is used to set the variable of the environment.
The sequence is : 1k-*.sh -> vendor.sh -> clone.sh
It noticed me that Build successfully.I also successfully flashed in TWRP.But the /system was even empty!
Device: Xiaomi Redmi3 (ido)
Device tree: RR Default
All the logs and files I compiled and saved that you might need can be found here : https://drive.google.com/open?id=0B6...E43SEJNWVdwN0k
Emergency!Same problem with LineageOS.