This topic has come up a few times before (here and here) but it looks like there were no replies then, so hopefully third time will be the charm.
Is there any way to debug why a pack (e.g.) on the SWI-Prolog directory shows the “failed to process pack” error message? The pack installs fine, locally everything seems okay, the pldoc displays properly, so I’m not exactly sure where else to look.