Preheat oven to 375 degrees F .
In a large bowl, combine rosemary, garlic, olive oil, and pancetta. Mix until all ingredients are evenly distributed.
Add the pumpkin cubes to the bowl and mix until all pieces are evenly coated with the mixture.
Spread the pumpkin cubes onto a baking sheet lined with parchment paper or aluminum foil.
Bake in preheated oven for 25-30 minutes or until pumpkin is tender and lightly browned on top.
Remove from oven and season with salt and pepper to taste before serving. Enjoy!.