When creating a new default world, it is possible for ruined portals and village houses to generate in the same space, which can prevent villagers from accessing the house. This could also be hazardous if the ruined portal had generated with lava, which could’ve caused the house to catch on fire. This can be reproduced by creating a new default world in versions 1.21.5 or 1.21.6 with the seed -8605285783726012178 and teleporting to -442, 64, -428.
Expected: Ruined portal would generate near the village, or fail to generate at all if a village generates in that same space.
Actual: Ruined portal and village house intersect.
I have tested this in 1.18 with the same seed and coordinates, but the village has a different layout, so the ruined portal generates next to the houses rather than intersecting them.
Duplicate of MC-187009 which is working as intended.