barrack (Merriam Webster)
1: building or set of buildings used especially for lodging soldiers in garrison —usually used in plural
2 : a structure resembling a shed or barn that provides temporary housing —usually used in plural
3 : housing characterized by extreme plainness or dreary uniformity —usually used in plural
In English, a tent for an officer, noble etc. is a pavilion. With all meanings of barracks and pavilion, the first is dreary and the second is elegant.