Finely chop the rosemary, pistachios and bacon, mash the fennel seeds in a mortar. Heat everything together in a large saucepan in olive oil and stir well. As soon as a fine sauce has formed, add the penne. Mix in the parmesan and season with black pepper from the mill. Heat again, season to taste and stir well.