in reply to tkpp fails at very end

There's not a lot of detail in your post to allow reproduction of the issue, but in my experience antivirus programs can sometimes cause errors when packing. If you are using one then maybe try disabling it while building the executable.

A google search also found this RT comment: https://rt.cpan.org/Public/Bug/Display.html?id=57272#txn-773865. That RT was for an issue building PAR::Packer, and antivirus was not the cause of the issue in that particular case, but it does show that others have hit issues with antivirus programs and pp.