Here is a photo of my pantry. It was completed almost a year ago. Yes, it was painted, but we didn't put anything in it for maybe a month after it was painted.
I have more items in the pantry than did when this photo was taken, but it is just more of the same stuff.
I think it is just a musty, stale smell from lack of air circulation.
Q