Help! Going a little mad trying to track down a film I saw when I was young.
A few things in the film stand out for me:
The male protagonist is some sort of ships pilot, who lands on a planet and drives around for a bit in a vehicle that is on stilts and has wheels on the end. It crashes into a boulder and he's reduced to carrying on on foot.
He encounters a man (or robot) in a crater, whose job it is is to push metal scrap boulders into holes. I think the pilot jumps into one of these holes and follows the tunnel. The tunnel ends at the top of a mountain where the boulder that has been pushed down rolls down into the crater, for the cycle of pushing to start again.
I watched it on the television twice - late 70s and again in the early 80s.