Jeez, this one is annoying too.
According to Gus Smedstad, https://slideplayer.com/slide/13493747/
Sawmills and Ore Pits must be placed at least 12 cells away from the town. But it doesn't really check if it's freely accessible.
Also this time it was blocked by three(!!!) monsters. Madness