IMO the whole system needs to be looked at, not just in France. People living longer, so the traditional 'work from 15-65 and build up a pension' is not sustainable anymore. The problem is that many of the people using a state pension have additional income and live long. The people doing the menial labour don't live that long so don't much enjoy their pension. They are also the ones who depend on the state pensions without additional sources of income.
The system is unsustainable at the moment and the unfairness is increasing.