The house had been empty for ages VS. The house was empty for ages.

I think both are saying the same meaning. What do you native English speakers think and feel about it? Thank you so much as usual