Repairing and building gates is completely buged rn.
Beside from the absolutely awkward placement mechanic (you have to put it on an existing wall, not just blueprint), repairing/building is beeing done by getting to the center of the building/gate.
Same issue with the last tier landmark of china.
Trying to build/repair gates with mutliple vills always results in a big blockfest while they are beeing forced to get into a position, in which enemy meele units from the other side of the wall can kill them.