It is a non-English language film, set in (I would guess) the Mediterranean or Middle East (lots of arid landscapes).
My guess is it was released in the 1970s but maybe the 1980s at the latest or 1960s at the earliest – I would have seen it (on TV) in the 1990s.
It had a Peir Paolo Pasolini or maybe Federico Fellini sort of look about it, but I don’t think it was any of their films.
The only scenes I remember clearly are one with a group of peasant children chasing a small herd of sheep or goats through a street or down a road and another scene with a group of people (I think this group were travelling throughout the film – maybe a pilgrimage or maybe travelling actors) dressed strangely on a rocky mountain side with some of these people then performing some sort of ritual in a cave in the mountain side.
Not very much to go on I know but it is probably more than 20 years since I saw the film and I only saw it that one time.
After a bit more film research I thought it might have been one of Fernando Arrabal’s films. But I’ve watched Viva la Muerte and J’irai Comme un Cheval Fou and it’s not either of them and I doubt it’s The Guernica Tree, based on plot synopses I’ve read.[Note: I’m doing this on someone else’s behalf so might be slow to confirm]