Packaging problem (source file error?)

On my side I just had to delete the UE4Rules.pdb in C:\Program Files\Epic Games\UE_4.26\Engine\Intermediate\Build\BuildRules and run the packaging again.