noun
temporary hut; booth; shack; shed
A small, simple, often makeshift structure used for temporary purposes such as a market stall, construction site office, or storage.
工事現場のそばに仮小屋が建てられた。
A temporary hut was built near the construction site.
祭りの屋台は小さな仮小屋だ。
The festival stalls are small booths.
バラック is a loanword for a barracks-like temporary building, often rougher or more military in feel than 仮小屋.
Compound of 仮 (かり, temporary) and 小屋 (こや, small building). The reading ごや is a rendaku form of こや.