Theres to much water holding there, plus not enough space to work in.
Do you have enough height to do away with the gutter that side, raise the roof level all along the edge of the roof light, ie form some boxing and finish the top in lead.
Disconnect the soil pipe to fit a new pipe seal...