Hundreds of thousands of homes and public buildings are at risk, but no agreement reached on making them earthquake safe