The market is failing because of the distortions introduced by things like mortgage tax deduction, 30-year term mortgages, restrictions on new housing, etc.
Normally when prices go up, supplier (homebuilders) have an incentive to produce more housing, countering the increase in price. However, many cities (SF is a great example) make it very hard to build new housing. Restriction on supply with increasing demand -> price of homes go up.
Unfortunately they are not making any more land.