How frowned upon is taking 5 years to graduate?

I transferred halfway through college, and had to take an extra semester due to that. Then, I failed a class which now takes me another extra semester. I can't bear to meet my old friends and schoolmates. It's too shameful to admit what I've done to myself.

I used to go to a relatively lower ranked institution, and even then. I feel as if my friends there have surpassed me in terms of nominal achievements.

I've declared two minors to try to make up for it. Regardless, it still haunts me at night.