Starting a new game, my sovereign was placed next to a plot of fertile ground, on an unoccupied tile, but otherwise completely surrounded by forest. I founded a city, but my sovereign did not move away from the city like it usually does. I moved him one tile diagonally away from the city and tried to build a hut, but found that no buildings were selectable from the list:

debug.err is here.