I have a grill set up in advance to grill both mushrooms and gristle berry forever.
I don't currently have any of either. As expected i eventually get a 'Building lacks resources' message in the top left.
it keeps jiggling from its starting location to a few spaces left and back again. very quickly.
a quick bit of testing shows it doesn't require infinite crafting or multiples different recipes. May not even correspond to the grill only but ive not got other buildings to test with researched yet, also noticed I'd not assigned a cook job, that changed nothing. does not interfere with cooking other recipes I have materials for.
Build a grill, set it to make things you don't have enough of.. watch the dancing.