Roofing cement at a chimney is the most common field repair in residential roofing and the most reliably temporary. Proper flashing works because two overlapping metal pieces shed water while allowing the masonry and the roof to move independently. Cement instead bonds the two rigidly, and since chimney and roof expand, contract and settle at different rates, the bond cracks — usually within a season or two. Then it gets worse than doing nothing, because the cracked cement holds water against the joint and hides the deteriorating flashing underneath, so the leak develops out of sight and the sheathing and framing get wet before any stain appears inside. The inspector reports it as a temporary measure with a limited life and recommends proper base and counter flashing, without implying the chimney itself is failing.