rom cannot be built on linux
That sounds like a script is missing the execute bit. Did you try running chmod +x on it?
hum, got same issue on Windows some time ago, and to be honest I tested only Windows part. I will install a Linux VM to test it