Formation of rogue waves on the periodic background in a fifth-order nonlinear Schr\"odinger equation