In what sense is “race” real? What would it take for there to be an end to racism?

It’s is really in a sense of the tribe. It the idea that tribe transients direct social connections. Will it end? In all likelihood in mainstream society, yes. There will always be some holdout, but as our world gets smaller it is getting more and more disadvantages, economically and socially, to discriminate and hate along seemingly stupid line of in the sand.